Menu

#263 Not deleting unused values when changing from regex to literal ignore values (and vice versa)

Invalid
wont-fix
None
1
2023-06-23
2023-06-04
No

WCM 23.05 64-bit Win7

I've been working towards identifying the root cause of a couple WCM bugs, and I noticed that WCM does not delete the values of settings for:

FromXXX=
ToXXX=

when the user changes an ignore item to regex from a literal string.

Similarly, WCM does not delete the values for the following settings when converting an ignore item from regex to a literal string:

RegExXXX=
RegExReplaceXXX=

I recommend keeping these unused values only if there is a reason to do so.

Discussion

  • Gitoffthelawn

    Gitoffthelawn - 2023-06-04

    As an important note, these changes initiated by the user (from regex to literal, or vice versa) do not work correctly, so one can look at this issue as a possible cause or a symptom.

     

    Last edit: Gitoffthelawn 2023-06-04
  • Morten MacFly

    Morten MacFly - 2023-06-23
    • status: open --> wont-fix
    • Group: Future_Release --> Invalid
    • Priority (9=hightest): 4 --> 1
     
  • Morten MacFly

    Morten MacFly - 2023-06-23

    I tend not to change this. This is there for a particular reason which is the INI file shall always be complete. Be sure that empty values are ignored correctly, illegal combinations cannot occur. You should also not even look into settings files in any way, the UI is intended to show you what is important and to allow you to change settings. For ignores, there is even a import/export option. For debugging search/replace operations there are options in the log. So I fail to see why it could be relevant to look into the INI file. Also keep in mind: During run-time of WCM, the INI file is memory buffered. So the information in that file during run-time might be incorrect. Once again: Settings files are not intended to looked into and/or be changed by the user.

     

Log in to post a comment.

MongoDB Logo MongoDB