tracker issue : CF-4205372

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

False Positive for CFCollection "path" Attribute on Code Analyzer

| View in Tracker

Status/Resolution/Reason: To Fix//BugVerified

Reporter/Name(from Bugbase): Christopher T. / ()

Created: 10/07/2019

Components: Administrator, Code Analyzer

Versions: 2016,2018

Failure Type: Conflict With Docs

Found In Build/Fixed In Build: 2018,0,04,314546 /

Priority/Frequency: Normal /

Locale/System: English / Win 2016

Vote Count: 0

Problem Description:

When running code analyzer, it will come back with an incorrect error for <cfcollection> when the "path" attribute is absent".

Steps to Reproduce:

1. Run code analyzer against code with <cfcollection> in it.
2. View report

Actual Result:

"ColdFusion 2016 has modified the usage of CFCollection tag. The attribute path is now a required attribute"

Expected Result:

Documentation, in the history section, at https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-c/cfcollection.html states:

"ColdFusion 2016: The path attribute is ignored." and "Note: Starting with ColdFusion 2016, the path attribute will be ignored. All the collections will be created in the collections directory at the location specified in Solr_Home field in the ColdFusion administrator page."

Any Workarounds:

none

Attachments:

Comments: