Hi, I understand the problem, but I do not understand the patch. Could you explain, please?
Oliver On Fri, 3 Dec 2004 10:31:44 +0100, Honor� David N. <[EMAIL PROTECTED]> wrote: > Hello, > > We are working on an opensource Document management system named Dissco > (http://www.meteo.be/DISSCO/) > > Dissco is heavily based on Slide, and working on it, I found a bug in the copy > Macro. > > This bug prevent from copying a "read-only" file. > > macro copy is done by the 3 following step. > 1) create the new node > 2) copying permissions > 3) copying content and properties > > ... and it should be ... > 1) create the new node > 2) copying content and properties > 3) copying permissions > > ... because, if you copy the permission > [node, subject=all, action=/actions/write-content, negative=true] before > copying content, it throw an AccessDeniedException. > > You'll find a patch as attachement. > You can also find a testcase ilustrating the bug. > > -- > Honor� David > > ---------------------------- > "They don't make bugs like Bunny anymore." --Olav Mjelde > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
