[Erp5-dev] Fwd: problem in catalogging simulation movements
Bartek Gorny
bartek at redpoint.mn.pl
Fri Jul 7 14:26:42 CEST 2006
On 07/07/06, Romain Courteaud <romain at nexedi.com> wrote:
> 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
And you are bloody right :) The problem was that the user "zope" did
not exist in acl_users. It is somewhat strange, though, that part of
the indexing process worked fine without it, and part did not work,
and that there was no messages in the logs. Anyway, the problem is
solved.
We should write it somewhere in the wiki, in very big letters...
Bartek
> 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
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev
>
--
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"
More information about the Erp5-dev
mailing list