AnsweredAssumed Answered

Transform content bugs

Question asked by louise on Oct 24, 2008
Latest reply on Mar 11, 2009 by serverok
Alfresco Labs: Current version 3.0.0 (b 1164) schema 131 - Installed version 3.0.0 (b 1164) schema 131:

I'm working on a document and image transformation webscript (with JavaScript API) but i've got three troubles:

1. An unhandled DuplicateChildNodeNameException received when a target node name already exists, not just a null return!

Why? How can i handle this exception by webscript?

2. When a transformation error presents - transformDocument or transformImage returns with null - output node with new name already created, and contains the content of the source node!

Why? How can i receive the node id to remove?

3. Transformation requires an installed, and configured in Alfresco, but the relaunch of - an exited - OOo is not works, just avoid upcoming transformation processes!

Why? What is the main function of OpenOfficeConnectionTester if that does not reload OpenOffice service?

Source code of the content transform webscript for Alfresco: