Can't access plugins install at server level in context web admin

Description

You can only install an extension at either the server or web level, even when set to all

this means you can't install the log viewer in a web context if it's in the server context

here is a patch to allow the web context admin to also run any plugins from the server context

https://github.com/lucee/Lucee/pull/901/files

Environment

None

Activity

Show:

Zac Spitzer 1 April 2020 at 09:25

it's been working for me for a few days

just added this last step, previously the updates were only for the current context

track admin plugin refresh required across contexts

  • use a lock when clearing application plugin cache

  • track last updated in server.lucee_admin_plugins_last_updated and application.lucee_admin_plugins_last_updated and reload if updated

https://github.com/zspitzer/Lucee/commit/b5000c1b38d0f9dc516e712c49408f57991ea197

Pothys - MitrahSoft 1 April 2020 at 08:30

Hai , Any update for this issue? Is this completed.

Zac Spitzer 27 March 2020 at 12:02

just updated the patch

  • use a separate cache for server and web plugins (avoids path confusion)

  • always set the server plugin mapping, even when it's not used (i.e at server level) previous server admin sets different mappings to the web admin

https://github.com/lucee/Lucee/pull/901/commits/168f6d2b65858371081312002c2b6cb81d6a264b

Zac Spitzer 27 March 2020 at 11:38

just to be clear, you're installing at the server level?

this is painful to work on due to LDEV-2780, https://luceeserver.atlassian.net/browse/LDEV-2779#icft=LDEV-2779 and https://luceeserver.atlassian.net/browse/LDEV-2408#icft=LDEV-2408

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

Affects versions

Created 25 March 2020 at 23:10
Updated 26 May 2020 at 12:41
Resolved 26 May 2020 at 12:41

Flag notifications