You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a "FALLBACK_FILE" option, this is put at the last priority
When using the "ALLOW_LIST" option, this function returns ALL files found that match the pattern being searched for.
When those two options are used together, it means that the fallback file will be included in the result list, along with the user-supplied files. This is not the intent; the fallback file should only be returned if no user-supplied files were found.
The result of including both is that one gets duplicate defs and/or unexpected values.
The "generate_include_configfile()" uses it in this way, and thus gets both copies.
To Reproduce
Use "generate_config_includefile" with a file that has been overridden by the user. The generated include file will get both the default and the user-supplied copy.
Expected behavior
Only the user-supplied copy should be used.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Only include the "FALLBACK_FILE" if the normal search came up empty.
Do not return a list containing the fallback/default along with the
user-supplied files, only return the user-supplied files. This was an
issue when using "ALLOW_LIST" in that it had both.
Describe the bug
When using a "FALLBACK_FILE" option, this is put at the last priority
When using the "ALLOW_LIST" option, this function returns ALL files found that match the pattern being searched for.
When those two options are used together, it means that the fallback file will be included in the result list, along with the user-supplied files. This is not the intent; the fallback file should only be returned if no user-supplied files were found.
The result of including both is that one gets duplicate defs and/or unexpected values.
The "generate_include_configfile()" uses it in this way, and thus gets both copies.
To Reproduce
Use "generate_config_includefile" with a file that has been overridden by the user. The generated include file will get both the default and the user-supplied copy.
Expected behavior
Only the user-supplied copy should be used.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: