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
Describe the bug
After entering and saving mail addresses in the field notification_emails in the room booking administration when editing a room's details (on the page "Notifications", labelled "Notification emails"), the field is often shown as "empty" (i.e. with the standard placeholder text) when entering the same menu again. Opening the page up many times, sometimes the actual content is shown.
To Reproduce
Steps to reproduce the behavior:
Go to "Room Booking", enter "Administration" via the hamburger menu, then click on a location and edit a room via the pen.
Click on "Notifications".
Enter a mail address in the field "Notification emails" and save it.
Completely refresh the page / re-enter room booking administration, i.e. repeat step 1.
Click on "Notifications" again.
The field is shown empty, in about 1 out of 5 attempts.
Expected behavior
Field content to be shown every time.
Additional context
Tested with Firefox 111.0 on Linux, colleagues using Firefox can also reproduce it.
Testing with Google Chrome 112 on Linux, the chance to see the content of the field seems higher (about 4 in 5 times, the content is visible).
Checking with web developer tools, the JSON response always contains the field content, so this is likely something furhter down the road, i.e. some kind of race condition in Javascript?
Note: This is with Indico v3.2.3.
The text was updated successfully, but these errors were encountered:
Doesn't have any negative side-effects at a first glance, and putting the options into local state instead of relying on the value (which is managed by the final-form lib) was wrong anyway.
I still need to test it in the other place where the EmailListField is used though (after the easter holidays).
Describe the bug
After entering and saving mail addresses in the field
notification_emails
in the room booking administration when editing a room's details (on the page "Notifications", labelled "Notification emails"), the field is often shown as "empty" (i.e. with the standard placeholder text) when entering the same menu again. Opening the page up many times, sometimes the actual content is shown.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Field content to be shown every time.
Additional context
Tested with Firefox 111.0 on Linux, colleagues using Firefox can also reproduce it.
Testing with Google Chrome 112 on Linux, the chance to see the content of the field seems higher (about 4 in 5 times, the content is visible).
Checking with web developer tools, the JSON response always contains the field content, so this is likely something furhter down the road, i.e. some kind of race condition in Javascript?
Note: This is with Indico v3.2.3.
The text was updated successfully, but these errors were encountered: