cfapplication action=update doesn't change application name

Description

In CommandBox we're using JSR-223 now which doesn't use Application.cfc, but instead sets all application metadata with code like:

However the application name is showing up as an empty string both in the variable

As well as the output of this:

There are actually CommandBox modules that depend on the Application name to detect if they're being run from the CLI so this is a breaking change in CommandBox to not have an app name.

Environment

None

Activity

Pothys - MitrahSoft 
11 April 2018 at 12:32

I've analyzed this ticket & confirmed that issue fixed in latest version 5.2.7.55-SNAPSHOT. Now action update, update the application name also.

Michael Offner 
29 March 2018 at 07:36

"update" does update the current application context (default ""), not switching to any other context. so changing not the current context by defining it by name would be a useless action. you would change a context you will never use. So you can only update a context you have created before, so the first <cfapplication> must be with action "create".

Fixed

Details

Assignee

Reporter

Priority

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

Created 28 March 2018 at 22:08
Updated 11 June 2018 at 13:46
Resolved 11 June 2018 at 13:46