web only extensions shouldn't be listed as available under server applications

Description

Under the Server admin, try installing the "File Coverage Analysis : 0.0.1.15" extension

The following error is thrown

Switch to the Web admin and "File Coverage Analysis : 0.0.1.15" extension isn’t listed

Environment

None

Activity

Show:
Michael Offner
September 12, 2019, 3:02 PM

it is very simple, the data provided by https://www.forgebox.io/rest/extension/provider/info do not match the extension then delivered, Lucee expect this data to match. the forgebox extension provider is not consistent, i understand that there is a story behind it, but to be honest i cannot make that a LAS problem.

the Lucee extension provider for example creates the data provided by “info“ out of the Manifest files of the extension itself. i can provide you that code if you like.

Brad Wood
September 12, 2019, 3:34 PM

i cannot make that a LAS problem

I agree with this, Lucee is not at fault here and has no actionable items to complete.

the Lucee extension provider for example creates the data provided by “info“ out of the Manifest files of the extension itself. i can provide you that code if you like.

I am well aware of how the code works and have seen it. ForgeBox does not and cannot work that way as it does not host the binaries itself on the same server so there is no option to peek into the zip file and parse the manifest directly as the Lucee extension provider does. Downloading files on the fly by the dozens would be insane. Therefore, ForgeBox will continue to rely on the metadata provided by the user to be correct.

Michael Offner
September 12, 2019, 3:45 PM

“rather than rejecting it, how about just assigning it tod

given it’s a hardwired provider in Lucee“

we have the following disclaimer with the extension from non Lucee extension providers including forgebox.

Brad Wood
September 12, 2019, 3:53 PM

FYI, I have changed the default extension type from "server" to "all" in the case where an extension author does not provide a type to ForgeBox. This will be in the next ForgeBox release.

https://ortussolutions.atlassian.net/browse/FORGEBOX-430

Zac Spitzer
September 12, 2019, 5:50 PM

if this got addressed, it would be easier to contact the developers….

Fixed

Assignee

Pothys - MitrahSoft

Reporter

Zac Spitzer

Priority

New

Labels

Fix versions

None

Affects versions

Configure