Default calendar not found for new users
When a new user is created, the system via the vtiger_calendar_default_activitytypes
table creates default calendars for the new user, this configuration is saved in vtiger_calendar_user_activitytype
.
I noticed that when trying to change (for example the color) of a default calendar from this new user a message appears stating that the calendar was not found.
By deleting the calendars and recreating them the behavior is corrected.
How to reproduce the problem:
- create a new user
- log in with the new user and try to change the color of the default calendars
- the error is returned
- delete the calendar you wanted to modify
- create the calendar again and try to modify