We're updating the issue view to help you get more done. 

relationship type woes

Description

Hi,

I'm having some troubles with relationship types which I've never seen before in my setup for the provenance researchers from Vienna.

I put a dump to test this out on antwerp in /home/stefan/provenienz_18_jan.sql. You can log in with stefan/stefan.

a) If you edit an existing relationship type without specifying a hierarchy location, the parent_id is set to 0 after the save which essentially means that the rel type will not appear in the hierarchy browser anymore. Also, the table_num is set to 0 which is even worse, I guess.

b) The relationship bundles do weird stuff with the type restrictions and I guess this might be related to a). Have a look at the rel type

/index.php/administrate/setup/relationship_type_editor/RelationshipTypeEditor/Edit/type_id/138

It says Provenienzmerkmale <-> Provenienzmerkmale (objects_x_objects), right? Now try

/index.php/editor/objects/ObjectEditor/Edit/Screen6/object_id/88

This is a "Trägerobjekt" (different object type). Try relating something in the bottom "related objects" bundle. This one is restricted to only display "Provenienzmerkmale" (the bundles have meaningful names in German). And there it is: "ist physisch verbunden mit". Weird.

Environment

latest cleanup branch

Assignee

User known

Reporter

Stefan Keidel

Labels

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure