[Product-Developers] plone.app.jquerytools, disabled scripts in js registry, profile deps: stop the madness!

Steve McMahon steve at dcn.org
Thu Aug 25 23:01:17 UTC 2011


Hi Sean,

Why don't you go ahead and open a ticket for this (component: javascript). I
think you're right that this is a mess, and a ticket will give us a place to
work through a better solution.

Steve

On Thu, Aug 25, 2011 at 1:45 PM, Sean Upton <sdupton at gmail.com> wrote:

> Okay, so I am trying to figure my way through this one with my sanity
> intact:
>
> I am writing add-ons that depend on scripts that plone.app.jquerytools
> ships but disables by default (e.g. dateinput, validator).  So I
> figure, not a problem -- my jsregistry.xml enables and orders them.
> But installing ANY other add-on that depends on plone.app.jquerytools
> (like Dexterity or anything depending on it -- half the known universe
> soon) stomps on my registry settings and restores the default.
>
> It seems I (and any other product author) who wants to safely enable
> these jquery tools plugins will be forced to bundle our own copies to
> ensure they are always enabled in the respective resource registry,
> which yields the possibility of multiple products installing
> (duplicate or incompatible) versions of the same script.  So we trade
> one problem for another.
>
> This seems an intractable problem for every possible type of add-on
> (including site-specific policy products).  It effectively means you
> have to re-install the js registry profile bits for your specific
> product in portal_setup manually after the installation of almost any
> other add-on.
>
> Ideas?
>
> Sean
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-product-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110825/531822bf/attachment.html>


More information about the Product-Developers mailing list