[Product-Developers] What are the requirements to get an upgrade button in the Add/Remove Products panel
Jean-Michel FRANCOIS
toutpt at gmail.com
Fri Dec 2 15:40:27 UTC 2011
first generic setup profile version (in metadata.xml) must have an integer
Next you have to register a upgradestep
You can find many of them here and their:
https://github.com/collective/collective.js.jqueryui/blob/master/collective/js/jqueryui/profiles.zcml
https://github.com/collective/collective.gallery/blob/master/collective/gallery/upgrades.zcml
An upgrade step is a simple method
https://github.com/collective/collective.gallery/blob/master/collective/gallery/upgrades.py
Regards / Cordialement,
JeanMichel FRANCOIS
Find me on Google + <https://profiles.google.com/toutpt>
2011/12/2 derek <auspex at pointerstop.ca>
> I was under the impression that Plone would show an "Upgrade" button
> for any product whose installed metadata version was < the metadata
> version on the filesystem, and for which there was a Generic Setup
> upgrade step whose "source" and "destination" tags matched: ie,
> upgrade steps that would be shown automatically in /portal_setup/
> manage_upgrades.
>
> Unfortunately, I have never yet got Plone to show me that button, and
> I always have to go to the portal_setup tool. So what else is needed
> for Plone to recognize that I have an update available?
> --
> derek
> _______________________________________________
> 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/20111202/a7e5105d/attachment.html>
More information about the Product-Developers
mailing list