Description of problem: In the interactive CLI, the following code breaks: var a = "whatever"; With: ReferenceError: "whatever" is not defined. var a = whatever ; ^ This seems to me like we parsed away the quotes before we submit the line to the javascript interpreter. Version-Release number of selected component (if applicable): 4.5.0-SNAPSHOT How reproducible: always Steps to Reproduce: 1. on CLI commandline do: var a = "whatever"; Actual results: Error as above Expected results: assignment succeeds Additional info: This is not limited to assignments - any quoted literal (either single or double quoted) seems to be unqouted before interpreted. Additionaly, this is NOT present in JON 3.1.0.CR2 (CR3 contains no change in CLI so I'd assume it is not present there either)
This is a regression caused by the work I did for bug 826604. I will make this bug a blocker for bug 826604.
I pushed a fix to master. The parsing changes only take effect for the script arguments. commit hash: 5e8863403
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.