| From | Sent On | Attachments |
|---|---|---|
| Martin Aspeli | Feb 26, 2009 6:19 pm | |
| Hanno Schlichting | Feb 27, 2009 2:54 am | |
| Martin Aspeli | Feb 27, 2009 2:59 am | |
| Hanno Schlichting | Feb 27, 2009 3:25 am | |
| Martin Aspeli | Feb 27, 2009 3:47 am | |
| Matthew Wilkes | Feb 27, 2009 3:53 am | |
| Ricardo Alves | Feb 27, 2009 4:18 am | |
| Wichert Akkerman | Feb 27, 2009 4:59 am | |
| Hanno Schlichting | Feb 27, 2009 5:09 am | |
| Martin Aspeli | Feb 27, 2009 5:29 am | |
| Daniel Nouri | Feb 27, 2009 5:35 am | |
| Chris Rossi | Feb 27, 2009 6:34 am | |
| Ricardo Alves | Feb 27, 2009 6:39 am | |
| Wichert Akkerman | Feb 27, 2009 7:48 am | |
| Rob Miller | Feb 27, 2009 11:25 am | |
| Maurits van Rees | Feb 28, 2009 2:19 pm | |
| Hanno Schlichting | Mar 14, 2009 8:22 am | |
| Lennart Regebro | Mar 14, 2009 8:42 am | |
| Hanno Schlichting | Mar 14, 2009 9:06 am | |
| Gilles Lenfant | Mar 14, 2009 11:33 am | |
| Martin Aspeli | Mar 14, 2009 11:33 pm | |
| Wichert Akkerman | Mar 14, 2009 11:51 pm | |
| Alexander Limi | Mar 16, 2009 4:47 am |
| Subject: | Re: [Plone-developers] QuickInstaller kills local utilities upon product re-install | |
|---|---|---|
| From: | Martin Aspeli (opti...@gmail.com) | |
| Date: | Feb 27, 2009 2:59:30 am | |
| List: | net.sourceforge.lists.plone-developers | |
Hanno Schlichting wrote:
Martin Aspeli wrote:
If you have a local utility installed using componentregistry.xml with the 'factory' option, it will be overwritten with a new one (and any data stored in it lost) when you re-install a product. This sucks.
I notice http://dev.plone.org/plone/ticket/8410, and I see Hanno's point: storing data in the registration is probably not the best idea, nor is the re-install butting generally safe and the whole of portal_quickinstaller should die.
[...]
However, stomping on registrations and deleting data is bad, no matter what reasons that data was there in the first place.
What do you expect to happen if you ask someone to uninstall? It deletes data, that's its whole point. Reinstall means uninstall + install, you use it if you seriously screwed something and want to start from scratch.
Actually, I use it all the time during development, to get changes to my GS profile installed. I don't want to lose my persistent utility state just because of that.
The re-install button is there now, and people use it all the time.
I consider removing the reinstall button and not encouraging its use a possible workaround.
I don't think we can do that in 3.x, which means that I still think my workaround is better than yours. ;-)
Another option may be to have the re-install button attempt no uninstall whatsoever, and just re-run the installation. I think people expect to have to "uninstall" and then "reinstall" if they really want to get back to ground zero. I bet most people expect "re-install" to indeed just install again.
Martin
-- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ Plone-developers mailing list Plon...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plone-developers





