Affects Version/s: 6.1.0 CE GA1, 6.1.10 EE GA1
Component/s: Dynamic Data Lists
When building a Portlet URL, if it results longer than _URL_MAXIMUM_LENGTH=2083 (due IE URL length limits) we try to shorten it by recursively removing nested redirect parameters (such as redirect or backURL) with the shortenURL() method.
In some cases, this method removes non-nested redirect parameters, resulting in a failure in the function of the corresponding param. You can reproduce a case by following these steps:
1. Login as an Admin
2. Go to Control Panel -> Dynamic Data Lists
3. Click at "Manage Data Definitions"
4. Click at "Add"
5. Enter the required data and click Save. Instead of being redirected to the previous view, you remain at the add view.
This particular issue is described at
Looking at the URL of the Add button (see step 4), the redirect parameter is missing even though it has been added to the portlet:renderURL at /dynamic_data_mapping/toolbar.jsp. Debugging the code, it is confirmed that the param is removed at the shortenURL() function.
See attached file for expected URL and obtained URL for the Add button in the described example.