[Coldbox 5.x] Upgrading 4.3 to 5.1 get error GETPAGECONTEXTRESPONSE not found

Lucee 5.2.8.50

Working 4.3 app with latest CB modules

Change to 5.1.4 ( or 5.1.1) coldbox folder

Fix datasource in Coldbox.cfc

Clear Lucee caches and add fwreinit=1
Get error:

“ERROR”,“http-nio-8888-exec-7”,“09/27/2018”,“14:16:59”,"",";No matching function [GETPAGECONTEXTRESPONSE] found;lucee.runtime.exp.ExpressionException: No matching function [GETPAGECONTEXTRESPONSE] found
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)
at ucweb.adminnew.coldbox.system.bootstrap_cfc$cf.udfCall2(/ucweb/AdminNew/coldbox/system/Bootstrap.cfc:687)
at ucweb.adminnew.coldbox.system.bootstrap_cfc$cf.udfCall(/ucweb/AdminNew/coldbox/system/Bootstrap.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)
at ucweb.adminnew.coldbox.system.bootstrap_cfc$cf.udfCall1(/ucweb/AdminNew/coldbox/system/Bootstrap.cfc:397)
at ucweb.adminnew.coldbox.system.bootstrap_cfc$cf.udfCall(/ucweb/AdminNew/coldbox/system/Bootstrap.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:693)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1997)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)
at ucweb.adminnew.application_cfc$cf.udfCall(/ucweb/AdminNew/Application.cfc:55)

If I revert changes, App works in Coldbox 4.3.

Figured it out. Had a coldbox mapping in Lucee. Had to remove, restart Lucee and add coldbox mapping into app’s Application.cfc.
Had to fix Tomcat SES Mapping since it is in a directory.

Update to new config/router.cfc.
Fix all the datasource injections.

I am having a weird problem. In 4.3 I could have folder/handler and it would do handler.index.
Now I have to have folder/handler/index in URL.

In 4.3 I could have folder/handler and it would do handler.index. now I have to have folder/handler/index in URL.

Does this only happen for handlers in a sub folder? This might be a regression in ColdBox 5 Please enter a ticket.

Did you actually restart the CFML engine?

That function is a private function in the bootstrap.