Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage Format XHTML for home #131

Closed
hjuergens opened this issue Jan 3, 2017 · 13 comments
Closed

Storage Format XHTML for home #131

hjuergens opened this issue Jan 3, 2017 · 13 comments
Assignees

Comments

@hjuergens
Copy link

The XHTML format (see storageformat_guide) seemed unsupported.
<site> <home uri="xhtml/mydoc.xhtml" name="pagename"> </site>
I get the one-on-one replication of the mydoc.xhtml on the page. E.g. <ac:link> instead of a link.

@bsorrentino
Copy link
Owner

Hi

Which version are you using ... ? the last one ?

@bsorrentino
Copy link
Owner

I've tested following page against last release and all seems work well

@hjuergens
Copy link
Author

Running into above problem with Release 5.0-rc1 from MAVEN CENTRAL also with your example page.
Also strange: the expression <![CDATA[got to home]]>in storageFormat.xhtml becomes

<![CDATAgot to home]>

on the confluence page, missing the inner square brackets.

@hjuergens
Copy link
Author

Oops. Wrong button

@hjuergens hjuergens reopened this Jan 4, 2017
@bsorrentino
Copy link
Owner

Which version of confluence are you using ?

@bsorrentino
Copy link
Owner

bsorrentino commented Jan 6, 2017

I confirm that testing page on confluence 5.10.0 all seems work well

To test I use module maven-confluence-test running task mvn confluence-reporting:deploy@local

@hjuergens
Copy link
Author

Giving up on Confluence 6.0.1 (data-aui-version="5.10.1"??) while getting message
error generating report: unexpected port: -1 using module maven-confluence-test running
task mvn confluence-reporting:deploy@local

@bsorrentino
Copy link
Owner

bsorrentino commented Jan 11, 2017

Such error looks a bit weird ... it isn't related to storage format but seems mostly related to configuration. I'll investigate on, could your share the stacktrace please?

However, about Storage Format issue, I'll try with 6.0.1

@bsorrentino
Copy link
Owner

Seems that the problem: error generating report: unexpected port: -1 should be related to getting port from URL parsed using given end point and passed to OkHttp3.HttpUrl.Builder()

To simplify diagnosis and fix it, could you share your endpoint ?

@bsorrentino
Copy link
Owner

Can you retry using module maven-confluence-test running
task mvn confluence-reporting:deploy@local on version 5.0-SNAPSHOT ?

Thanks in advance

@bsorrentino
Copy link
Owner

I have tested storageFormat.xhtml page on confluence 6.0.1 and all seems work well

To test I use module maven-confluence-test running task mvn confluence-reporting:deploy@local

@hjuergens
Copy link
Author

Sorry, can't reproduce error on maven-confluence-test. Instead getting a
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only.

My endpoints are of the form
<endPoint>https://intranet/confluence/rpc/xmlrpc</endPoint> or
<endPoint>https://intranet/confluence</endPoint>

@bsorrentino
Copy link
Owner

bsorrentino commented Jan 17, 2017

In my experience the error: Transaction rolled back because it has been marked as rollback-only is raised when there is another page in another space or in different parent that has the same title of one that you are trying to generate.

Hope this help

bsorrentino added a commit that referenced this issue Jan 18, 2017
bsorrentino added a commit that referenced this issue Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants