Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No FAQ provided when displaying an error message #20122

Open
mattmary opened this issue Dec 18, 2022 · 1 comment
Open

No FAQ provided when displaying an error message #20122

mattmary opened this issue Dec 18, 2022 · 1 comment
Labels
Potential Bug Something that might be a bug, but can't be reproduced (yet). Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@mattmary
Copy link
Contributor

When displaying the error message "This user has super-user access. Embedding widgets with super-user token authentication is not allowed. Check the FAQ for more info." There is no link to a FAQ.

Expected Behavior

Display a link to the related FAQ.

Current Behavior

Only the message is displayed.
It looks like the link is not added any more in the message:

$ex = new \Piwik\Exception\Exception(Piwik::translate('Widgetize_TooHighAccessLevel', ['<a href="https://matomo.org/faq/troubleshooting/faq_147/" rel="noreferrer noopener">', '</a>']));

Possible Solution

Steps to Reproduce (for Bugs)

Context

Your Environment

  • Matomo Version: 4.14
  • PHP Version: 8.0
  • Server Operating System: Apache
  • Additionally installed plugins:
  • Browser: Firefox
  • Operating System: Ubuntu
@mattmary mattmary added Potential Bug Something that might be a bug, but can't be reproduced (yet). To Triage An issue awaiting triage by a Matomo core team member labels Dec 18, 2022
@sgiehl
Copy link
Member

sgiehl commented Dec 19, 2022

@mattmary this looks correct for me:
image

The html tags might though be removed for logging.

@sgiehl sgiehl added Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. and removed To Triage An issue awaiting triage by a Matomo core team member labels Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Something that might be a bug, but can't be reproduced (yet). Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

No branches or pull requests

2 participants