Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3223

Disallow unregistering of node types still (possibly) in use

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.6, 2.2.10
    • Fix Version/s: 2.1.7, 2.2.11, 2.4
    • Component/s: jackrabbit-core
    • Labels:
      None

      Issue Links

        Activity

        Hide
        jukkaz Jukka Zitting added a comment -

        Thanks!

        Since this accidental "feature" has been out for quite a while in Jackrabbit 2.1 and 2.2, there are probably already users who are relying on this mistaken behavior. To avoid breaking the functionality entirely for such users, I introduced a -DdisableCheckForReferencesInContentException=true feature flag in in trunk revision 1236709 and merged it also to the 2.2 and 2.1 branches. Setting that system property will restore the earlier broken behavior where the exception from checkForReferencesInContent() was disabled.

        Show
        jukkaz Jukka Zitting added a comment - Thanks! Since this accidental "feature" has been out for quite a while in Jackrabbit 2.1 and 2.2, there are probably already users who are relying on this mistaken behavior. To avoid breaking the functionality entirely for such users, I introduced a -DdisableCheckForReferencesInContentException=true feature flag in in trunk revision 1236709 and merged it also to the 2.2 and 2.1 branches. Setting that system property will restore the earlier broken behavior where the exception from checkForReferencesInContent() was disabled.
        Hide
        halderen Berry van Halderen added a comment -

        Simple fix by aligning code to actual code on trunk.

        Show
        halderen Berry van Halderen added a comment - Simple fix by aligning code to actual code on trunk.
        Hide
        halderen Berry van Halderen added a comment -

        A fix to JCR-2587 never went into the 2.1 and 2.2 branches.

        Show
        halderen Berry van Halderen added a comment - A fix to JCR-2587 never went into the 2.1 and 2.2 branches.

          People

          • Assignee:
            halderen Berry van Halderen
            Reporter:
            halderen Berry van Halderen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development