[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-2248) Action URL retained by client
Dan Krieger (JIRA)
jira-events at lists.jboss.org
Fri Dec 5 16:44:36 EST 2008
[ https://jira.jboss.org/jira/browse/JBPORTAL-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12441474#action_12441474 ]
Dan Krieger commented on JBPORTAL-2248:
---------------------------------------
Looking in the portlet module (trunk):
https://anonsvn.jboss.org/repos/portal/modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/PortletParameterMap.java
I have very little idea how everything comes together because I'm mostly just grepping my way around, but at line 232 where it handles the "removed" render parameters it puts in an empty Strings array, rather than removing it from the snapshot map. So it may or may not be fixed by changing
snapshot.put(removal, EMPTY_STRINGS);
to
snapshot.remove(removal);
I can't seem to get maven to cooperate at the moment otherwise I'd test it out myself.
> Action URL retained by client
> -----------------------------
>
> Key: JBPORTAL-2248
> URL: https://jira.jboss.org/jira/browse/JBPORTAL-2248
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal Core
> Affects Versions: 2.7.0 Final
> Reporter: Dan Krieger
> Assignee: Thomas Heute
> Fix For: 2.7.1 Final
>
>
> When a client navigates to an actionURL, the action is performed and no client-side redirect is sent to remove the actionURL as the active page. This is showing itself as an issue with user's enjoying the use of the refresh button.
> The URL pattern used in 2.6.X wasn't the best because render parameters often could potentially contain huge amounts of data and cause overly long URLs (causing 414 errors). But at least it didn't contain the action URL which now allows a user to redo an action or force a re-POST on a refresh.
> Not sure if this is a bug, intended feature, or how to classify it.
--
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
More information about the jboss-jira
mailing list