Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4420

"Repository objects" page could erase data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: backlog
    • Component/s: Prism
    • Labels:
      None
    • Subscription:
      Internal

      Description

      When objects are semantically equivalent but differ in nuances (like QName namespace prefixes) PrismContainer.diffRepresentation creates a delta with equivalent values in ADD and DELETE parts. After applying such delta these values disappear (as 'add' is executed before 'delete').

      See TestParseDiffPath.testDiffSameValues.

      Worked around in https://github.com/Evolveum/midpoint/commit/7699e09a5f7660ee60e7ceb7ec9d7a11f61fd598 (feature/modify branch), but needs more serious resolution.

        Attachments

        1. after.png
          after.png
          39 kB
        2. before.png
          before.png
          39 kB
        3. result.PNG
          result.PNG
          26 kB

          Issue Links

            Activity

              People

              Assignee:
              mederly Pavol Mederly
              Reporter:
              mederly Pavol Mederly
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: