tracker issue : CF-4126717

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

CF should detect if the cfm is completely written in script without the cfscript tag

| View in Tracker

Status/Resolution/Reason: Needs Review//NeedsApproval

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 03/09/2016

Components: Language

Versions: 2016

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Win All

Vote Count: 6

SSIA
CF should detect if the cfm is completely written in script without the cfscript tag

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126717

External Customer Info:
External Company: Straker Interactive
External Customer Name: Adam Cameron
External Customer Email: CAMERON.ADAM@GMAIL.COM
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-12-13 18:21:50.0 action: bulk updated fieldName: Dev Assigned newValue: mchandna oldValue: himar oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-10-15 18:39:14.0 action: bulk updated fieldName: Owner newValue: mchandna oldValue: himar oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-10-15 18:39:14.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Alpha oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-10 04:38:55.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-10 04:38:55.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Alpha oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-10 04:38:55.0 action: updated fieldName: Status newValue: ToFix oldValue: NeedsReview oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-08 09:19:34.0 action: updated fieldName: Owner newValue: himar oldValue: rukumar oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-08 09:19:34.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-08 09:19:34.0 action: updated fieldName: Fix By Milestone newValue: Alpha oldValue: Beta oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-08 09:19:34.0 action: updated fieldName: Fix By Product Milestone newValue: Alpha oldValue: Beta oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-08 09:19:34.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-08-26 22:48:52.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-08-26 20:39:54.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-08-26 07:52:14.0 action: updated fieldName: Title newValue: CF should detect if the cfm is completely written in script without the cfscript tag oldValue: CFS files oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-25 04:19:03.0 action: updated fieldName: Owner newValue: rukumar oldValue: hkallae oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-16 05:21:25.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-16 05:21:25.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-16 05:21:25.0 action: updated fieldName: Status newValue: NeedsReview oldValue: Unverified oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-16 05:21:25.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-16 05:21:25.0
Comment by CFwatson U.
3405 | March 09, 2016 04:46:14 AM GMT
+1 ...............................
Vote by External U.
3407 | March 09, 2016 04:46:16 AM GMT
CF should be able to detect if a .cfm file is written in pure script or tags, ideally. Barring this, a .cfs extension would be ok... I just don't see a need to have an additional extension when auto-detection ought to be possible.
Vote by External U.
3408 | March 09, 2016 04:46:17 AM GMT
+1 to this or a .cfs extension.
Vote by External U.
3409 | March 09, 2016 04:46:18 AM GMT
I already added a note on this ticket. This is a vote for it, per Himavanth!
Vote by External U.
3410 | March 09, 2016 04:46:20 AM GMT
Added By: PreRelease User User Name:Aaron Neff Note Added: +1 to this or a .cfs extension. Thanks!, -Aaron Date Added :2015-08-26 06:39:39.0 Added By:himar Note Added: Changed the subject to make it more generic. Date Added :2015-08-25 04:19:03.0 Added By: PreRelease User User Name:Sean Corfield Note Added: What I would prefer to see would be for CLI to inspect the first non-whitespace character in the requested file and if it's "<" treat it as a tag-based script, otherwise behave as if it was wrapped in "<cfscript> .. </cfscript>" -- this is what happens for CFC files, for example, where they can contain either tags or script, but you do not need to wrap that script-based code in tags. Date Added :2015-07-14 22:44:08.0 Added By: PreRelease User User Name:Raymond Camden Note Added: Plus one! Date Added :2015-07-14 20:52:45.0 Added By: PreRelease User User Name:Adam Cameron Note Added: Entered Feature. Date Added :2015-07-14 19:35:23.0
Comment by CFwatson U.
3406 | March 09, 2016 04:46:21 AM GMT
+1 for automatically identifying script-only cfm files, falling back to .cfs only if absolutely necessary.
Vote by External U.
3411 | March 09, 2016 10:42:55 AM GMT