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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5.22, 5.2.8, 5.3.3
    • Component/s: core
    • Labels:
    • Sprint:
      4.5.13
    • Magnolia Release:
      4.5.22, 5.2.8, 5.3.3

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: