Bulk edit failed for some objects when the minimum cardinality set to one in some other attribute

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Bulk edit failed for some objects when the minimum cardinality of another attribute is set to one, where there is no relationship between these fields. Failure is not consistent. Sometimes it fails for x number of objects while it fails for y number of objects in the next attempt.

      Example:

      • Attribute 1 - Type text | Set the minimum cardinality to 1
      • Attribute 2 - Type boolean | Perform the bulk edit to clear the values. (Action Change | keep the value field empty)

      This behaviour doesn't depend on the attribute type. It can happen for any type of attribute.

      Steps to Reproduce

      1. Set the minimum cardinality to one for an attribute. (Ex: Attribute 1 with type text)
      2. Perform the bulk edit to clear the values(Change action without any values) of another attribute. (Ex: To clear the values of a boolean type attribute (Attribute 2)  

      Expected Results

      Bulk edit should be successful. 

      Actual Results

      Bulk edit failed for some objects while success for some objects(Partially success) and throws following error in assets UI.

       

      Workaround

      Set the minimum cardinality to zero and perform the bulk update. However, when multiple attributes need to be updated and when many attributes have cardinality set to more than zero, it is very difficult to perform all these manual actions.

            Assignee:
            Unassigned
            Reporter:
            Kalpa Pushpakumara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: