You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by prabha77 <pr...@gmail.com> on 2009/07/16 00:11:49 UTC

Editing a page from Portal Site Manager removes the Document Order

All,

When editing a page from Portal Site Manager removes the Document Order.

Looking at the code, it looks like AbstractPageManager.java
updateDocumentOrder() is called everytime the page is updated and if the
page is already there in the document order list of the folder, its removed.

documentOrder.remove(name);

Change the above code to the following fixed the issue.
if ( !this.folderExists( name )
{
   documentOrder.remove()
}

Thanks
Prabha
-- 
View this message in context: http://www.nabble.com/Editing-a-page-from-Portal-Site-Manager-removes-the-Document-Order-tp24506892p24506892.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Editing a page from Portal Site Manager removes the Document Order

Posted by Randy Watler <wa...@wispertel.net>.
Created JIRA issue for this bug. Please fill in J2 version and any other 
information there when you have a chance. Will review/fix when I have 
spare cycles.

https://issues.apache.org/jira/browse/JS2-1044

Randy

prabha77 wrote:
> All,
>
> When editing a page from Portal Site Manager removes the Document Order.
>
> Looking at the code, it looks like AbstractPageManager.java
> updateDocumentOrder() is called everytime the page is updated and if the
> page is already there in the document order list of the folder, its removed.
>
> documentOrder.remove(name);
>
> Change the above code to the following fixed the issue.
> if ( !this.folderExists( name )
> {
>    documentOrder.remove()
> }
>
> Thanks
> Prabha
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org