Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-810

Rule criteria is not ordered correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.2, 2.1.3, 2.2.0
    • 2.1.3
    • Profiler
    • None

    Description

      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>

      Attachments

        1. profiler_repository.xml
          5 kB
          Martin Petras

        Activity

          People

            taylor David Sean Taylor
            petras Martin Petras
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: