@Findus23 opened this Issue on February 16th 2020 Member

quite low priority, but I wanted to write it down just in case I stumble across it again in the future.
(and maybe the same is true for other error messages and it confuses user)

When developing Matomo doesn't have write permission to plugins/. This doesn't matter as it isn't needed for things apart from the marketplace.

When one tries to download something from the marketplace this error message appears rightfully:

grafik

The issue is that there is no way to get rid of the notification. Pressing the x only closes it with JS, but as it is rendered by Twig it will reappear on every page even when it doesn't matter anymore.

Adding a static::$session->unsetAll(); to
https://github.com/matomo-org/matomo/blob/b16a791aa3650d85af829156129c2bd44c7cb075/core/Notification/Manager.php#L191-L202

removes it from the session and gets finally rid of the message (ending the session in another way would also work).

@sgiehl commented on February 25th 2020 Member

maybe related to #15498

@Findus23 commented on February 25th 2020 Member

@sgiehl That sounds like the same general issue (notifications in the session don't disappear)

@Findus23 commented on May 24th 2020 Member

https://github.com/matomo-org/matomo/issues/12934 is also caused by the same issue.

Powered by GitHub Issue Mirror