Re: [Zope-CMF] Re: undo_form -> no content
Sam Brauer wrote at 2005-7-29 08:19 -0700: >I've recently encountered a similar problem, and I'm >not using Plone. I'm in the process of migrating some >CMF sites to Zope 2.7.7 and CMF 1.5.2, from Zope >2.7.2 and CMF-1.4.8. >With the newer software, I find that users who are >defined in the site's acl_users (even with the Manager >role) never see any transactions listed on the >undo_form, while users defined in the main acl_users >at the root of the zope instance do see transactions >listed. I remember (faintly) to have read in this list that there have been recent changes with respect to "undo" that break the CMF. Please search the archive... -- Dieter ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] Re: undo_form -> no content
I think this is actually a bug in Zope. I added some logging statements to UndoTool.py and found that the transactions list returned by portal.undoable_transactions() was empty for users not defined in the root acl_users. I then googled for "zope 2.7 undo acl_users" and found this: http://www.zope.org/Collectors/Zope/1810 I applied the patch, and it seems to fix the problem I had. I wonder if this is a proper fix, or if there may be some unintended side-effects. I'm tempted to go with it, although instead of changing the Prefix.py file itself, I think I'll write a little monkey-patch to replace the __cmp__ method at runtime. --- Sam Brauer <[EMAIL PROTECTED]> wrote: > I've recently encountered a similar problem, and I'm > not using Plone. I'm in the process of migrating > some > CMF sites to Zope 2.7.7 and CMF 1.5.2, from Zope > 2.7.2 and CMF-1.4.8. > With the newer software, I find that users who are > defined in the site's acl_users (even with the > Manager > role) never see any transactions listed on the > undo_form, while users defined in the main acl_users > at the root of the zope instance do see transactions > listed. > > I'm digging into it now and will report back if I > make > any progress. By the way, I also tried with Zope > 2.8.0-final and 2.8.1b1, and got the same behaviour > with those (plus some other unrelated issues that > made > me decide to back down to Zope 2.7.7 for now). > > - Sam > > > > --- David Chandek-Stark <[EMAIL PROTECTED]> wrote: > > > Dieter Maurer wrote: > > > David Chandek-Stark wrote at 2005-7-27 16:10 > > -0400: > > > > > >>Sorry, this is a Plone site. There is a Plone > skin > > template undo_form > > >>which calls > > > container.portal_undo.listUndoableTransactionsFor(here) > > to > > >>get the undoable transactions. > > > > > > > > > Not sure, whether Plone uses its own "UndoTool". > > > > AFAIK, Plone's undo_tool and > > listUndoableTransactionsFor() method are > > derived from the underlying CMF (1.4.7) and/or > Zope > > (2.7.6-final/Python > > 2.3.4). Again, I suspect the problem is related to > > the fact that my user > > folder (RemoteUserFolder 0.4) is outside the > > CMF/Plone site -- i.e., > > it's in the parent folder of the Plone site > object. > > I thought that it > > might be caused by Plone's dependency on > > GroupUserFolder -- but clearly > > CMF and Plone allow you to use a higher level user > > folder for members, > > so that shouldn't be a problem. > > > > > > > > The CMFCore "UndoTool" should show a user with > the > > "ManagePortal" > > > permission the same undoable transactions as the > > "Undo" tab > > > of the portal's ZMI page. > > > Other users will only see their own > transactions. > > > > > > > Thanks, > > David > > > > ___ > > Zope-CMF maillist - Zope-CMF@lists.zope.org > > http://mail.zope.org/mailman/listinfo/zope-cmf > > > > See http://collector.zope.org/CMF for bug reports > > and feature requests > > > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > ___ > Zope-CMF maillist - Zope-CMF@lists.zope.org > http://mail.zope.org/mailman/listinfo/zope-cmf > > See http://collector.zope.org/CMF for bug reports > and feature requests > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] Re: undo_form -> no content
I've recently encountered a similar problem, and I'm not using Plone. I'm in the process of migrating some CMF sites to Zope 2.7.7 and CMF 1.5.2, from Zope 2.7.2 and CMF-1.4.8. With the newer software, I find that users who are defined in the site's acl_users (even with the Manager role) never see any transactions listed on the undo_form, while users defined in the main acl_users at the root of the zope instance do see transactions listed. I'm digging into it now and will report back if I make any progress. By the way, I also tried with Zope 2.8.0-final and 2.8.1b1, and got the same behaviour with those (plus some other unrelated issues that made me decide to back down to Zope 2.7.7 for now). - Sam --- David Chandek-Stark <[EMAIL PROTECTED]> wrote: > Dieter Maurer wrote: > > David Chandek-Stark wrote at 2005-7-27 16:10 > -0400: > > > >>Sorry, this is a Plone site. There is a Plone skin > template undo_form > >>which calls > container.portal_undo.listUndoableTransactionsFor(here) > to > >>get the undoable transactions. > > > > > > Not sure, whether Plone uses its own "UndoTool". > > AFAIK, Plone's undo_tool and > listUndoableTransactionsFor() method are > derived from the underlying CMF (1.4.7) and/or Zope > (2.7.6-final/Python > 2.3.4). Again, I suspect the problem is related to > the fact that my user > folder (RemoteUserFolder 0.4) is outside the > CMF/Plone site -- i.e., > it's in the parent folder of the Plone site object. > I thought that it > might be caused by Plone's dependency on > GroupUserFolder -- but clearly > CMF and Plone allow you to use a higher level user > folder for members, > so that shouldn't be a problem. > > > > > The CMFCore "UndoTool" should show a user with the > "ManagePortal" > > permission the same undoable transactions as the > "Undo" tab > > of the portal's ZMI page. > > Other users will only see their own transactions. > > > > Thanks, > David > > ___ > Zope-CMF maillist - Zope-CMF@lists.zope.org > http://mail.zope.org/mailman/listinfo/zope-cmf > > See http://collector.zope.org/CMF for bug reports > and feature requests > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] Re: undo_form -> no content
Dieter Maurer wrote: David Chandek-Stark wrote at 2005-7-27 16:10 -0400: Sorry, this is a Plone site. There is a Plone skin template undo_form which calls container.portal_undo.listUndoableTransactionsFor(here) to get the undoable transactions. Not sure, whether Plone uses its own "UndoTool". AFAIK, Plone's undo_tool and listUndoableTransactionsFor() method are derived from the underlying CMF (1.4.7) and/or Zope (2.7.6-final/Python 2.3.4). Again, I suspect the problem is related to the fact that my user folder (RemoteUserFolder 0.4) is outside the CMF/Plone site -- i.e., it's in the parent folder of the Plone site object. I thought that it might be caused by Plone's dependency on GroupUserFolder -- but clearly CMF and Plone allow you to use a higher level user folder for members, so that shouldn't be a problem. The CMFCore "UndoTool" should show a user with the "ManagePortal" permission the same undoable transactions as the "Undo" tab of the portal's ZMI page. Other users will only see their own transactions. Thanks, David ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] CMF Collector: Open Issues
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/CMF). Assigned and Open efge - "CMFSetup: provide non-ascii im- and exports", [Accepted] http://www.zope.org/Collectors/CMF/292 - "CMFSetup doesn't correctly detect DCWorkflow on export", [Accepted] http://www.zope.org/Collectors/CMF/298 jens - "Confusing date criteria in CMFTopic", [Accepted] http://www.zope.org/Collectors/CMF/339 - "FSPropertiesObject.py cannot handle multiline input for lines, text attributes", [Accepted] http://www.zope.org/Collectors/CMF/271 mhammond - "Windows DevelopmentMode penalty in CMFCore.DirectoryView", [Accepted] http://www.zope.org/Collectors/CMF/366 mj - "CMFSetup doesn't correctly detect DCWorkflow on export", [Accepted] http://www.zope.org/Collectors/CMF/298 Pending / Deferred Issues - "Debuggable scripts", [Deferred] http://www.zope.org/Collectors/CMF/194 - "CMFCalendar weekday locale issue", [Pending] http://www.zope.org/Collectors/CMF/237 - "CMFCalendar: Events ending on midnight", [Pending] http://www.zope.org/Collectors/CMF/246 - "Wrong cache association for FSObject", [Pending] http://www.zope.org/Collectors/CMF/255 - "CMFSetup: Windows exports contain CR/LF, LF and even CR newlines", [Pending] http://www.zope.org/Collectors/CMF/266 - "PortalCatalog.ZopeFindAndApply should probably also search in opaqueItems", [Pending] http://www.zope.org/Collectors/CMF/296 - "WorkflowTool should recurse into opaqueItems", [Pending] http://www.zope.org/Collectors/CMF/297 - "add External Methods to workflow script handling", [Pending] http://www.zope.org/Collectors/CMF/329 - "Can't invalidate skin items in a RAMCacheManager", [Pending] http://www.zope.org/Collectors/CMF/343 - "reconfig_form page fails", [Pending] http://www.zope.org/Collectors/CMF/364 Pending / Deferred Features - "Favorite.py: queries and anchors in remote_url", [Pending] http://www.zope.org/Collectors/CMF/26 - "Allow flexible date editing in Event.py (CMFCalendar)", [Pending] http://www.zope.org/Collectors/CMF/40 - "Topic should be catalogued", [Pending] http://www.zope.org/Collectors/CMF/53 - "DefaultDublinCore should have Creator property", [Pending] http://www.zope.org/Collectors/CMF/61 - "Make changeFromProperties accept sequences too", [Pending] http://www.zope.org/Collectors/CMF/99 - "path criteria on Topic should honor VHM", [Pending] http://www.zope.org/Collectors/CMF/111 - "Document.py: universal newlines", [Pending] http://www.zope.org/Collectors/CMF/174 - "Permissions in PortalFolder: invokeFactory()", [Pending] http://www.zope.org/Collectors/CMF/175 - "Add condition for transition's action like other action", [Pending] http://www.zope.org/Collectors/CMF/207 - "Major action enhancement", [Pending] http://www.zope.org/Collectors/CMF/232 - "portal_type is undefined in initialization code", [Pending] http://www.zope.org/Collectors/CMF/248 - "Action._listsActions() should be more safe", [Pending] http://www.zope.org/Collectors/CMF/253 - "FSZSQLMethod.py", [Pending] http://www.zope.org/Collectors/CMF/273 - "Expose Document text_format metadata", [Pending] http://www.zope.org/Collectors/CMF/285 - "customization of type of homefolder on creation", [Pending] http://www.zope.org/Collectors/CMF/288 - "Allow contentFilter to use review_state", [Pending] http://www.zope.org/Collectors/CMF/294 - "CMFTopic Does Not Cache", [Pending] http://www.zope.org/Collectors/CMF/295 - "Wishlist: a flag that tags the selected action.", [Pending] http://www.zope.org/Collectors/CMF/301 - "CMFDefault should make use of allowCreate()", [Pending] http://www.zope.org/Collectors/CMF/340 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests