matomo-org / matomo-org/plugin-LoginLdap

Cannot access settings with merged_assets enabled

Open
#168 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
37
Forks
30
Avg merge
22h 53m
Merged PRs (30d)
19

Description

I just did a clean install of matomo.
The only thing I did after the install was to install the LDAP Login plugin (and only that one) and enable it.

With this configuration, when I try to load the LDAP configuration, the settings are empty (no forms, just 2 empty boxes) and I got a the following angular error:

`The controller with the name 'LoginLdapAdminController' is not registered`

If I disable asset merging (using Development settings), everything work like a charm.
I tried to clean the cache (either using console or by removing everything in tmp directory) but the issue remains.

I also see that installing an other plugins (whatever it is like Log Viewer, LDAP Connection, …) may solve the issue.

Contributor guide

Open the contributing guide

Research direction

Reproduce the LDAP configuration screen after a clean Matomo install with only the LoginLdap plugin enabled and asset merging on, then compare it with asset merging disabled. Start from the LoginLdapAdminController registration and the LDAP settings entry point; done means the configuration forms load without the Angular controller error in the merged-assets configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, php
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.