Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Bradley Wood / Bradley Wood ()
Created: 05/15/2017
Components: Language
Versions: 2016
Failure Type: Others
Found In Build/Fixed In Build: 2016 / 303894
Priority/Frequency: Normal /
Locale/System: / Platforms All
Vote Count: 2
Problem Description:
A met5hod in a CFC exists in the variables scope of that CFC. Included CFM templates in a CFC also share the same variables scope. However, an included CFM template in a CFC cannot access generated accessor method.
Steps to Reproduce:
Clone this GitHub repo and use CommandBox to run the "box start" command in the root of the repo. After a few moments, the browser will open and you will see the error.
https://github.com/bdw429s/generated-accessor-not-accessible/
Actual Result:
Variable GETMYPROP is undefined.
Expected Result:
Correctly-working code.
Any Workarounds:
You cannot use generated accessors and must manually create your getters and setters.
Attachments:
Comments: