Tapestry
  1. Tapestry
  2. TAPESTRY-1215

Autocomplete triggers a syntax error in dojo.js when getValues() returns an empty list

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      WinXP. FireFox 2.0. Tomcat 5.5.

      Description

      1. Open the Home page.
      2. Type "x" (or anything that has no match) into the autocompleter.
      3. The browser will display:
      DEBUG: [SyntaxError: syntax error, file: http://localhost:8080/DynamicForms/app?service=asset&path=%2Fdojo%2Fdojo.js, line: 15]
      DEBUG:

      Home.html, Home.page and Home.java are attached.

      BTW, the code in dojo is using dojo.debug() to output the message. This by-passes the log level set (defaulted
      to WARNING) and makes this issue much more visible.

      1. Home.html
        0.2 kB
        Kent Tong
      2. Home.page
        0.5 kB
        Kent Tong
      3. Home.java
        0.5 kB
        Kent Tong
      4. User.java
        0.6 kB
        Kent Tong

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12569247 ] jira [ 12590499 ]
        Mark Thomas made changes -
        Workflow jira [ 12393156 ] Default workflow, editable Closed status [ 12569247 ]
        Jesse Kuhnert made changes -
        Assignee Jesse Kuhnert [ jkuhnert ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.2 [ 12312202 ]
        Kent Tong made changes -
        Description 1. Open the Home page.
        2. Type "a" (or anything that has no match) into the autocompleter.
        3. The browser will display:
        DEBUG: [SyntaxError: syntax error, file: http://localhost:8080/DynamicForms/app?service=asset&path=%2Fdojo%2Fdojo.js, line: 15]
        DEBUG:

        Home.html, Home.page and Home.java are attached.

        BTW, the code in dojo is using dojo.debug() to output the message. This by-passes the log level set (defaulted
        to WARNING) and makes this issue much more visible.
        1. Open the Home page.
        2. Type "x" (or anything that has no match) into the autocompleter.
        3. The browser will display:
        DEBUG: [SyntaxError: syntax error, file: http://localhost:8080/DynamicForms/app?service=asset&path=%2Fdojo%2Fdojo.js, line: 15]
        DEBUG:

        Home.html, Home.page and Home.java are attached.

        BTW, the code in dojo is using dojo.debug() to output the message. This by-passes the log level set (defaulted
        to WARNING) and makes this issue much more visible.
        Kent Tong made changes -
        Description 1. Open the Home page.
        2. Type something into the autocompleter.
        3. The browser will display:
        DEBUG: [SyntaxError: syntax error, file: http://localhost:8080/DynamicForms/app?service=asset&path=%2Fdojo%2Fdojo.js, line: 15]
        DEBUG:

        Home.html, Home.page and Home.java are attached.

        BTW, the code in dojo is using dojo.debug() to output the message. This by-passes the log level set (defaulted
        to WARNING) and makes this issue much more visible.
        1. Open the Home page.
        2. Type "a" (or anything that has no match) into the autocompleter.
        3. The browser will display:
        DEBUG: [SyntaxError: syntax error, file: http://localhost:8080/DynamicForms/app?service=asset&path=%2Fdojo%2Fdojo.js, line: 15]
        DEBUG:

        Home.html, Home.page and Home.java are attached.

        BTW, the code in dojo is using dojo.debug() to output the message. This by-passes the log level set (defaulted
        to WARNING) and makes this issue much more visible.
        Kent Tong made changes -
        Attachment User.java [ 12347861 ]
        Kent Tong made changes -
        Attachment Home.java [ 12347860 ]
        Kent Tong made changes -
        Attachment Home.page [ 12347859 ]
        Kent Tong made changes -
        Field Original Value New Value
        Attachment Home.html [ 12347858 ]
        Kent Tong created issue -

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Kent Tong
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development