Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.2, EE-3.2.0.BETA
-
Fix Version/s: EE-3.2.0.GA, 3.3
-
Component/s: ACE-Components, Sample Apps
-
Labels:None
-
Environment:Icefaces3 trunk revision#33280
Server: tomcat6
Browser: FF3.6, IE7 & GoogleChrome24
Last Known Working Revision: Unknown
-
Assignee Priority:P1
Description
AutoComplete - All - (All browsers) - when using the ' (apostrophe) character on autocomplete, JS syntax error below occurs:
Error: SyntaxError: missing ) after argument list
Source File: http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=autoCompleteEntryBean
Line: 0, Column: 60
Source Code:
completers["inputForm:autoComplete"];instance.updateField(''S-Hertogenbosch', true);})();
To Reproduce:
-Build and deploy showcase app on Tomcat7
-Navigate to showcase page and go to any AutoComplete feature page
-input ' (apostrophe) char to render autocompleteEntry (Note: In FF18, Chrome24 or IE9, must have error console visible in order to see this error)
-Notice the JS syntax error occur within the error console
Note: Moj 2.1.18 Library was used when this issue was detected
Error: SyntaxError: missing ) after argument list
Source File: http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=autoCompleteEntryBean
Line: 0, Column: 60
Source Code:
completers["inputForm:autoComplete"];instance.updateField(''S-Hertogenbosch', true);})();
To Reproduce:
-Build and deploy showcase app on Tomcat7
-Navigate to showcase page and go to any AutoComplete feature page
-input ' (apostrophe) char to render autocompleteEntry (Note: In FF18, Chrome24 or IE9, must have error console visible in order to see this error)
-Notice the JS syntax error occur within the error console
Note: Moj 2.1.18 Library was used when this issue was detected
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #33302 | Fri Feb 01 12:08:09 MST 2013 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java
|
Jerome Ruzol
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] | |
Fix Version/s | EE-3.2.0.GA [ 10332 ] | |
Fix Version/s | 3.3 [ 10370 ] | |
Affects Version/s | EE-3.2.0.BETA [ 10573 ] | |
Assignee Priority | P1 [ 10010 ] | |
Component/s | ACE-Components [ 10050 ] | |
Component/s | QA [ 10016 ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] | |
Affects Version/s | 3.2 [ 10338 ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Arturo Zambrano
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Committed fix to 3.2 EE tag at revision 33301 and to trunk at revision 33302.
Single quotes are now escaped in the updateField() call, which dynamically updates the text value of the input field.
ice:selectInput text didn't need to be modified because it doesn't use this mechanism to update the input field.