Outdated content reference in DB

  • 1
  • Problem
  • Updated 2 years ago
Dears,

We have two spaces: spaceA and spaceB. SpaceA is storing several pages that are being classified by using Scaffolding content-options macros referencing page titles on spaceB. For instance:
  • spaceB has pages with the following titles: elements, airwater, earth and fire. element is the parent page of the other four.
  • A page in spaceA has a content-option macro pointing to page elements and all the child page titles are shown as values for this field.
Everything works perfectly. The problem occurs when we try to export/import spaceA to another server with the same application. SpaceB is already imported on the other server and when we access the pages in the newly imported spaceA no classifications are being identified.

The issue here is that the ContentReference element in the DB is still pointing to the same IDs of the pages in the server from where the space was exported. We tried to update this value to the one matching the current page ID but there was no change on the page. If we select one of the values manually then it will show up.

Is there a way we can replace the old IDs with the ones matching the spaceB in the new server?

If I didn't explain myself clearly, let me know and I'll try to provide a better explanation.

Thank you.
Photo of Vitor

Vitor

  • 15 Posts
  • 0 Reply Likes
  • very anxious

Posted 2 years ago

  • 1
Photo of Suresh Mathusuthanan

Suresh Mathusuthanan, Alum

  • 117 Posts
  • 9 Reply Likes
Hi Vitor,

Please allow us some time to instigate your inquiry. We will get back to you with our findings. 

In meantime, can you please share the following :
  • Confluence version
  • Scaffolding version
Besides, we would like to confirm new server is of the same application and plugin version ?

Thank you.

Regards,
Suresh
Photo of Vitor

Vitor

  • 15 Posts
  • 0 Reply Likes

Hi Suresh,

we are using Confluence 5.6.6 and Scaffolding 7.5.1.

We also tried with new instances we are mounting with Confluence 5.10.4 and Scaffolding 8.7.12 and the result is the same.

Thank you.