[Erp5-users] How portal_selections works internally?

Gabriel Lima de Oliveira ciberglo at gmail.com
Tue Mar 22 23:08:41 CET 2011


Hi. I recently had to solve a problem with portal_selections, that I think
was due to more than 1 selection for a portal type.
In this specific case, the DocumentModule_viewDocumentList listbox was not
showing the documents added.
So, I went to portal_selections, and searching for the word "document", I
went carefully deleting the selections.
After deleting all "document selections", I tried again to view the listbox,
and this time all documents I've added were showed.

So, I asked myself: Why I had to go to portal_selections, and delete all
selections related do Document portal_type, before access the document
listbox (internally generating another document_selection, this time the
correct one)?
How this conflict is generated? Is it a problem of mem cache? Does the
selections stay cached so that it's not possible to have multiple selections
for a single portal_type?

I'd like to know more about this functionality, because I'm very interested
in know how ERP5 works internally.

 Att,
Gabriel L. Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20110322/49f83d7f/attachment.htm>


More information about the Erp5-users mailing list