roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <>
Subject [Roller-JIRA] Created: (ROL-1612) Categories not ordered when displayed on page
Date Tue, 20 Nov 2007 03:06:50 GMT
Categories not ordered when displayed on page

                 Key: ROL-1612
             Project: Roller
          Issue Type: Bug
          Components: Page Rendering & Management
    Affects Versions: 4.0
            Reporter: David Johnson
            Assignee: Roller Unassigned
            Priority: Minor

>From Matt Raible:
Any idea why the order of my categories is reversed after upgrading? Seems like a bug.

>From Dave Johnson:
I'm not sure why this changed, Hibernate was using sort="unsorted" so
I guess the random order that Hibernate chose is different than the
random order OpenJPA chooses.
Looking at weblog.vm and WeblogCategory.orm.xml I see that the
categories come from a one-to-many relationsip:

           <one-to-many name="weblogCategories" mapped-by="parent"
               <order-by>name ASC</order-by>

I added the <order-by> element, but it does not seem to correct the order.

Any body have other ideas on this one?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message