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
If you refresh/edit a page you can get another entity
To Reproduce
Create two pet types : dog and cat
In the list ctrl + clic to open cat in a new window
In the list ctrl + clic to open dog in a new window
Go to the window "cat"
Hit "Edit Pet Type" -> it's the dog pet type that is displayed !
Instead of editing the Pet Type, you can also refresh the window : if you are not on the last opened type, the type changes.
Expected behavior
If you edit or refresh an entity, the window shall not change the entity.
This behaviour happens because the managed beans are sessionScoped : if the user opens multiple windows he gets confused if he refreshes or edit the window. The managed bean must be requestScoped or viewScoped.
The text was updated successfully, but these errors were encountered:
Describe the bug
If you refresh/edit a page you can get another entity
To Reproduce
Expected behavior
If you edit or refresh an entity, the window shall not change the entity.
This behaviour happens because the managed beans are sessionScoped : if the user opens multiple windows he gets confused if he refreshes or edit the window. The managed bean must be requestScoped or viewScoped.
The text was updated successfully, but these errors were encountered: