[Cubicweb] commit and rollback on rqlcontroller

Julien Cristau julien.cristau at logilab.fr
Fri Jun 13 12:28:38 CEST 2014


On Fri, Jun 13, 2014 at 12:18:52 +0200, Jinpeng Li wrote:

> Dear all,
> 
> Yesterday I worked with Yann for the indexation on database and we have
> some feedback on rqlcontroller. When we insert an entity
> with rqlcontroller, the mandatory relations of this entity should be
> inserted as well, otherwise I will get error. It means each post already
> commit, or rollback when it fails.

Yes, anything else would be madness.

> Maybe cubicweb team needs to make it
> stateless since it is RESTful Web services.
> 
I don't understand what you mean here.

Cheers,
Julien
-- 
Julien Cristau          <julien.cristau at logilab.fr>
Logilab		        http://www.logilab.fr/
Informatique scientifique & gestion de connaissances


More information about the Cubicweb mailing list