Hello!
I' ve setup un simple relation type, with the default values. Symetrical, arity 2 for min and max and un simple content type as source.
When i try to create a new relation of this type from the entity collector, the block is working well showing the title of picked entity(nodes) but when i try to save it I have the error "Relation not created" comming from the relation_entity_collector.module line 380 "i suppose". No more warnings are displayed, so where do I have to digg to find a solution to this issue?
Anyway, even it' s first stages of dev this is an unbelievable module. Thanks

Comments

moun40’s picture

A response to myself, i' ve setup the maximum Arity to 2 and tried to make a relation with more than two éléments (as punishement I' m going to make some string translation).

chx’s picture

Title: Relation not created » Document you need to validate before relation_save and show errors
Component: Entity_collector » API
mikran’s picture

There is several issues reported that were basically the same as this one. Where should this documentation be written? Also could basic validation, such as relation type bundle exists, belong to code actually?

Edit: Related to the relation type validation: #1345648: relation_save does not properly validate $type parameter

naught101’s picture

Category: support » bug
Status: Active » Closed (duplicate)

Let's just have one of these issues.