[gatein-issues] [JBoss JIRA] (GTNPORTAL-3322) Improvements of handling of <priority> in navigation.xml
Trong Tran (JIRA)
issues at jboss.org
Wed Dec 18 04:01:33 EST 2013
[ https://issues.jboss.org/browse/GTNPORTAL-3322?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel\#worklog-12430416 ]
Trong Tran logged work on GTNPORTAL-3322:
-----------------------------------------
Author: Trong Tran
Edited by: Trong Tran
Created on: 18/Dec/13 4:00 AM
Edited on: 18/Dec/13 4:00 AM
Start Date: 18/Dec/13 4:00 AM
Worklog Time Spent: 1 hour
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 3 hours)
Worklog Id: (was: 12430416)
> Improvements of handling of <priority> in navigation.xml
> --------------------------------------------------------
>
> Key: GTNPORTAL-3322
> URL: https://issues.jboss.org/browse/GTNPORTAL-3322
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Peter Palaga
> Assignee: Peter Palaga
> Fix For: 3.7.0.Final
>
> Original Estimate: 4 hours
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> This is followup of GTNPORTAL-2751, GTNPORTAL-3324 and GTNPORTAL-3350.
> (1) Introduce {{PageNavigation.UNDEFINED_PRIORITY}} constant and use it instead of {{-1}} literal as {{PageNavigation.priority}} value.
> (2) {{UNDEFINED_PRIORITY}} and its usage should be described in comments.
> (3) Fix the comparator in [UserPortalImpl|https://github.com/gatein/gatein-portal/blob/master/component/portal/src/main/java/org/exoplatform/portal/mop/user/UserPortalImpl.java#L149] as it does not impose a total ordering as required by the Comparator interface: "The implementor must ensure that sgn(compare(x, y)) == -sgn(compare(y, x)) for all x and y." This does not hold when comparing two nodes both having priority -1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list