yes, there is:
// adjust mixins
QName[] mixinNames = freeze.getFrozenMixinTypes();
setMixinTypesProperty(new HashSet(Arrays.asList(mixinNames)));
regards, toby
On 3/27/07, HarveyWaters <[EMAIL PROTECTED]> wrote:
I can see in the restoreFrozen state function of NodeImpl that any properties
that are not in the node being restored are removed. There doesn't however
appear to be anything to remove mixinTypes that are no longer in the
restored node. Consequently a constraint violation is thrown for any mixin
types within mandatory properties. Is this right or am I missing something ?
--
View this message in context:
http://www.nabble.com/Restore-throws-a-ConstraintViolationException-tf3472710.html#a9691232
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.
--
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---