I’m using a form in UI Builder to let users update their user name. In the users table, “email” is the identifying element and I’ve configured “name” with the “unique value” constraint.
When I’m updating the users table with an already existing name, an exception is thrown, which is correct. However, after that, the codeless block “Get current user” returns the invalid user name.
My expectation is, that the “Get current user” still contains a consistent state as defined by the database table constraint. Do you agree?
Here is my form submission logic: