jackalope-jackrabbit clone nodes between workspaces

32 views
Skip to first unread message

David Buchmann

unread,
Mar 26, 2013, 10:42:50 AM3/26/13
to jackal...@googlegroups.com, symfony-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

thanks to lars, jackalope-jackrabbit we now supports the cloneFrom and
update methods to create copies of a node in another workspace and
synchronize it back. i just tagged 1.0.0-alpha3

this could be one way to handle a draft system without needing versions.

cheers,david
- --
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRUbPmAAoJED/JtliXIA4sYFAIAJq1j2kIhUc/G8Pn9TO65AQj
bCPnxGsnorqky+3ucBipiwmBlTonA5tpgxGGmaSsbkQNfKIMHvBJjJLfUWZBc6G9
RP9Dkya1dpxwXgfN0GpSFYY0vu1Ja0vqwJkANiH4Cbyxl7Qo2bggl6kDidG6GaLq
IO578RTstLqIihdEyk4cPpUBil8Dhywuk1evl2osDwZELZ95gqcweo3ZXWHv3glZ
j1PoT4f6+pMReysY8Tuilzb0kS0ZC6EbTbycCQTMNkL9msPW9l2CmfiAYeUCuhel
Nb6QVXHDZhwJThRP2MvCvZ6M2M4ez2RRuAGsnC1bmYvHu2RpndXRCtbhLwu/Pl8=
=LukK
-----END PGP SIGNATURE-----

Lars Janssen

unread,
Mar 26, 2013, 1:17:33 PM3/26/13
to symfony-...@googlegroups.com, jackal...@googlegroups.com
Thanks David. :)

The only caveat with this approach is that updating a cloned node affects all descendants of the node. Potentially useful, but not always wanted. My posting on the Jackrabbit list explains the issue in more detail:


Hopefully someone can come up with a way to control the 'cascade' behaviour of an update (perhaps through node type definitions), or it can be added to a future JCR version...
Reply all
Reply to author
Forward
0 new messages