[
https://jira.jboss.org/jira/browse/GTNPORTAL-288?page=com.atlassian.jira....
]
Minh Hoang TO commented on GTNPORTAL-288:
-----------------------------------------
For instance, if an Ajax request could not finish before the request timeout ( 80s), then
the whole page is reloaded ( result in new thread created on the server-side)
Reproducing the issue with the debugger as described above is a wrong way. As we wait
after the first break point is reached, once the request timeout is elapsed, the
Javascript from client side would try to reload the page, that results in a new request to
server.
I attempted to reproduce the issue in following ways
1. Followed the steps in the issue description, but at step 4, i resumed the suspending
thread as soon as the break point is reached ----> Nothing abnormal
2. I replaced break points with System.out.println(...) and had look on the console
---> Nothing abnormal
3. I add a Thread.sleep() below the first System.out.println and had look on the console
-----> New request occurred if and only if the waiting time
exceeded request timeout (80s)
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
Affects Versions: 3.0.0-Beta02
Reporter: Matt Wringe
Assignee: Minh Hoang TO
Fix For: 3.0.0-Beta03
Attachments: richfacesPortlet.war
Original Estimate: 1 day
Remaining Estimate: 1 day
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