Re: Renaming / moving a folder with a lot of content : warning the user
Luca Fabbri <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAGfGq=ZDsNSpz4RdOKBAWE8E_8ecv0RWCXcTX0wTjhta+GK8ig@mail.gmail.com> |
On Fri, Dec 6, 2013 at 12:21 PM, Guido Stevens <[email protected]> wrote: > On 06/12/13 12:06, thomas desvenain wrote: >> Hi, >> >> Zope allows us to move folders with a lot of contents with very low >> risk... except about computation time, because of catalog reindexation. >> >> On many projects, we had user worried because they got a "proxy error" >> when they do such an action which seems very common for them. >> >> What do you think about displaying a warning when a user "Copy" or >> "Rename" a folder with many subcontents ? > > Or even better: set a modal that says "operation in progress" which ajax > polls the backend to see when it starts responding again, and meanwhile > shows an incrementing timer to keep the user busy. The tricky part is do > do that in a way that is multi-instance loadbalancing safe. > You need also to check for too-many conflict error, when moving folders fails. I'm wondering if Plone is still reindexing all of the object data instead of path-related info only, or not. -- -- luca twitter: http://twitter.com/keul linkedin: http://linkedin.com/in/lucafbb blog: http://blog.keul.it/ ------------------------------------------------------------------------------ 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