Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-1832

-object.xml files should be orderable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.6.2 Final
    • Fix Version/s: 2.6.6 Final, 2.7.0 Beta1
    • Component/s: None
    • Labels:
      None

      Description

      -object.xml files are loaded without any order rule. This makes mangement of portal/page definitions very difficult with "overwrite" mode since you can't assume if parent has already been loaded or not.

      It should be easy to fix this (I've made a temporary patch) : descriptors URL are already sorted before parsing, but their parsing results are put in a non-sorted Map (cf. org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext).

      PS : my -object.xml files follow this structure (all with 'overwrite' mode) :

      portal-object.xml
      toppage-x-object.xml (with all its subpages)
      toppage-y-object.xml (with all its subpages)
      toppage-z-object.xml (with all its subpages)
      ...

        Gliffy Diagrams

          Attachments

          1. awaysubone-object.xml
            0.7 kB
          2. awaysubtwo-object.xml
            0.7 kB
          3. helloworld-object.xml
            4 kB
          4. homesubone-object.xml
            0.7 kB
          5. homesubtwo-object.xml
            0.7 kB
          6. PortalDeploymentInfoContext.diff
            0.7 kB

            Activity

              People

              • Assignee:
                theute Thomas Heute
                Reporter:
                syllant - -
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: