Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10349

Repoinit: Nodetype definitions not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Repoinit
    • None

    Description

      Tried to register nodetypes and namespaces like so:

      register namespace ( yyy ) http://yyy.com/jcr/nt/1.0

      register nodetypes
      <<===
      << <yyy='http://yyy.com/jcr/nt/1.0'>
      << [yyy:Foobar] > nt:unstructured
      ===>>

      The whole repoinit script was ignored, then. (I created a "marker" with createuser that also was not executed).

      I saw no apparent error in the logfile.

      The namespace did register, when I removed the whole "register nodetypes" block.

      Btw. the documentation could be more explicit that (if) "<< <yyy='http://yyy.com/jcr/nt/1.0'>" already creates a namespace (or if that is required to reference an existing one in the scope of the CND block)

      Attachments

        Activity

          People

            bdelacretaz Bertrand Delacretaz
            -achim Achim Koch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: