Add attachments in Wiki Display got "Invalid authentication token" exception

Description

To replicate on a vanilla liferay:

1. Login as the 'test@liferay.com' user, and add a 'Wiki Display' portlet (and a 'Wiki' portlet so you have at least 1 page to choose from) to the guest page.
2. In the 'Wiki Display' portlet, click the 'Please configure this portlet to make it visible to all users' link.
3. From the 'node' dropdown, choose 'Main' and click 'Save'.
4. Close the dialog, and in the wiki display portlet click the 'This page is empty. Edit it to add some text' link.
5. Click on the 'Attachments' tab, then 'Add Attachments'.
6. Click the green 'Browse' bar, and choose any file to upload.
7. On trying to upload, you will get "Invalid authentication token" in console.

Reproduce on trunk rev. 111409

Environment

Liferay Version: 6.1 Application Server: Tomcat 7.0.x Database: MySQL 5.0 Operating System: N/A Java Virtual Machine: N/A

Attachments

1
  • 31 May 2012, 10:35 PM

Activity

Show:

Mark JinJune 4, 2012 at 7:30 PM
Edited

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.10 EE GA1.

Unable to upload wiki attachments.

Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: 78eb221407070614ff8bf6571f0b898dcfba520f.
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 2422f68b6a11d89e412dada3c2f6b8c6b3feac4c.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: f2d580ed3c1ae280c36386ba1a6d0816a8098e4f.

Able to upload wiki attachments.

Juan GonzalezJune 4, 2012 at 1:28 PM

Michael SaechangJune 4, 2012 at 12:57 PM

Committed on:
Portal 6.1.x CE GIT ID: 340873bf958ac0e46eb480ce918f2fcaa69009f8.
Portal 6.2.x GIT ID: 5c9c01852d14f8c0c0fd309c4dfad05fbbf4d644.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Git Pull Request

Priority

Zendesk Support

Created May 31, 2012 at 10:35 PM
Updated June 24, 2023 at 3:59 PM
Resolved June 4, 2012 at 11:19 AM