[Cubicweb] hook event for modification_date
sylvain.thenault at logilab.fr
Wed Nov 3 11:13:53 CET 2010
On 03 novembre 10:57, Adrien Di Mascio wrote:
> 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 ?
same as standard relations.
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
CubicWeb, the semantic web framework: http://www.cubicweb.org
More information about the Cubicweb