Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-4360

String disable conditions in CFP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.10.1, 4.9.14, 4.11.0
    • 4.10.0, 4.9.12
    • None
    • None
    • 4.10.1
    • Oui

      When we have a disable condition configurated with a string like:

      <widget-params>
          <param name="disableCondition">{"condition":[{"id":"myBoolean","value":"false","operator":"eq"}]}</param>
      </widget-params>

      The param is not parsed well everywhere like in Widget.js, in the methods evaluateDisableCondition and shouldHideDisabledField, we should test typeof on data.disableCondition, not the value.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: