Jetspeed 2
  1. Jetspeed 2
  2. JS2-810

Rule criteria is not ordered correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2, 2.1.3, 2.2.0
    • Fix Version/s: 2.1.3
    • Component/s: Profiler
    • Labels:
      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>

        Activity

        Martin Petras created issue -
        Hide
        Martin Petras added a comment -

        This is the whole patched file from jetspeed-profiler-2.1.2.jar\JETSPEED-INF\ojb\profiler_repository.xml

        Show
        Martin Petras added a comment - This is the whole patched file from jetspeed-profiler-2.1.2.jar\JETSPEED-INF\ojb\profiler_repository.xml
        Martin Petras made changes -
        Field Original Value New Value
        Attachment profiler_repository.xml [ 12369104 ]
        David Sean Taylor made changes -
        Assignee David Sean Taylor [ taylor ]
        David Sean Taylor made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        David Sean Taylor added a comment -

        patch applied

        Show
        David Sean Taylor added a comment - patch applied
        David Sean Taylor made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        David Sean Taylor made changes -
        Fix Version/s 2.1.3 [ 12312573 ]
        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3h 56m 1 David Sean Taylor 07/Nov/07 18:22
        In Progress In Progress Resolved Resolved
        34s 1 David Sean Taylor 07/Nov/07 18:23
        Resolved Resolved Closed Closed
        1427d 3h 14m 1 Ate Douma 04/Oct/11 22:38

          People

          • Assignee:
            David Sean Taylor
            Reporter:
            Martin Petras
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development