Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Luis Majano / Luis Majano ()
Created: 08/01/2017
Components: Language, CF Component
Versions: 2016,11.0,10.0
Failure Type: Data Loss
Found In Build/Fixed In Build: all / 307814
Priority/Frequency: Normal / All users will encounter
Locale/System: / Core
Vote Count: 0
Problem Description:
If you use comment based annotations and and spacing or tabs to align them, the parser will not trim the selections and the data is lost.
Steps to Reproduce:
{code}
/**
* Constructor
* @mailSettings A structure of mail settings and protocol to bind this service with. A MailSettingsBean object is created with it.
* @tokenMarker The default token Marker Symbol
* @wirebox The wirebox instance
* @wirebox.inject wirebox
*/
MailService function init()
{code}
As you can see above, it looks like normal metadata like @wirebox.inject with a tab and then the word wirebox. This is ignored in CF since version 10. Works in lucee correctly.
I have to basically loose my formatting and only use 1 space in order for the parser to accept it.
wirebox.inject wirebox
Actual Result:
Expected Result:
Any Workarounds:
Loose all formatting of commment annotations and stick to 1 space.
Attachments:
Comments: