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
Error should be handled more gracefully. And users should not be able to enter duplicate short name in the first place.
Bad news. An error occurred in Acceptatie at 2025-01-31 15:54 for user [email protected]:
Traceback (most recent call last):
File "/opt/sbs/sbs-env/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
self.dialect.do_execute(
File "/opt/sbs/sbs-env/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 941, in do_execute
cursor.execute(statement, parameters)
File "/opt/sbs/sbs-env/lib/python3.9/site-packages/MySQLdb/cursors.py", line 179, in execute
res = self._query(mogrified_query)
File "/opt/sbs/sbs-env/lib/python3.9/site-packages/MySQLdb/cursors.py", line 330, in _query
db.query(q)
File "/opt/sbs/sbs-env/lib/python3.9/site-packages/MySQLdb/connections.py", line 265, in query
_mysql.connection.query(self, query)
MySQLdb.IntegrityError: (1062, "Duplicate entry 'cat' for key 'services_unique_abbreviation'")
Severity
None
Steps to Reproduce
Create service request with short name identical to existing service
Admin follows link for request mail
Fill in an entityid and press "approve"
Expected Behavior
No response
Actual Behavior
No response
Screenshots or Logs
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
There is already a validation when registering an application if the short_name is duplicated.
However there is no validation if an application is created if there is an unapproved application registration with the same short_name. What is the preferred behaviour? Proposal is to show an error indication in the approval of the service registration that the short_name is duplicated (e.g. taken in the time after the registration of the application).
Description
Error should be handled more gracefully. And users should not be able to enter duplicate short name in the first place.
Severity
None
Steps to Reproduce
Expected Behavior
No response
Actual Behavior
No response
Screenshots or Logs
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: