AlphaBetaTest / agrovoc-cs-workbench

Automatically exported from code.google.com/p/agrovoc-cs-workbench
0 stars 0 forks source link

cannot delete relationships from Relationships module #570

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. log in as administrator
2. select a relationship from the hierarchy
3. click button -
4. nothing happens

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by caterina...@gmail.com on 5 Mar 2012 at 2:48

GoogleCodeExporter commented 9 years ago
Background: Some boring but quick note about terminology. 

Relationship: the actual pair of object linked by a relation. 
Example (from AGROVOC): [Welfare economic] Study [Mixed economies]

Relation: the binding between two objects, in “general”. 
Example (from AGROVOC): Study
I say “general” meaning 1) all pairs of objects linked (extensional 
definition), and 2) name and definition of the relation (intensional 
definition). 

As for the action triggered by clicking “delete” relation, something did 
actually happen: 

the relation’s _label_ disappeared (see attach "deleted_relation"), but the 
actual relationships still exist (see attach "existing_relationship"). 
Cf. in sandbox:  [Welfare economic] _no label _ [Mixed economies]

I think the action "delete" in module "Relationships" should not behave like 
that. But, on the one hand, if it only removes labels, relationships are messed 
up. On the other hand, removing relationships is a delicate matter. To be 
discussed. 

Original comment by caterina...@gmail.com on 8 Mar 2012 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago
It seems that you deleted a relationship type and NOT the relationship between 
the two concepts!

In order to delete a relationship between two concepts you should go to the 
concept, then on the right part click on 'Relationships' tab, then click on the 
[-] button next to the concept of which you wish to delete the relationship. 

Original comment by gudrun.j...@fao.org on 9 Mar 2012 at 7:42

GoogleCodeExporter commented 9 years ago
Yes, that's exactly what happenes. 

At this point I wander if when clicking "delete" in the "relationships" module, 
one should get a warning message. After all it is a risky operation with no 
undo!

The warning message could say that the corresponding relationships will stay, 
but wth no label, and/or mentioning the number of relationships potentiallly 
affected. What I have in mind now is the case of 0 relationships present. In 
that case deleting a relation from that module is a safe operation. 

Original comment by caterina...@gmail.com on 9 Mar 2012 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by sachit.r...@gmail.com on 19 Mar 2013 at 2:22