Redirect parameter causes errors by calling portlet actions multiple times
Activity

Cynthia WilburnMarch 12, 2012 at 1:59 PM

Kiyoshi LeeJanuary 9, 2012 at 12:37 PM
PASSED Manual Testing using the following steps:
Deploy kaleo-web, kaleo-designer, and kaleo-forms
Go to -> Control Panel
Create a Role: Developer
Click Actions -> Define Permissions near Developer
Select Kaleo Forms under Site Content from the Add Permissions drop down
Flag Submit, Update, and View under Kaleo Process
Click Save
Click Users and Organizations
Create a user: user1
Add user1 to the liferay.com site
Assign the Developer role to user 1
Click Dynamic Data Listsh
Click Manage Data Definitions
Click Actions Manage Templates near To Do
Click Add Detail Template
Enter Create under Name (Required)
Select Create under Mode
Click Save
Click Add Detail Template
Enter Edit under Name (Required)
Select Edit under Mode
Click Save
Click Close Dialog
Click Back to liferay.com
Add a page: Test
Add a Kaleo Forms portlet
Click the Processes Tab
Click Add
Enter test under Name (Required)
Click Select under Entry Definition (Required)
Click the link for To Do
Click Select under Initial Form (Required)
Click the link for Create
Click Select under Workflow
Click Edit next to Single Approver
Enter Test under Title
Double click the Update node
Double click "Assign to Asset Creator"
Select Role from the drop down
Select the Developer Role
Click Save Draft
Click Publish
Click the link for Test
Click Assign under Workflow Task Forms
Click the Update Node
Double click the Value Column next to Forms
Select the Edit form
Click Save
Click Close
Click Save
Click the Summary Tab
Click Submit New -> Test
Fill out the Form
Click Save
Click Actions -> Assign to me under Assigned to My Roles
OK
Click Actions -> Reject -> OK
Sign in as user1
Navigate to the test page
Click Actions -> Assign to Me under Assigned to My Roles
Click Actions -> Complete Form
Select Critical under Severity
Click Save
Reproduced on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: a55de52b32605deada15d9a93e5066e574886904e. 6.1.x Plugins GIT ID: fb661fa0271a34a302de326b1984b838d6c20280.
Error is thrown in the console and a "Portlet is temporarily not available." is displayed when the user resubmits the edited form.
Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 904a264ea24add455dae81f3d0c528b011adc421. 6.1.x Plugins GIT ID: a8f0a6a5ecab51ebe50729e4a29b04c1b4747e59.
User is able to resubmit an edited form without error.

Marcellus TavaresJanuary 9, 2012 at 6:55 AM
This bug was caused by because when we have a form with enctype and the UploadRequest is not used for retrieving post parameters, the value of that parameter is always null.
This was causing the redirect to be empty leading the javax.portlet.action to be maintained in the URL. When the redirect had the currentURL as value, the action present at the URL was being executed.
The solution was to send the correct redirect parameter value through the URL.
Details
Assignee
Kiyoshi LeeKiyoshi LeeReporter
Marcellus TavaresMarcellus TavaresGit Pull Request
Bug Type
Regression BugComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Git Pull Request
Bug Type
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Reopening to add 6.1.1 CE GA2. Close as Fixed.