Ticket #399 (closed defect: fixed)
Space in CopyToScope() produces variables that are CF safe.
| Reported by: | lopezf@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 Maintenance Final |
| Version: | 3.1.185 | Severity: | normal |
| Keywords: | copyToScope | Cc: |
Description
I found that this "<cfset event.copyToScope(variables, "xe.translationForm, translatedPhrase") /> " produces and error if you leave a space after the comma and before "translatedPhrase".The error is "Element TRANSLATEDPHRASE is undefined in VARIABLES."
Wouldn't make sense for readability purposes to allow for spaces but when parsing through the list apply a trim so the variables can be used without the space? After all CF doesn't allow for variable names with blank spaces right?
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)