tracker issue : CF-4199409

select a category, or use search below
(searches all categories and all time range)

Metadata not trimmed on comment based annotations

| View in Tracker

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:

	* 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()

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.



This is duplicate of bug CF-4199433. This will get fixed once CF-4199433 is fixed. We will be tracking it throw that bug only.
Comment by Poonam J.
27267 | April 02, 2018 06:47:17 AM GMT
This will be available in upcoming ColdFusion 2018 release.
Comment by Poonam J.
27302 | April 06, 2018 04:51:25 AM GMT