nelsonmp19 / alfresco-form-model-management

Automatically exported from code.google.com/p/alfresco-form-model-management
0 stars 0 forks source link

Apostrophe in the text of field label will corrupt the form builder view #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.In the form builder view for any aspect add a new field with a label that 
contains a single quote/apostrophe (') 
2.Save the form
3.Click on a different aspect from the left panel. The form builder view is now 
corrupted and cannot be used

What is the expected output? What do you see instead?
After entering apostrophe in the field label and saving the form, upon 
returning to that form the rendering of the form makes it impossible to add or 
edit the form and prevent further use of the form builder.

What version of the product are you using? On what operating system?
Version 1.3.0, on Windows

Please provide any additional information below.
Firebug console error:

SyntaxError: missing ; before statement
[Break On This Error]   

...lse,"properties":[{"title":"John's label with apostrophe","minlength":...

builde...yalties (line 12, col 226)

Original issue reported on code.google.com by anhthan...@gmail.com on 29 Jul 2012 at 12:12

GoogleCodeExporter commented 9 years ago

Original comment by mike.pri...@abstractive.ca on 30 Jul 2012 at 5:28

GoogleCodeExporter commented 9 years ago
Fixed in 1.3.1 release, checked in svn

Original comment by mike.pri...@abstractive.ca on 1 Aug 2012 at 5:51