You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for asking. i tried to reproduce it - but i am unable to reproduce the basic situation, not even if i manually mess with the "finish" button in the "Create robot user" dialogue. it pretty thoroughly prevents me from creating any "empty" robot accounts (as in: without selecting permissions).
the basic situation (i honestly dont know how this was created) was this:
note the empty permissions list. the frontend then proceeds to directly access
permissions[0]
in the the list, which doesnt have any elements. so there the frontend fails with an error and stops rendering. a simple check before access should solve this & potentially make the UI a little bit more robust.
in our case, i actually had to remove the row from the database.
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
a robot user without permissions breaks the frontend code on the project -> robot user tab
Steps to reproduce the problem:
create a robot user without selecting any permissions. then leave the tab and go back to it.
Versions:
Additional context:
inspect -> console in the browser give: "s.permissions[0] is undefined"
The text was updated successfully, but these errors were encountered: