[
https://issues.apache.org/jira/browse/JS2-810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Petras updated JS2-810:
------------------------------
Attachment: profiler_repository.xml
This is the whole patched file from
jetspeed-profiler-2.1.2.jar\JETSPEED-INF\ojb\profiler_repository.xml
> Rule criteria is not ordered correctly
> --------------------------------------
>
> Key: JS2-810
> URL: https://issues.apache.org/jira/browse/JS2-810
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Profiler
> Affects Versions: 2.1.2, 2.1.3, 2.2
> Reporter: Martin Petras
> Attachments: profiler_repository.xml
>
>
> There is bug in JETSPEED-INF\ojb\profiler_repository.xml
> Collection criteria is not ordered by fallbackOrder as it should be. That's
> why I couldn't get guest default page (_users/guest/default-page.psml),
> because it did't generate locator path correctly.
> I found the solution - I added this line: <orderby name="fallbackOrder"
> sort="ASC"/>
> to criteria.
> The whole part of JETSPEED-INF\ojb\profiler_repository.xml:
> <collection-descriptor
> name="criteria"
>
> element-class-ref="org.apache.jetspeed.profiler.rules.impl.RuleCriterionImpl"
> auto-delete="object"
> auto-update = "object"
> auto-retrieve = "true"
> >
> <inverse-foreignkey field-ref="ruleId"/>
> <orderby name="fallbackOrder" sort="ASC"/>
> </collection-descriptor>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]