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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2006 03:39 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2006 05:15 PM
nevermind… there was a transaction I was within and an exception was causing a rollback… 😐
