Uploaded image for project: 'MyCoRe'
  1. MCR-1392

MCRMetadataManager -> restore() can lead to illegal state

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2017.06.0
    • Component/s: None
    • Labels:
      None

      Description

      When creating a derivate, the corresponding mycore object will be updated too. If an event handler exception occur while this update, the mycore object will be restored and the derivate is not stored. BUT, the restore() method uses MCRMetadataManager#update again and the same error can occur again. This leads to an illegal state of the mycore object. The not existing derivate will still be linked.

        Attachments

          Activity

            People

            • Assignee:
              mcrmeich Matthias Eichner
              Reporter:
              mcrmeich Matthias Eichner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: