WCM Structure Editor "Edit Options" edits wrong field's options

Description

Steps to reproduce:

1. Create a new structure with 2 fields
2. Create a new article based on new structure
3. During article creation, click the pencil icon to invoke the GUI structure editor for the new structure
4. Click on "Edit Options" next to the first field. You'll notice that the values in the "Edit Options" dialog are from the second field. Making changes and saving it causes the second field to be updated.

See screenshot, after clicking on "Edit Options" for field1. It shows field2's values and changes apply to field2, when they should have applied to field1.

Attachments

1
  • 25 Jul 2012, 12:46 PM

Discovered while testing

Activity

Show:

Michael Saechang August 1, 2012 at 4:45 PM

Thank you for testing Ginson. Closing as 'Fixed'.

ginson.ren July 30, 2012 at 8:54 PM

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e1fdb0fa6c7cbad2f8f322d24fe872766257aff0.

Click on "Edit Options" next to the first field but the values in the "Edit Options" dialog are from the second field.

Fixed on:
Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: 05d66de1e08730a5b33f0d066471f6f46b141c49.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 49b16a7cfe7d0bcd089320c8fb5ae2fa188840bb.

Click on "Edit Options" next to the first field and the values in the "Edit Options" dialog are from the first field.

Brian Chiu July 26, 2012 at 4:39 PM
Edited

This issue has been fixed in 6.1.x EE, 6.1.x CE, and 6.1.20. However, there are issues that prevent me from testing this in 6.2.x and 6.0.x.

Fixed on:
Tomcat 7.0.27 + MySQL 5. Portal 6.1.x EE GIT ID: c44356d434932d3a2b415500078ffd4f986a6e66.
Tomcat 7.0.27 + MySQL 5. Portal 6.1.x CE GIT ID: dfca5fe6b1fe2aee2ab72643f251a35ea9c2201e.
Tomcat 7.0.27 + MySQL 5. Portal 6.1.20 GIT ID: f93fe31e8a5f16fa02e257918720db86acb09bcc.

These two issues prevent me from testing in trunk and 6.0.x.
https://liferay.atlassian.net/browse/LPS-28883#icft=LPS-28883
https://liferay.atlassian.net/browse/LPS-28885#icft=LPS-28885

Michael Saechang July 26, 2012 at 11:56 AM

Committed on:
Portal 6.1.x CE GIT ID: 8ebe8f94066c17bbcaba3a091bccd6b90c418a10.
Portal 6.2.x GIT ID: cdc3fc6ad3782a205ee8befa431c335ac270912c.

James Falkner July 25, 2012 at 1:48 PM

BTW, the workaround I am using is to use the raw XML editor to add/edit the fields.

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

Details

Assignee

Reporter

Branch Version/s

6.1.x
6.0.x

Backported to Branch

Committed

Fix Priority

5

Git Pull Request

Bug Type

Regression Bug

Affects versions

Priority

Zendesk Support

Created July 25, 2012 at 12:46 PM
Updated June 24, 2023 at 3:53 PM
Resolved July 25, 2012 at 5:50 PM

Flag notifications