Re: do we need plone.app.customerize? was: [Plone-Users] Insufficient privileges on folder_contents

Christian Ledermann <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CABCjzWp14J4CaiaaFBhp4A15nEVe+LmKtBk0H0h9iJkL6-iDDw@mail.gmail.com>
I found portal_view_customizations and the @@manage-viewlets view have
sometimes wierd side effects that are hard to trace down (David
Sieband has a story to tell about @@manage-viewlets do you care to
chime in?).
e.g. customized viewlets seem to 'forget' about parts of their zcml
configuration, when you customize a viewlet from a
non core product and uninstalll that product it can break your site,
if a viewlets implementation changes it can break your site on upgrade
and so on :-(

They also make it harder to do things in a repeatable manner. I have
not looked at the code, how is the test coverage?




On Thu, Dec 5, 2013 at 8:18 AM, Dylan Jay <[email protected]> wrote:
> On 5 Dec 2013, at 8:55 am, Johannes Raggam <[email protected]> wrote:
>
>>
>> On Die, 2013-12-03 at 16:37 -0800, David Glick (Plone) wrote:
>>> On 12/3/13, 4:34 PM, Fulvio Casali wrote:
>>>> Unauthorized: The owner of the executing script does not have the
>>>> required permission.  Access to 'toLocalizedTime' of
>>>> (five.customerize.zpt.TTWViewlet object at 0x179b3d10) denied. Access
>> [...]
>>> Problems like this are a big part of why I don't recommend using
>>> portal_view_customizations. I'd override the template using z3c.jbot
>>> instead.
>>
>> ... interesting - i didn't recognize portal_view_customizations until
>> now. is that beeing used widely?
>
> I suspect it's not.
> However removing it and skins still leaves us with no core solution for templates :(
> We don't really have agreement on a replacement but I think we need one. zbot is not a TTW solution.
>
>>
>> if there are no other core dependencies on it, i see
>> plone.app.customerize and five.customerize as candidates to be moved out
>> of Plone 5 core.
>>
>> whoever needs it, can just drop a dependency on these packages in his
>> integration product's setup.py.
>>
>> however, what's really nice is to have a overview of all registered
>> views at: portal_view_customizations/registrations.html and a overview
>> of all views used for a response with calling /@@zptviews.html on a
>> specific context.
>>
>>
>>
>> --
>> programmatic  web development
>> di(fh) johannes raggam / thet
>> python plone zope development
>> plone framework  team  member
>> mail: [email protected]
>> web:  http://programmatic.pro
>>      http://bluedynamics.com
>>
>>
>> --
>> programmatic  web development
>> di(fh) johannes raggam / thet
>> python plone zope development
>> plone framework  team  member
>> mail: [email protected]
>> web:  http://programmatic.pro
>>      http://bluedynamics.com
>>
>> ------------------------------------------------------------------------------
>> Sponsored by Intel(R) XDK
>> Develop, test and display web and hybrid apps with a single code base.
>> Download it for free now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk_______________________________________________
>> Plone-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/plone-developers
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Plone-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-developers



-- 
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Plone-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.