[Zope-CMF] Unable to 'Undo'

Florent Guillaume fg@nuxeo.com
Sun, 21 Jul 2002 03:49:53 +0000 (UTC)


Carl Rendell  <cer@sol43.com> wrote:
> More research and testing reveals that there are three lines in the 
> CMFCore.UndoTool that are giving me [ is it just me? ] the 
> behavior - lines 114 - 116
> 
>          for tinfo in transaction_info:
>              if not xids.get( tinfo, None ):
>                  raise Unauthorized

Ok, the problem is that:
 - transaction ids contain "\n" (due to encode64)
 - they get passed to the user browser as checkboxes value=
 - when they return thay contain "\r\n" instead of "\n"

Bye,
Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com