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

"Repository objects" page could erase data

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • backlog
    • Prism
    • None
    • 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. before.png
          before.png
          39 kB
        2. after.png
          after.png
          39 kB
        3. result.PNG
          result.PNG
          26 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: