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

ContentValue : equals() and hashCode() methods

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.12, 4.3.0
    • 4.3.0
    • None
    • None
    • 4.3 M2

      It would be very nice to have an equals value in the ContentValue class. Currently, I have two content values with the same content ID inside but it is detected as different when I add it to a Set for example.

      It should be nice to compare it directly.

          [CMS-9987] ContentValue : equals() and hashCode() methods

          Raphaël Franchet made changes -
          Fix Version/s New: 4.2.12 [ 15582 ]
          Fix Version/s Original: 4.2.13 [ 15592 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.2.13 [ 15592 ]
          Loïc Bouchet made changes -
          Link New: This issue Conditionne UD-194 [ UD-194 ]
          Bérénice Maurel made changes -
          Link New: This issue Fait partie de CMS-9988 [ CMS-9988 ]
          Bérénice Maurel made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Caroline Bayle made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Caroline Bayle made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Caroline Bayle made changes -
          Sprint New: 4.3 M2 [ 34 ]
          Caroline Bayle made changes -
          Fix Version/s New: 4.3.0 [ 14678 ]
          Fix Version/s Original: 4.3.0 [ 14677 ]
          Key Original: RUNTIME-3180 New: CMS-9987
          Project Original: Runtime [ 10020 ] New: CMS [ 10021 ]
          Affects Version/s New: 4.3.0 [ 14678 ]
          Affects Version/s Original: 4.3.0 [ 14677 ]

          Additionnaly, it will be very very useful for ContentValue arrays to remove or add a value.

          Bérénice Maurel added a comment - Additionnaly, it will be very very useful for ContentValue arrays to remove or add a value.

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

              Created:
              Updated:
              Resolved: