juanferrub/liferay-portal — pull request #204 by KocsisDaniel (2012-05-02 12:27:48+00:00)
Title: [TECHNICAL SUPPORT] LPS-26536 Made structure change behavior consistent with field updates

Hi Juan,

maybe you are remember this change, here the problem is when you edit a web content with some structure and you change the structure without saving the article all the fields with the same type will have the same value (the first items value). We decided to use the elName with a constant type related prefix to resolve that. And because almost all the types missed the handling of fields values between requests Vilmos has also fixed it.

We also reported a new bug(LPS-27070) because the (old) structure editor doesn't have any validation on field names, and it allows to use a name like: Your[space]name[?] but after you saved it you can't use this name since it is stored as an escaped value and you can't also use it from velocity templates since you can't use this sentence as a variable name. However the new structure editor (click webcontent -> choose structure -> click edit icon next to structure name) allows only valid names and calls that name field as "Variable Name" which is OK, so I guess we should use this editor instead of the old one.

Thanks,
Daniel