I have a plugin named “medias”.
It works fine and is not the heart of the problem.
I have an admin menu with various links to articles, categories, tags and (plugin) medias etc.
Link to “medias” is :
<?= $this->Html->link(__('Medias Manager'), ['plugin' => 'Medias', 'controller' => 'Dossiers', 'action' => 'home']) ?>
When my current session expires, if I click the medias link, I am redirected to :
/medias/users/login?redirect=%2Fmedias
but it should be :
/users/login?redirect=%2Fmedias
This menu worked perfectly in 3.3.
I am trying to update to 3.8 and came across this problem.