DisplayTag

Parameters in requestURI are indefinitely concatenated

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 1.1
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

When there are parameters in the requestURI property of <display:table>, there are indefinitely concatenated at each sorting, paging ...
For example if my property is defined as :

requestURI="/foo/bar.do?method=search"

after three sorting my URL looks like

/foo/bar.do?d-49653-o=2&d-49653-p=1&d-49653-s=1&method=search&method=search&method=search&method=search

More serious, if my first URL is something like "/foo/bar.do?method=init", the requestURI has no effect, since the URL looks like
/foo/bar.do?d-49653-o=2&d-49653-p=1&d-49653-s=1&method=init&method=search

and my parameter method=search is not taken ...

Activity

Hide
siva added a comment -
Hi,
We are also seeing the same issue of adding unwanted parameters to the requestURI.

Pls suggest me whether this bug has fixed in later version or not?



Thanks In Advance
Show
siva added a comment - Hi, We are also seeing the same issue of adding unwanted parameters to the requestURI. Pls suggest me whether this bug has fixed in later version or not? Thanks In Advance
Hide
Phil added a comment -
I also had the same issue. Here is the work around I used to fix this issue:

requestURI="/foo/bar.do?${empty param['method']?'method=search':''}"
Show
Phil added a comment - I also had the same issue. Here is the work around I used to fix this issue: requestURI="/foo/bar.do?${empty param['method']?'method=search':''}"

People

Vote (4)
Watch (5)

Dates

  • Created:
    Updated: