When copying a page with image to another space, an error is displayed in the copied page

Description

Prerequisites:

  • Space with 2 languages

  • Blank space without languages activated

Steps to reproduce:

  1. Create a new page in the space with Translations > add a sentence and upload an image > save the page

  2. Switch the language > add a sentence and upload another image > save the page

  3. Click on Page Tools > Copy > Choose another space without languages > click Copy > Publish

Expected result:
The page with the content in the default language is displayed

Actual result:
An error such as below is displayed:
Error: [com.ctc.wstx.exc.WstxLazyException] Unexpected close tag ; expected . at [row,col

{unknown-source}

]: [1,1092]

If we copy a translated page from one space into another space, it's not clear which languages should be copied into the target space.

Following cases are important to clear:

  1. Copying into the space with completely new languages: e.g. source space (english (default), german), target space (french (default))

  2. The languages in the target space are only a subset of the languages in the source space: e.g. source space (english (default), german, french), target space (english (default), german)

  3. The languages in the source space are only a subset of the languages in the target space: e.g. source space (english (default), german), target space (english (default), german, french)

  4. Copying into the space with another default language: e.g. source space (english (default), german), target space (german (default), english)

  5. The intersection of the languages of the source and target space is not empty and is not equals either to source nor to target space: e.g. source space (english (default), german, french), target space (german (default), russian, ukraine)

  6. Copying of translated pages into unmanaged space (no versions, no permalink, no translations): should we copy the whole content with macros?

  7. Copying of translated pages into versioned space (no translations): should we also copy the whole content with macros? Should we expect a versioned page after saving?

Environment

Confluence 6.2.4, 6.11.0

Status

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

None

Participants

None

Deployment

None

Components

Affects versions

Configure