deployhandler rejects .lco

Description

Just got an error with the deployHanlder dropping a .lco into the deploy directory

Deploy, unsupported file type [6.2.1.95-SNAPSHOT.lco]

https://github.com/lucee/Lucee/blob/6.2/core/src/main/java/lucee/runtime/config/DeployHandler.java#L105

due to

// Lucee core else if (config instanceof ConfigServer && "lco".equalsIgnoreCase(ext)) ConfigAdmin.updateCore((ConfigServerImpl) config, child, true);

guessing one of the children contexts was triggered, which doesn’t make sense in single mode

Environment

None

Activity

Show:

Zac Spitzer 5 days ago
Edited

this is a random edge case, just added some defensive coding

  • don’t reject a .lco

  • log out a warning about what class was config

https://github.com/lucee/Lucee/commit/4d74c84a8b72865b7b9668b12736c894424d9b38

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

Sprint

Created last month
Updated 5 days ago

Flag notifications