I guess what he meant was that you cannot, for instance, set property "myprop" to "newval" while doing a "copy" operation - something which could be very useful. Both "copy" and "move" operations could potentially handle other parameters as properties to set in the same way as not specifying an operation.
"To select the actual operation to execute, the :operation request parameter is used." doesn't automatically say that other properties will be ignored. Best regards, Erik Buene 2010/3/31 Alexander Klimetschek <[email protected]> > On Tue, Mar 30, 2010 at 22:15, Ray Davis <[email protected]> wrote: > > All operations performed by the SlingPostServlet are mutually exclusive. > In > > particular, a request which moves a node or copies a node cannot change > or > > add a property of that node. > > ... > > When I stop to think about it, this seems OK. But since it's not > completely > > obvious at first glance and since ignored properties aren't called out in > > log messages, would someone with site edit access mind documenting the > > restriction at > > " > http://sling.apache.org/site/manipulating-content-the-slingpostservlet.html > "? > > It currently says: > "To select the actual operation to execute, the :operation request > parameter is used." > > Regards, > Alex > > -- > Alexander Klimetschek > [email protected] >
