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

[ConfigurableFormPanel] Issue on disable conditions if the field name prefix does not end by the default path separator

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.8.0
    • 4.2.0
    • None
    • None
    • 4.8.0 M9
    • 1 - Middle term
    • 2 - Normal

      How to reproduce:

      • Configure a ConfigurableFormPanel with:
        • a simple field at root (no composite or repeater) (ex: 'field1')
        • a field with a disable condition on the first parameter (ex: 'field2')
        • a defaultPathSeparator (ex: '-')
        • a fieldNamePrefix that does not end by the configured defaultPathSeparator (ex: 'service.param.')
      • Try to open the configurableFormPanel => KO, there is an error in the ConfigurableFormPanel.getRelativeField because the field searched for the disable condition is not found. In our example, it will search the field 'field1' instead of 'service.param-field1'

      In the getRelativeField method, see prefix computation.

          [RUNTIME-3035] [ConfigurableFormPanel] Issue on disable conditions if the field name prefix does not end by the default path separator

          Caroline Bayle made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Caroline Bayle made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Caroline Bayle made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Caroline Bayle made changes -
          Fix Version/s New: 4.8.0 [ 17980 ]
          Fix Version/s Original: 4.LATER [ 13091 ]
          Caroline Bayle made changes -
          Sprint Original: 4.8.0 M8 [ 93 ] New: 4.8.0 M9 [ 94 ]
          Caroline Bayle made changes -
          Sprint New: 4.8.0 M8 [ 93 ]
          Caroline Bayle made changes -
          Assignee New: Caroline Bayle [ cbayle ]
          Raphaël Franchet made changes -
          Estimation New: 2 - Normal [ 10220 ]
          Internal review New: 1 - Middle term [ 10216 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.LATER [ 13091 ]
          Raphaël Franchet made changes -
          Key Original: CMS-9484 New: RUNTIME-3035
          Project Original: CMS [ 10021 ] New: Runtime [ 10020 ]
          Affects Version/s New: 4.2.0 [ 14400 ]
          Affects Version/s Original: 4.2.0 [ 14425 ]

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: