Export space to PDF or HTML fails if the space has attachments

XMLWordPrintable

    • 3

      Trying to export space to PDF or HTML format with remote API : String exportSpace(String token, String spaceKey, String exportType).

      It works when a space does not contain any attachments. However, it fails when a space has attachments and getting this error:

      Exception in thread "main" AxisFault
       faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
       faultSubcode: 
       faultString: org.springframework.transaction.UnexpectedRollbackException: Transaction has been rolled back because it has been marked as rollback-only
       faultActor: 
       faultNode: 
       faultDetail: 
      	{}faultData:<cause xmlns:ns2="http://lang.java" xsi:nil="true" xsi:type="ns2:Throwable"/><message xsi:type="xsd:string">Transaction has been rolled back because it has been marked as rollback-only</message>
      	{http://xml.apache.org/axis/}hostname:cw11
      
      

      The problem does not occur when exporting space in XML format.

            Assignee:
            Unassigned
            Reporter:
            Tony Cheah Tong Nyee [Atlassian]
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: