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
This basically means that the rules under rule will not be processed. The function needs to be extended to restrict which parameters are accepted and throw an error in case something that is not in the list is being used.
The text was updated successfully, but these errors were encountered:
There are profiles using automated: and maybe other parameter before the definition of the status parameter. Therefore, they are not wrong but just outdated and, for compatibility purposes, should not be restricted now. In fact, the respective control files should be updated before restricting parameters which were used in the past but there is a current replacement.
Instead of restricting this now and triggering a wave of errors, I would recommend to simply alert about this but keep accepting until we are sure all control files are updated.
There are profiles using automated: and maybe other parameter before the definition of the status parameter. Therefore, they are not wrong but just outdated and, for compatibility purposes, should not be restricted now. In fact, the respective control files should be updated before restricting parameters which were used in the past but there is a current replacement.
Instead of restricting this now and triggering a wave of errors, I would recommend to simply alert about this but keep accepting until we are sure all control files are updated.
Agree, but in case of rule, the parameter will not get loaded and rules will not be present in the built profile, which is a major issue.
Mab879
added a commit
to Mab879/content
that referenced
this issue
Jul 7, 2023
Description of problem:
Controls file format does not support usage of
rule
parameter although it's being used by some of the control files in the project:The function below parses the parameters but does not warn the user in case some unsupported parameter is being used:
content/ssg/controls.py
Line 97 in a0f2b1e
This basically means that the rules under
rule
will not be processed. The function needs to be extended to restrict which parameters are accepted and throw an error in case something that is not in the list is being used.The text was updated successfully, but these errors were encountered: