[
https://jira.jboss.org/jira/browse/GTNPORTAL-288?page=com.atlassian.jira....
]
Matt Wringe updated GTNPORTAL-288:
----------------------------------
Attachment: richfacesPortlet.war
Attached is a portlet which is affected by this issue. When the page is created or
editted, it will return a blank page instead of the portal page.
If you are debugging the code and the other thread is able to catch up, it will sometimes
render the page properly.
portlets are being accessed twice during the creation or editing of a
page
--------------------------------------------------------------------------
Key: GTNPORTAL-288
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-288
Project: GateIn Portal
Issue Type: Bug
Reporter: Matt Wringe
Attachments: richfacesPortlet.war
When you click on the 'Site Editor->Edit Page', one thread will try and handle
this request properly, but about 30 seconds later, another thread will appear and try to
access the same page. This also occurs when you are creating the page for the first time.
Steps to reproduce
1) create a break point somewhere in the code which will be hit when clicking on edit
page (for example UIMainActionListener.EditCurrentPageActionListener.execute). Create
another break point at UIPortalApplication.processRender
2) setup the server for debugging
3) click on the Edit Page link
4) when the first break point is reached wait
5) about 30 seconds later another thread will be trying to render the page
Expected results: no other thread should occur.
You should also be able to see in the logs that the portlets are being accessed twice.
This is causing some issues with portlets not behaving properly when a new page is
created or edited.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira