Some form of macro value validation required

XMLWordPrintable

    • Type: New Feature Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: API (A), Frontend (F)
    • None

      As macros can be used in such places like trigger expressions it would be nice to provide some form of validation of the macro data to ensure that the values actually in the macro conforms to what is expected.

      For example you may have a macro "{$FS_CAPACITY_THRESHOLD_CRIT}" which is used in a trigger expression and if this does not conform to a numeric the trigger expression would break.

      A suggested / possible way would be for every macro have a macro data type dropdown (default to string) field containing data types.

      When someone enters the value or updates the value of the macro it could do some validation at that point.

            Assignee:
            Unassigned
            Reporter:
            James Cook
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: