tracker issue : CF-4198839

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

Invalid usage of AJAX tag

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Robert Dew / Robert Dew ()

Created: 06/06/2017

Components: AJAX

Versions: 2016,11.0,2018

Failure Type: Crash

Found In Build/Fixed In Build: CF16 all, CF11 only last build / 311703

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Win 2008 Server

Vote Count: 0

Ask for URL if this is posted publically. 

Expected Result: not this. 

This code works fine under CF11 in all but latest build.  Not in CF16.  Adobe refuse to support it. 

In admin panel I get a spurious error: cannot find /index.cfm ... added an index.cfm dummy file ... no difference. 

<cfajaxproxy cfc = "members.login.userCheck" jsclassname = "tryLogin">

===========================================================
Invalid usage of AJAX tag.

Use cfajaximport tag to specify SCRIPTSRC or make sure all ajax controls are inside a single cfform tag that has SCRIPTSRC.
 
The error occurred in C:/inetpub/wwwroot/thehood/coldfusion/headers/header_folder.cfm: line 16
Called from C:/inetpub/wwwroot/thehood/coldfusion/shell.cfm: line 318
Called from C:/inetpub/wwwroot/thehood/coldfusion/shell.cfm: line 31
Called from C:/inetpub/wwwroot/thehood/coldfusion/shell.cfm: line 1
Called from C:/inetpub/wwwroot/thehood/coldfusion/home.cfm: line 81
14 : 	<cfinclude template="/headers/javascript.cfm">
15 : 
16 : 	<cfajaxproxy cfc = "members.login.userCheck" jsclassname = "tryLogin">
17 : 	<cfajaxproxy cfc = "emails.compose.autoSaveComp" jsclassname = "compAutoSave">
18 :

Attachments:

Comments:

This has been fixed by Adobe as a bug in CF11 and CF16. They issued me a couple of .jar's. No idea if it's a published fix.
Comment by Robert D.
615 | August 09, 2017 01:17:20 PM GMT