View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16176 | Bug reports | Other | public | 2020-04-23 10:53 | 2021-09-06 10:59 |
Reporter | bismark | Assigned To | ollehar | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.22.14 | ||||
Summary | 16176: when preloading PluginManager KCFinder crashes | ||||
Description | in see preload here: https://www.yiiframework.com/doc/api/1.1/CModule#preload-detail now KCFinder is not working (see Survey -> Ressources)
the KCFinder is now working, but under which sideeffects? | ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 3.xLTS | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 10.1.26-MariaDB | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.3.15 | ||||
What's the use-case for preloading PluginManager? |
|
OK, did you ask Louis about this? He's the module guy. :) |
|
Maybe find why PluginManager have something related to Session ? But here : seems preload PluginManager force to load it in kcfinder … Else checkLSSession to use LS session : DB , specific system etc … if you don't have specific installation : i doin't think there are issue (we live with default PHP session during year). |
|
How could a better module support for the future look like? Would a new global setting under "security" make sense? Something like "Allow loading custom modules" which then provides the necessary integration/interfaces if enabled? |
|
Please check if this bug still exists in the latest patch release. Thank you. |
|
current 3.x-LTS Internal Server Error |
|
Yeah, you must preload the Twig extension first. Check preload config in config-internal (I think). |
|
@ollehar, has that behavior changed? Is that a new requirement? |
|
Yes, yiiext is now preloaded. It's not namespaced, so it has to manually be loaded. This is the internal config:
internal.php |
|
What's the use-case for preloading the plugin manager? |
|
I wanted to register a yii-module within a plugin. That is only possible very early in the life cycle of page processing. So I tried different things.
|
|
beforeControllerAction happen after PluginLoad event ? Else: i like the idea to have a very early event , nothing before ? |
|
Still an issue? |
|
Hello bismark, galads |
|
@bismark, can you please double check if this issue is fixed?! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-04-23 10:53 | bismark | New Issue | |
2020-04-23 10:56 | ollehar | Note Added: 57332 | |
2020-04-23 11:01 | bismark | Note Added: 57333 | |
2020-04-23 11:50 | ollehar | Note Added: 57336 | |
2020-04-23 12:25 | DenisChenu | Note Added: 57338 | |
2020-04-23 16:47 | Mazi | Note Added: 57343 | |
2021-03-03 15:28 | ollehar | Assigned To | => ollehar |
2021-03-03 15:28 | ollehar | Status | new => feedback |
2021-03-03 15:28 | ollehar | Note Added: 62670 | |
2021-06-01 14:47 | bismark | Note Added: 64686 | |
2021-06-01 14:47 | bismark | Status | feedback => assigned |
2021-06-01 14:51 | ollehar | Note Added: 64687 | |
2021-06-01 19:41 | Mazi | Note Added: 64694 | |
2021-06-01 19:44 | ollehar | Note Added: 64695 | |
2021-06-01 19:46 | ollehar | Note Added: 64696 | |
2021-06-01 19:46 | ollehar | Status | assigned => feedback |
2021-07-13 10:40 | bismark | Note Added: 65416 | |
2021-07-13 10:40 | bismark | Status | feedback => assigned |
2021-07-13 10:51 | DenisChenu | Note Added: 65417 | |
2021-07-21 17:00 | ollehar | Status | assigned => feedback |
2021-07-21 17:00 | ollehar | Note Added: 65546 | |
2021-08-30 14:14 | galads | Note Added: 66184 | |
2021-08-30 14:14 | galads | Bug heat | 8 => 10 |
2021-08-30 14:14 | galads | Status | feedback => resolved |
2021-08-30 14:14 | galads | Resolution | open => fixed |
2021-08-30 15:39 | Mazi | Note Added: 66199 | |
2021-09-06 10:59 | c_schmitz | Status | resolved => closed |