[Plone-IT] Plone & mechanize (REPOST)

Fabrizio Reale fabrizio.reale a redomino.com
Ven 23 Gen 2009 15:04:08 UTC


Ciao,

> folder = appr.Plone.Members.testuser.invokeFactory("Folder", id="sample02",
> title="sample02")

Un bel reindexObject() non gli farebbe male :)

> pprint( "AFTER" )
> pprint( appr.Plone.Members.testuser.items() )
> 
> 
> $>$PLONEROOT/Plone-3.1.7/zeocluster/parts/client2/bin/zopectl run test.py
> 
> BEFORE'
> [('sample01', <ATFolder at /Plone/Members/testuser/sample01>)]
> 'AFTER'
> [('sample01', <ATFolder at /Plone/Members/testuser/sample01>),
>  ('sample02', <ATFolder at /Plone/Members/testuser/sample02>)]
> 
> sample01 l'ho creata col browser firefox, ed appare ;
> sample02 *non* appare via web....

Devi reindicizzarla.

Fabry

-- 
Fabrizio Reale

Redomino S.r.l.
Largo Valgioie 14, 
10146 Torino Italy
Tel: +39 0117499875
http://redomino.com




Maggiori informazioni sulla lista Plone-IT