Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1215

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 4.1.2
    • JavaScript
    • None
    • 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.

      Attachments

        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

          People

            jkuhnert Jesse Kuhnert
            freemant Kent Tong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: