Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11959

Several Disable conditions not taken into account

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • 4.8.0
    • 4.8.0
    • None
    • None
    • 4.8.0 M9

      Following disable conditions have been added to a repeater. 

             <disable-conditions type="and">  
                  <condition id="isEvaluated" operator="neq">true</condition>
                  <condition id="mccNoteEliminatoire" operator="eq">2</condition>
              </disable-conditions>

      => Only "isEvaluated" condition is taken into account. 

      => "mccNoteEliminatoire" condition is not taken into account. 

      Note 1 : If I set only one condition, it is correctly taken into account. 

      Note 2 : If I change the order of conditions, behaviour is the same : only "isEvaluated' condition is taken into account. 

          [CMS-11959] Several Disable conditions not taken into account

          Magali Franchet made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Raphaƫl Franchet 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 -
          Assignee New: Caroline Bayle [ cbayle ]
          Magali Franchet made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Magali Franchet made changes -
          Description Original: Following disable conditions have been added to a repeater. 
          {code:java}
                 <disable-conditions type="and">
                      <condition id="isEvaluated" operator="neq">true</condition>
                      <condition id="mccNoteEliminatoire" operator="eq">2</condition>
                  </disable-conditions>{code}
          => Only "isEvaluated" condition is taken into account. 

          => "mccNoteEliminatoire" condition is not taken into account. 

          Note : If I set only one condition, it is correctly taken into account. 
          New: Following disable conditions have been added to a repeater. 
          {code:java}
                 <disable-conditions type="and">
                      <condition id="isEvaluated" operator="neq">true</condition>
                      <condition id="mccNoteEliminatoire" operator="eq">2</condition>
                  </disable-conditions>{code}
          => Only "isEvaluated" condition is taken into account. 

          => "mccNoteEliminatoire" condition is not taken into account. 

          Note 1 : If I set only one condition, it is correctly taken into account. 

          Note 2 : If I change the order of conditions, behaviour is the same : only "isEvaluated' condition is taken into account. 
          Magali Franchet made changes -
          Fix Version/s New: 4.8.0 [ 17990 ]
          Magali Franchet created issue -

            cbayle Caroline Bayle
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: