inveniosoftware / inveniosoftware/invenio-admin

Bug when displaying list of users in the Role edition form

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
Python
Stars
2
Forks
37
PR merge metrics
No merged PRs in 30d

Description

**How to reproduce**

Create a new instance of Invenio, with a few users and roles.
Go to `admin` -> `User management` -> `Roles` -> edit one role.
The `Users` field does not display the select box with the users list.

There is an error in the browser console, see attached screenshot ` Uncaught Error: No select2/compat/initSelection`. It might an issue in Flask-Admin or a wrong bundle/webpack condif. Maybe missing `select2` plugin.
![Screenshot 2020-02-17 at 18 08 38](https://user-images.githubusercontent.com/2089455/74674082-e49fe700-51b0-11ea-88a0-efeaa0b023e7.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.