Hi,

Putting together Plone 4.0.7 with sc.social.like, I noticed that the 
publication process loops infinitely in a deadlock when an user tries to view 
an item he is not allowed to view. See the full scenario, investigation details 
and fix in this ticket.

https://bitbucket.org/takaki/sc.social.like/issue/1/deadlock-when-viewing-an-object-on-which

Thinking back after recording this ticket, I dunno if I faced a sc.social.like 
bug or a Plone issue. In other words, why the publication process tries to 
update the viewlets for IHTMLHead manager on unauthorized objects, when a 
UnauthorizedBinding object is pushed as an (unusable) context.

Any opinion why Plone tries to update such viewlets when an Unauthorized is 
pending ? Is this a Plone issue ? Or should we always override the "update" 
method of viewlets (inheriting from 
plone.app.layout.viewlets.common.ViewletBase) for viewlets for IHTMLHead 
manager ?

Thanks by advance for any argued opinion.

-- 
Gilles Lenfant

_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to