-
Notifications
You must be signed in to change notification settings - Fork 34
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
Broken UI when defining a group who may use the app #526
Comments
I can reproduce the bug. More in detail:
Some additional observations:
Given the above, I suspect the issue lies in the |
UPDATE: I have switched I can provide a pull request shortly after some more testing. |
- The UI in the admin section for setting allowed groups is broken, see nextcloud#526. - Replacing the deprecated NcMultiselect component with NcSelect (as per recommendations) fixes the issue.
- The UI in the admin section for setting allowed groups is broken, see nextcloud#526. - Replacing the deprecated NcMultiselect component with NcSelect (as per recommendations) fixes the issue. Signed-off-by: Marco Baggio <70693636+mawumag@users.noreply.github.com>
- The UI in the admin section for selecting allowed groups is broken, see nextcloud#526 - The allowed_groups fetched from the database are in a different format compared to the one expected by the UI logic. This commit fixes this by reconstructing a JSON object with the appropriate attributes for each fetched allowed group. Signed-off-by: Marco Baggio <70693636+mawumag@users.noreply.github.com>
- The UI in the admin section for selecting allowed groups is broken, see nextcloud#526 - The allowed_groups fetched from the database are in a different format compared to the one expected by the UI logic. This commit fixes this by reconstructing a JSON object with the appropriate attributes for each fetched allowed group. Signed-off-by: Marco Baggio <70693636+mawumag@users.noreply.github.com>
- The UI in the admin section for selecting allowed groups is broken, see nextcloud#526 - The allowed_groups fetched from the database are in a different format compared to the one expected by the UI logic. This commit fixes this by reconstructing a JSON object with the appropriate attributes for each fetched allowed group. Signed-off-by: Marco Baggio <70693636+mawumag@users.noreply.github.com>
allowed_groups fetched from db JSONified - fixes #526
Thanks @mawumag for looking into and taking care of this! |
My pleasure! It might be that some users have a database entry for allowed_groups that is inconsistent (e.g. I have not tested what happens with the new UI in this case, but it might be necessary to implement a fix if users report issues. |
The webUI which allows to select which groups may use the app is broken: after defining the group it doesn't show it, but the empty field, and after the reload the field disappears.
Select group of users
Click Save
Reload page
Observe empty field
Click Save
Observe undefined state without any field at all
The text was updated successfully, but these errors were encountered: