[jboss-user] [JBoss Portal] - Order of -object.xml is not guaranteed

syllant do-not-reply at jboss.com
Thu Nov 29 10:50:45 EST 2007


Hi,

When you have to define lots of pages using -object.xml descriptor, you'll probably want to use several -object.xml files.

But this approach has a severe limitation : loading order is not guaranteed ! So portal node may be loaded after pages nodes !

Problem is that although descriptors URL are sorted before parsing, their parsing results are put in a non-sorted Map (cf. org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext).

I've made a temporary patch, but is there any chance to see this resolved for next release ?

Thanks

PS : seems like there's a bug in class org.jboss.portal.common.util.SetMap, it doesn't apply sort when passing a comparator in constructor. Whereas ListMap does...



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108948#4108948

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108948



More information about the jboss-user mailing list