Page 1 of 1
Illegal characters in variable definition
Posted: Tue Jan 13, 2015 1:40 pm
by paul.jobb
Hi;
I'm wanting to enter a regular expression in a variable value and am having a problem with the escape character \ . I am using 2014r2.0, XI 2012 used to allow it.
Capture.JPG
Re: Illegal characters in variable definition
Posted: Tue Jan 13, 2015 3:05 pm
by slansing
Usually you have to double up that escape character because of how it is perceived in the database, have you tried doubling it?
Re: Illegal characters in variable definition
Posted: Tue Jan 13, 2015 3:10 pm
by paul.jobb
oh yes, still the same thing with \\ and \\\\
Re: Illegal characters in variable definition
Posted: Tue Jan 13, 2015 3:29 pm
by lmiltchev
I tested this on a clean 2014R2.0 system and still got the "Illegal characters in variable definition." message because of the "\" character... Are you sure this ever worked for you in 2.0?
Re: Illegal characters in variable definition
Posted: Tue Jan 13, 2015 4:18 pm
by paul.jobb
No it has never allowed me to add it in XI 2014 any version, I never reported it because I didn't need to use it until now
It does allow it to be added on an XI 2012 server however, just tested that on an old server no problem
Capture.JPG
Re: Illegal characters in variable definition
Posted: Tue Jan 13, 2015 5:10 pm
by abrist
This may be due to some over zealous validation/sanitation as the character is acceptable in a number of other fields in ccm objects. I opened up a bug report: task_id=4842
Re: Illegal characters in variable definition
Posted: Wed Jan 14, 2015 9:37 am
by paul.jobb
Thank You
Re: Illegal characters in variable definition
Posted: Wed Jan 14, 2015 12:49 pm
by abrist
No problem. Watch the next couple release notes for reference to a fix. Cheers.