cancel
Showing results for 
Search instead for 
Did you mean: 

Can't get new nodes to stick... transaction commit?

csiege
Champ in-the-making
Champ in-the-making
Hi,

I am adding some functionality to create user folders during an LDAP Import / Sync.

Maybe not the best way, but for now this is how I am doing this…  during the generation of the XML export file I am creating the user home folders (spaces) so that they will exist when the XML file is imported.

I think everything is setup correctly.  I get no exceptions and seem to be able to get the nodes created, but there must be some commit operation I am missing, because their life span seems to end immediatly after a method call.

Is there something simple I am missing.  I figured if I didn't start a transaction, then the nodeService.createNode call would commit immediately.

Thanks.

Chris
1 REPLY 1

csiege
Champ in-the-making
Champ in-the-making
nevermind… there was a transaction I was within and an exception was causing a rollback… 😐