Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I keep getting errors when i copy pages with images

Deleted user February 15, 2018

I copied a tree from one space to another and it seemed to work. But when I open a page that has images in the new space I get the following error: 

Error: [com.ctc.wstx.exc.WstxLazyException] Unexpected close tag ; expected . at [row,col {unknown-source}]: [11,741]

When I try to edit the page, I see all the content properly in the Edit screen and i can edit it, but when I save or preview, all I get is the error.

Note: the tree has been translated with the ‘Sv translation’ macro. I don't know if this makes a difference.

Does anyone have a solution?

1 answer

0 votes
Nils Bier _K15t_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2018

Hi Ben,

This looks like an issue with the storage format of the page.

To further investigate, it would be great if you could reach out to us via support@k15t.com, providing additional information:

  • Information about which page (name) has been copied and how you copied it to the other space)
  • XML exports of both the original space, and the space you copied the content to

Please let us know via the email provided above, if the XML exports are larger than 20mb, so we can send you an alternative link to upload the space export (as the attachment size of our support system is limited to 20mb).

Best,
Nils

Deleted user February 15, 2018

Hi Nils,

I can't send you copies of the pages since they contain proprietary information, but I can tell you how I copied them:

First I created a new space to receive the copied tree (Spaces > Create Space).

In the top level page of the tree I clicked the ... button in the upper right and selected Copy Page Tree. Then I entered the target space (the new one I created) and followed the instructions on screen.

It looked like it all copied correctly, the tree and pages apear properly in the new space, but pages with images only display the error (though their content appears properly when I open the page for editing).

roman
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2018

Hi Ben.

The issue is most likely related to a broken storage format. Even though you everything is displayed correctly in the Editor, there could be extra or non-closed XML tags in the storage format.

If you want us to resolve the issue, we would need the storage format of the page with the error. To view the storage format go to Page Tools → View Storage Format. You can send the content to support@k15t.com if you can't share that page publicly.

Alternatively, you could try to resolve this problem yourself by inspecting the XML code of that page with Source Editor. After you install the app, edit the problematic page → there will be a new icon in the top right corner, click on it → look at the line 11, character number 741 (from left) to see the place in the XML code that Confluence complains about.

Cheers,
Roman.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events