Ciao Riccardo, in realtà ho eliminato proprio l'init. Il problema persiste, mentre scompare questo errore se utilizzo la permission "zope2.View" al posto di cmf.ManagePortal. Naturalmente in cima al mio configure.zcml c'è <include package="Products.CMFCore" file="permissions.zcml" />
Il giorno 06 novembre 2012 17:25, Riccardo Lemmi <[email protected]> ha scritto: > On Tuesday 06 November 2012, Vito Falco wrote: > > Ciao, > > sto cercando di rendere compatibile un pacchetto plone creato per la > > versione 3 del nostro cms preferito (il pacchetto in oggetto non l'ho > > creato io). > > > > Richiamata una browser view ottengo un erroraccio > > 2012-11-06 16:48:20 ERROR Zope.SiteErrorLog > > 1352216900.710.976019424466 http://localhost:8080/test/@@GCollection > > Traceback (innermost last): > > Module ZPublisher.Publish, line 115, in publish > > Module ZPublisher.BaseRequest, line 616, in traverse > > Module ZPublisher.HTTPResponse, line 756, in unauthorized > > Unauthorized: You are not authorized to access this resource. > > No Authorization header found. > > > > nel configure.zcml ho > > <browser:view > > name="GCollection" > > for="*" > > class=".browser.GeoCLocation" > > permission="cmf.ManagePortal" > > /> > > > > nella __call__ come prima riga ho messo il pdb > > > > Cosa può essere? > > Vito > > Penso che sia un errore in "__init__" > > È un brutto comportamento delle browser view che nascondono le eccezioni > lanciate in questo metodo, l'utente diventa anonimo e viene lanciato un > unauthorized. > > -- > Riccardo Lemmi > Über Developer > Reflab - helping humanitarian action through web innovation > http://www.reflab.com > > _______________________________________________ > Plone-IT mailing list > [email protected] > https://lists.plone.org/mailman/listinfo/plone-plone-it > http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html > -- *Vito Falco* Webdeveloper & designer freelance, Plone enthusiast Bari, IT tel +39 3346330137 | skype vito80ba | twitter vito80ba Blog http://appuntiplone.wordpress.com
_______________________________________________ Plone-IT mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-plone-it http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
