Hi Jorge,
We are facing the same issue for few weeks now. Even with normal User creation and maintenance with Administration module, we are getting the same issue on the Name attribute of User.
The only difference is we migrated to 7.23.15. So, seems something got changed in between and it started throwing these kind of errors, but with different attribute in different scenario’s.
The restriction that you mentioned in System.User is there for quite long time. Refer 7.23.3 modeler System.User
XPATH constraint in the System.User is ok. No problems with that. The exact problem is in project Security. We have also filed a bug related to this.
The fix is very strange, although it worked. Not sure if it is applicable to you as well, but worth a try.
- go to Project security
- User roles tab
- Select the User role which ever is applicable in your case
- Instead of selected roles and checkboxes selected, you must select all. Then the issue is resolved and works.
I ran into the same problem after upgrading from 7.23.11 to 7.23.25.
Instead of setting it to ‘All’, I’ve added “(No user roles)” to the user role.
Thanks a lot for sharing this information Nirmalkumar. We upgraded from Mendix 7.22 to 7.23.18 and found the same issue for the tenant manager that creates and manages the users within the tenant. Your solution also worked for us after the upgrade to 7.23.18.
For me it also worked when the option (No user roles) was selected, all the way down in the list.