[Cubicweb] hook event for modification_date
Aurélien Campeas
aurelien.campeas at logilab.fr
Wed Nov 3 11:20:18 CET 2010
Le mercredi 03 novembre 2010 à 11:06 +0100, Aurélien Campeas a écrit :
> Le mercredi 03 novembre 2010 à 10:57 +0100, Adrien Di Mascio a écrit :
> > 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 ?
> >
> >
>
> My bet: they are handled like attributes.
I lose.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Ceci est une partie de message numériquement signée
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20101103/cf8bc634/attachment-0272.sig>
More information about the Cubicweb
mailing list