ICEfaces
  1. ICEfaces
  2. ICE-8949

Icefaces3 sample regression - showcase ace:autoCompleteEntry - using ' (apostrophe) char causes JS syntax error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Activity

        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 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Jerome Ruzol
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: