Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6390687

TestEnvironment.resolve breaks user-entered data if '#' is present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jt4.2
    • jt3.2.1
    • tools
    • b05
    • x86
    • generic
    • Verified

      TestEnvironment.reslove(String str) works incorrectly in case when '#' is present.

      resolve() treats this symbol as a start of a comment and IGNORES all subsequent characters, effectively
      ignoring input from users.

      Almost all our interviews (J2ME TCKs) use string questions and this limitation of resolve() means that entering the '#' in any of such questions will lead to incorrect data to be provided and misconfiguration of the TCK.

      We often ask for things like URLs, and '#' is a perfectly legitimate char in the URL.

            duke J. Duke
            vsizikov Vladimir Sizikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: