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
If I try to change the name or the domain of a spec_item by changing the case of one of its letters, I get an error. The error is triggered by this check:
# Verify that, in edit mode, if the domain:name has been modified, it is unique within non-deleted,
# non-obsolete spec_items in the project and in the default ValSet
if (self.mode == 'edit') and (('name' in self.changed_data) or ('domain' in self.changed_data)):
if SpecItem.objects.exclude(status='DEL').exclude(status='OBS').filter(project_id=self.project.id, \
domain=cd['domain'], name=cd['name'], val_set_id=default_val_set_id).exists():
raise forms.ValidationError('Edit Error: Domain:Name pair already exists in this project')
As far as I can tell, this means that the query is case-insensitive. However, as far as I can tell from the Django documentation, the query should be case-sensitive by default. Am I missing something?
The text was updated successfully, but these errors were encountered:
If I try to change the name or the domain of a spec_item by changing the case of one of its letters, I get an error. The error is triggered by this check:
As far as I can tell, this means that the query is case-insensitive. However, as far as I can tell from the Django documentation, the query should be case-sensitive by default. Am I missing something?
The text was updated successfully, but these errors were encountered: