DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40346

           Summary: uuid migration for default publication fails (OSX 10.4.7
                    java 1.5)
           Product: Lenya
           Version: Trunk
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Default Publication
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


After a clean checkout (rev 43802 date 060829) under osx java 1.5 I did the
following steps in order to convert the default pub to uuid

- ./build.sh
- ./build.sh --noconfig module.test -Dmodule=org.apache.lenya.modules.migration

The error(s) I get executing to above command:

Copying 1 file to
/Users/ragaller/lenya/lenya_14x/build/lenya/modules/org.apache.lenya.modules.migration/java/test
Running org.apache.lenya.cms.migration.MigrateUuidsTest
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set and the
node contains links. Returning path [/index] as UUID.
[WARNING] Node equals OwnerDocument: default:archive:
[WARNING] Node equals OwnerDocument: default:authoring:
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set and the
node contains links. Returning path [/index] as UUID.
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 23,643 sec
Testsuite: org.apache.lenya.cms.migration.MigrateUuidsTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 23,643 sec
------------- Standard Output ---------------
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set and the
node contains links. Returning path [/index] as UUID.
[WARNING] Node equals OwnerDocument: default:archive:
[WARNING] Node equals OwnerDocument: default:authoring:
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set and the
node contains links. Returning path [/index] as UUID.
------------- ---------------- ---------------
Testcase: testMigrateUuids took 19,505 sec
        Caused an ERROR
javax.xml.transform.TransformerException: java.io.FileNotFoundException:
file:/Users/ragaller/lenya/lenya_14x/build/lenya/webapp/lenya/pubs/default/content/rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
org.apache.lenya.cms.repository.RepositoryException:
javax.xml.transform.TransformerException: java.io.FileNotFoundException:
file:/Users/ragaller/lenya/lenya_14x/build/lenya/webapp/lenya/pubs/default/content/rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
        at
org.apache.lenya.cms.repository.SourceNode.isCheckedOut(SourceNode.java:171)
        at org.apache.lenya.cms.repository.SourceNode.lock(SourceNode.java:400)
        at
org.apache.lenya.cms.migration.MigrateUuidsTest.migrateDocument(MigrateUuidsTest.java:134)
        at
org.apache.lenya.cms.migration.MigrateUuidsTest.migrateArea(MigrateUuidsTest.java:91)
        at
org.apache.lenya.cms.migration.MigrateUuidsTest.migratePublication(MigrateUuidsTest.java:72)
        at
org.apache.lenya.cms.migration.MigrateUuidsTest.testMigrateUuids(MigrateUuidsTest.java:61)
Caused by: javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:/Users/ragaller/lenya/lenya_14x/build/lenya/webapp/lenya/pubs/default/content/rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:263)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:296)
        at
org.apache.lenya.xml.DocumentHelper.writeDocument(DocumentHelper.java:198)
        at org.apache.lenya.cms.rc.RCML.write(RCML.java:154)
        at org.apache.lenya.cms.rc.RCML.<init>(RCML.java:113)
        at
org.apache.lenya.cms.rc.RevisionController.isCheckedOut(RevisionController.java:170)
        at
org.apache.lenya.cms.repository.SourceNode.isCheckedOut(SourceNode.java:169)
        ... 42 more
Caused by: java.io.FileNotFoundException:
file:/Users/ragaller/lenya/lenya_14x/build/lenya/webapp/lenya/pubs/default/content/rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:253)
        ... 48 more

BUILD FAILED
/Users/ragaller/lenya/lenya_14x/src/targets/modules-build.xml:105: The following
error occurred while executing this line:
/Users/ragaller/lenya/lenya_14x/build/lenya/temp/modules-build.xml:1236: Test
org.apache.lenya.cms.migration.MigrateUuidsTest failed

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to