dezoito/fw1-clipping

Synatx issue in application.cfc

Closed this issue · 1 comments

Trying to run your application in my test environment, CF9.x throws an error:

Invalid construct.

A script statement must end with ";".
The CFML compiler was processing:

A script statement beginning with this.customTagPaths on line 21, column 5.

The error occurred in C:\serve\www\testing.etr.org\fw1Clipping\Application.cfc: line 21
19 :
20 : this.mappings["/root"] = getDirectoryFromPath(getCurrentTemplatePath());
21 : this.customTagPaths = this.mappings["/root"] & "customtags"
22 : this.triggerDataMember = true // so we can access properties directly (no need for getters and setters)
23 :

Fixes pushed on commit 6905e13.

The lack of ";" was not generating errors on environments used for testing, which would have been desirable (note that it was NOT tested on anything but Railo up to this point).

Thank you for pointing the error.