who-icatx / icatx-project

A place for project tasks discussion and discussion of other issues arising on this project
0 stars 0 forks source link

User should not be allowed to select current class as logical definition superclass #127

Open soimugeoWB opened 5 days ago

soimugeoWB commented 5 days ago

As a user i should be able to select a logical definition superclass. As a user i am not allowed to select the current class as logical definition superclass (e.g. cholera to have cholera as logical definition superclass).

If this scenario happens then we create a cycle in the hierarchy. Image

Also the edit parents functionality to delete this cycle is not working.

tudorache commented 5 days ago

Yes, this is a bug. The UI should prevent using the selected class as the logical definition superclass. The change parents feature should be able to delete the class as its own superclass, but I guess this is a different bug.