[Erp5-dev] Fwd: problem in catalogging simulation movements

Romain Courteaud romain at nexedi.com
Fri Jul 7 13:44:35 CEST 2006


Le Vendredi 7 Juillet 2006 13:08, Bartek Gorny a écrit :
> No, there is the same problem - getResourceUid returns correct value,
> but in MySQL table resource_uid is NULL. Explanation, start date, stop
> date and price are ok.

Currently, I suspect some security configuration issue, as acquisition seems 
OK, as you can call getResourceUid directly on your movement.

Did you configured security on your site ?
Can you try to reindex manually your object (recursiveImmediateReindexObject) 
with a manager and see what happens ?

> Are there any test or tracings I could do to find the problem?

You can write a external method like this:

def test(self):
  import pdb; pdb.set_trace()
  self.immediateReindexObject()

And call it directly on your simulation movement, and trace the execution.

Good luck
Romain



More information about the Erp5-dev mailing list