[Cubicweb] hook event for modification_date
Adrien Di Mascio
adrien.dimascio at logilab.fr
Wed Nov 3 10:57:56 CET 2010
On 03/11/2010 08:59, Sylvain Thénault wrote:
> On 02 novembre 16:58, Julien Jehannet wrote:
>> - remember that default CubicWeb behaviour is to not touch entity info
>> from related parts (for example: if you've postal address, the related
>> company will not be edited by default).
>> It means that cube's hooks have responsability to update date
>> modification of the composite entities if need.
>
> eg by default modification date is only updated when some entity's
> *attributes* are modified, not when any relation is added/removed,
> nor when some, composite or not, related entity is modified.
What about inlined relations ?
--
Adrien Di Mascio - LOGILAB, Paris (France).
Tél: 01.45.32.03.12
Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/
More information about the Cubicweb
mailing list