OakConstraint0100 while pre-upgrade step in AEM 6.4 upgrade | Community
Skip to main content
ashishkhadpe
Level 3
May 10, 2019
Solved

OakConstraint0100 while pre-upgrade step in AEM 6.4 upgrade

  • May 10, 2019
  • 1 reply
  • 1335 views

Hi All,

I am getting below error while running the PreUpgradeTask by invoking runAllPreUpgradeTasks() method :

com.day.cq.wcm.core.impl.VersionManagerImpl Unable to purge version 1.* for /<path> : OakConstraint0100: Item is protected: <path>

What could be the possible reason and solution?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by user05162

Download the Groovy jar from [1] and execute the script mentioned at [2] to resolve this issue.

[1] Central Repository: org/codehaus/groovy/groovy-all/2.1.9

[2] [OAK-5193] Version tree may become inconsistent after removing a version - ASF JIRA

1 reply

user05162Adobe EmployeeAccepted solution
Adobe Employee
May 10, 2019

Download the Groovy jar from [1] and execute the script mentioned at [2] to resolve this issue.

[1] Central Repository: org/codehaus/groovy/groovy-all/2.1.9

[2] [OAK-5193] Version tree may become inconsistent after removing a version - ASF JIRA