Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13737

Extend Jackrabbit to allow customized NodeTypeDefDiff validation in Hippo Repository

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • jackrabbit-2.18.5-h3
    • None
    • None
    • Pulsar
    • Pulsar 241 - Site Dev APIs 1

    Description

      The allowed changes to a node type definition is validated by Jackrabbit through its NodeTypeDefDiff validator class.

      This validation logic and class is:

      • very basic and 'not smart', e.g. only 'simple' changes are allowed, (almost) anything else is flagged as non-trivial (MAJOR) and thereby disallowed
      • the validator is constructed via a static factory method and its constructor itself is private: extending or customizing the logic therefore requires patching the original class itself

      To enable extended and 'smarter' node type changes validation logic and/or further customization in the future without having to further patch jackrabbit repeatedly for each and every case, the current invocation and implementation class will be 'enhanced' to allow further changes to be implemented by an extended (e.g. custom) NodeTypeDefDiff class instead, provided by the hippo-repository.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adouma Ate Douma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: