Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.0.12 EE, 6.1.20 EE GA2
-
6.1.x, 6.0.x
-
Committed
-
7
-
5
Description
=== Steps to reproduce
0- Add debug points to MainServlet#service() method & to the portal-web/docroot/html/portlet/search/search.jsp | Start portal in debug mode & start debugging from your IDE
1- Place Search portlet on a page
2- Enter any keywords into the input field
3- Click quickly several (e.g. 3 times) on the "search" icon
>>> You'll see in your IDE that MainServlet is hit 3 times by 3 search requests:
[email protected]29 {p_p_state=[Ljava.lang.String;@6fd0b263, _3_redirect=[Ljava.lang.String;@6e6fbaee, p_p_lifecycle=[Ljava.lang.String;@695997e6, p_p_id=[Ljava.lang.String;@7903b312, _3_struts_action=[Ljava.lang.String;@61e1a0cf, p_l_id=[Ljava.lang.String;@2404a83d, _3_groupId=[Ljava.lang.String;@2dc14f44, p_p_col_id=[Ljava.lang.String;@6e3b10d3, p_p_mode=[Ljava.lang.String;@67cdc52e, _3_keywords=[Ljava.lang.String;@764c843f, p_v_l_s_g_id=[Ljava.lang.String;@197e80c6} [email protected]47 {p_p_state=[Ljava.lang.String;@60a0cd19, _3_redirect=[Ljava.lang.String;@5cf955de, p_p_lifecycle=[Ljava.lang.String;@75749181, p_p_id=[Ljava.lang.String;@37fce865, _3_struts_action=[Ljava.lang.String;@3cfd5b9a, p_l_id=[Ljava.lang.String;@1d88fabe, _3_groupId=[Ljava.lang.String;@c05df18, p_p_col_id=[Ljava.lang.String;@5579a6d2, p_p_mode=[Ljava.lang.String;@25b750d5, _3_keywords=[Ljava.lang.String;@261be34b, p_v_l_s_g_id=[Ljava.lang.String;@70e76478} [email protected]bd {p_p_state=[Ljava.lang.String;@1a24c23e, _3_redirect=[Ljava.lang.String;@634c81da, p_p_lifecycle=[Ljava.lang.String;@33e14224, p_p_id=[Ljava.lang.String;@9bd6418, _3_struts_action=[Ljava.lang.String;@70f668a6, p_l_id=[Ljava.lang.String;@4150a43a, _3_groupId=[Ljava.lang.String;@154dfd56, p_p_col_id=[Ljava.lang.String;@33332407, p_p_mode=[Ljava.lang.String;@628261d3, _3_keywords=[Ljava.lang.String;@5de4962b, p_v_l_s_g_id=[Ljava.lang.String;@4a3f1135}
and search.jsp will be rendered 3 times as well.
4- In contrast, you cannot submit the search form multiple times from the result page (the page that is loaded upon an "initial" search from the main view)