-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
1.4.4
-
None
-
linux kernel 2.6.11-1.1369_FC4smp
Fedora Core 4 with JDK 1.4.2_08-b03
running the app as a WAR
Apache Tomcat/5.0.28
jspwiki-exporter is 1.4.1b
Not sure if anyone has used the jspwiki utility recently and on recent builds of Confluence, but I'm unable to get a valid import from a JSPWiki export.
I've simplified things down to just attempting to export and import the test wiki that comes with the jspwiki-exporter source. I edited that jspwiki.properties file so that it was pointing the frontPage at the TextFormattingRules page, and had absolute paths to the base dir and attachment dir. Manual inspection of the entities showed that it had picked the pages up, but there was no home page for the space.
So, after exporting it and then importing it, there are lots of problems. I'll list the behavior I expected and the behavior I received on the things I checked out.
1) On the dashboard, click the link for the space
expected: go to the homepage for the imported space
actual: "the page you are looking for doesn't exist, etc etc"
2) Manually enter the URL for the TextFormattingRules page
expected: you get the page
actual: you get the page - so its partially working at least
3) Click the "Browse Space" link on the "Info" page of the TextFormattingRules page
expected: you go to the space browsing page, with a "Site Admin" link
actual: you get a blank page and this in the logs:
"2005-10-27 19:03:42,404 WARN [com.opensymphony.xwork.DefaultActionInvocation] No result defined for action com.atlassian.confluence.pages.actions.ListPagesAction and result input"
4) Manually enter the URL for the edit space action for the new space
expected: You get the space edit page so you can set a homepage
actual: you get a NullPointerException in the log while doing getSpaceName in the space velocity template
5) Edit the database to update the spaces table with the contentid for the TextFormattingRules page as the homepage for the new space
expected: The space will start working
actual: same errors, even after restarting tomcat and rebuilding indices etc
At this point, I'm not sure how to proceed. We're an enterprise confluence customer (and JIRA, incidentally) so I've got the source for confluence. I've also got the source for jspwiki-exporter. I'm willing to hack around a bit to fix this, but I'd like confirmation that you guys are able to actually use the exporter to export the test space and import a functioning space using that export.
If that works, then its environmental and I'll try to eliminate/isolate differences.
If that doesn't work, then can we collaborate to get this thing working? I've got a looot of content in a JSPWikis that's stopping me from going live with Confluence.
Thanks!