Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4544

BootstrapUtil.bootstrap(String[], int) at root level lead sometimes into ItemExistsException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.22, 5.2.8, 5.3.3
    • 4.5
    • core

    Description

      In BootstrapUtil.bootstrap(String[], int) method if the bootstraped node already exist then we delete this node and then we import new content. This sometime leads to ItemExistsException. Deletion and import should happen on same session so this should not lead to ItemExistsException. So we need to verify if really deletion and import happens on same session.

      Maybe there should be no need to explicitly delete the imported node since that can be controlled by the uuid strategy.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                mdivilek Milan Divilek
                Votes:
                5 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD