Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-123

JCR registrations based on CT definitions should be executed during module start-up-phase

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • 1.0, 1.1
    • None

    Description

      JCR workspaces, name-spaces and node-types defined in datasources of content type definitions (CTs) are not properly initialized / registered during the start-up phase of the module which contains the CTs.

      Example / use case

      1. Have a custom module which contains some CTs defining JCR workspaces, namespaces and node-types
      2. Have another custom module containing bootstrap data for the workspaces which are defined in (1).
      3. Define dependencies accordingly 
        1. Module-1 depends on content-types and ui-framework-core
        2. Module-2 depends on content-types , ui-framework-core and module-1.

      The dependencies as shown in 3.1 probably are a bit "too much".
      I (hopefully) should be sufficient to define only the dependency between the 2 custom modules.
      However, I have defined it as shown above in my "test-example". 

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoR