Skip to content

[statistics] widget error on login/main page #10570

Description

@regisoc

Describe the bug
Panel with infinite Loader/spinner when the user does not have access to statistic?
Tagged it as statistic as a 500 error is visible on the console log.

To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):

  1. Create a user with only access-profile permission.
Image
  1. Login to LORIS.
  2. See error

Infinite loader + 500 error
Image

Image

What did you expect to happen?
No panel ideally if no access to data (no permission), or at least no infinite spinner.

Browser Environment (please complete the following information):

  • OS: manjaro
  • Browser: Zen 1.20.1b (Firefox 151.0.2) (64-bit)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

29.0.0 - BugsIssues found during the release testing for 29.0.0Category: BugPR or issue that aims to report or fix a bugCritical to releasePR or issue is key for the release to which it has been assignedModule: statisticsPR or issue related to statistics module

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions