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
I would be happy to fix this, as this bug indirectly affects the implementation of the Twingle Shop #69.
You'd be very welcome to do so! Just make sure you catch all the cases :)
But even if you change the primary identifier to the ID, we should still make sure profiles cannot have the same name - but that might already be the case anyway...
Well, there is already a mechanism to avoid duplicate names.
But you are right, I will include some additional validation for that – and also for the project_ids which should not be defined in more than one profile.
If you change the name of a profile to that of another, already existing profile, this other profile is overwritten instead of the current profile.
This is probably due to the fact that the storage of the profiles in a database table was implemented later on.
At least at this place the database ID should be used instead of the profile name:
de.systopia.twingle/CRM/Twingle/Form/Profile.php
Lines 142 to 146 in 518f880
I would be happy to fix this, as this bug indirectly affects the implementation of the Twingle Shop #69.
The text was updated successfully, but these errors were encountered: