tracker issue : CF-4205368

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

Invalid Tag Nesting

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): mark l. / ()

Created: 10/04/2019

Components: Core Runtime

Versions: 2016

Failure Type: Usability Issue

Found In Build/Fixed In Build: Update 11 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Windows 10 64 bit

Vote Count: 0

Problem Description:
ColdFusion 2016 Update 12
Update Level: 12
Update Type: General
Install Date: Thu, 03 Oct 2019 22:49:33 -0600

Steps to Reproduce:
Ran code know to work.  Received the result below, 

Actual Result:
Invalid tag nesting configuration.
A query driven queryloop tag is nested inside a queryloop tag that also has a query attribute. This is not allowed. Nesting these tags implies that you want to use grouped processing. However, only the top-level tag can specify the query that drives the processing.
The error occurred in C:/inetpub/wwwroot/Rotary/CFC2/Confirmation.cfc: line 284
Expected Result:
No error.  In this case a confirmation is generated.

Any Workarounds:

Roll back to update 11



Reduce the issue down to too files: <cfset myQuery = QueryNew("ID,Name")> <cfset newRow = QueryAddRow(myQuery, 1)> <cfset temp = QuerySetCell(myQuery, "ID", 1)> <cfset temp = QuerySetCell(myQuery, "Name", "Row One")> <cfset newRow = QueryAddRow(myQuery, 1)> <cfset temp = QuerySetCell(myQuery, "ID", 2)> <cfset temp = QuerySetCell(myQuery, "Name", "Row Two")> <cfoutput query="myQuery"> <strong>#Currentrow#</strong> - <BR> <cfinvoke component="Test" method="TestFunc" ID="#ID#" Q="#myQuery#"returnvariable="Confirmation"> </cfoutput> And save the following in the same directory as test.cfc <cfcomponent displayname="Test"> <cffunction name="TestFunc" access="public" output="true" returntype="string" DisplayName="Confirmation"> <cfargument name="ID" Type="Numeric" Required="No"> <cfargument name="Q" Type="Query" Required="No"> <cfoutput query="Q"> TestFunc Output #ID# <BR> </cfoutput> <cfreturn "this is a string"> </cffunction> </cfcomponent>
Comment by mark l.
31544 | October 04, 2019 06:39:03 AM GMT
Hi Mark, This issue has already been reported and fixed. We are tracking this issue as part of another bug #CF-4205250. Hence, I am withdrawing this bug as duplicate. -Nimit
Comment by Nimit S.
31569 | October 09, 2019 05:27:10 AM GMT