Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-493

Drop fallback in Node#getPrimaryType

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6
    • None
    • None

    Description

      currently the implementation of NodeImpl#getPrimaryType has a fallback if the primary type
      property is missing (to nt:unstructured). while that might have been useful in the beginning
      when be basically didn't have anything running, i am not convinced that this is really
      a reasonable setup for a mature implementation...

      the regression i was referring to in OAK-490 wasn't caused by the move itself but by
      the fact that i didn't (nor intend to) copy over that shortcut to the node type manager.

      Attachments

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: