The key [WHEELS] does not exist, only the following keys are available: [applicationname].

Description

<NINJA EDIT>
---------------

So this looks like if you include a file from Application.cfc, onApplicationStart() won't fire;
Simple test:

//Application.cfc <cfcomponent> <cfset this.name="BEFORE"> <cfinclude template="Test.cfm"> </cfcomponent> //test.cfm <cffunction name="onApplicationStart"> <cfset this.foo="Bar"> <cfset this.name2="AFTER"> </cffunction> //index.cfm <cfdump var="#application#">

(gives application.name="BEFORE", and "foo" is not in the application struct.)

----------------
</NINJA EDIT>

Attempting to run cfWheels 1.4.1 on Lucee Express 5.x (any version).

The key [WHEELS] does not exist, only the following keys are available: [applicationname].

Stack Trace:
https://gist.github.com/neokoenig/4263d2682990c700afd9

It's as though onApplicationStart() never gets called. Wheels is fine in 4.5.x, so this is a 5.x specific thing.

Steps to reproduce:
Download Express 5.x, unzip https://github.com/cfwheels/cfwheels/archive/master.zip into webroot, startup.

If it helps, the wheels startup/include process is something like this:
https://gist.github.com/neokoenig/b8a32f48c7e3288686ab

Environment

Lucee 5.x express / Win7

Activity

Show:

Tom King 14 September 2015 at 13:46

Hi Michael; can confirm this is fixed in lucee-5.0.0.65-BETA
Thank you!

Michael Offner 14 September 2015 at 13:44

does this issue still exist with the most recent version?
http://preview.lucee.org/download/

Tim Badolato 22 August 2015 at 00:57
Edited

Thanks for reporting this – here's my vote thumbs up

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 4 July 2015 at 10:14
Updated 5 October 2015 at 14:47
Resolved 5 October 2015 at 14:46

Flag notifications