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
As an Engineer
I want to be informed if my project name in CoMPAS already exists in the SCL file type
So I prevent confusion (projects with the same name)
When the users enter a name in this window:
and clicks on the "save" button, CoMPAS should check if the name already exists for the selected SCL type.
If the name matches an existing one an error should show.
Background:
When a new SCL File is added/updated to the PostgreSQL database we need to check if the name registered in the Private Element "SclName" (under SCL, type "compas_scl") isn't already used.
Extended the existing Repositories (PostgreSQL/BaseX) with a method to check if a name isn't already used.
In the Service layer first check if the value from the private has changed (update only).
If not changed no check is needed.
If changed use the new method to check if the (new) name isn't already used. If already used throw a Exception and stop processing the SCL File.
For the BaseX version implementation of the method for now just always return that the name is unique, other issue Add SCL name uniqueness check (BaseX) #203 will implement this version.
For the PostgreSQL version execute a query to retrieve the names of all the latest versions and check if the (new) name isn't already used by a other SCL File.
The text was updated successfully, but these errors were encountered:
As an Engineer
I want to be informed if my project name in CoMPAS already exists in the SCL file type
So I prevent confusion (projects with the same name)
When the users enter a name in this window:

and clicks on the "save" button, CoMPAS should check if the name already exists for the selected SCL type.
If the name matches an existing one an error should show.
Background:
When a new SCL File is added/updated to the PostgreSQL database we need to check if the name registered in the Private Element "SclName" (under SCL, type "compas_scl") isn't already used.
If not changed no check is needed.
If changed use the new method to check if the (new) name isn't already used. If already used throw a Exception and stop processing the SCL File.
The text was updated successfully, but these errors were encountered: