Open samjf opened 2 years ago
This is a bug, that was actually always there I guess. One way to solve that issue might be to simply provide a default value like default
when trying to read the period parameter on some pages.
We get clusters of reports about these ones from time to time. Unsure exactly how people get into that state, but it does occur somewhat frequently. Perhaps there is a link or browser issue that directs them to the settings without the param.
That for example happens after returning from Google or Yandex when setting up Search Performance plugin. But there are also some other plugins that create links that don't include idSite
, date
or period
, as the plugin actions simply don't need it. Switching to another menu entry might then produce that error. As mentioned providing defaults might fix that for the most cases. Guess that should actually be quite easy to do.
Sometimes whilst navigating the settings I manage to get into a broken UI session. During this time I errors saying
The stack trace show the following line is to blame:
plugins/UsersManager/templates/userSecurity.twig:49
This happens because somehow I get into settings without the
period
param in the URL. If I navigate to Personal > Security or Personal > Email reports this behavior occurs. It does't seem to affect Personal > SettingsExpected Behavior
If I happen to get to the settings page without a
period
param in the url it should still function as do the other settings pages.Current Behavior
If I happen to get to the settings page without a
period
param in the url the pages 'Security' and 'Email reports' show an error message when visited.Steps to Reproduce (for Bugs)
period
param is not supplied as it usually is if visiting the dashboard firstContext
When this happens it isn't clear why it happens or how it should be resolved. Doing things such as refreshing or reentering the URL don't help to resolve it. If any link is supplied without the param you get stuck unless you revisit the dashboard.
Your Environment