kovetskiy / mark

Sync your markdown files with Confluence pages.
https://samizdat.dev
Other
972 stars 143 forks source link

Confusing Page Hierarchy #430

Open coler-j opened 4 months ago

coler-j commented 4 months ago

What happened?

Attempting to publish a page, page meta is:

<!-- Space: ENG -->
<!-- Parent: System Documentation -->
<!-- Parent: Services -->
<!-- Title: Page Title -->
<!-- Label: services -->
<!-- Label: page-title-label -->

I get an error and the expected root page does not exist

> Sync ./README.md
2024-03-08 15:23:15.007 INFO  processing ./README.md
2024-03-08 15:23:15.929 FATAL unable to resolve page
                              └─ unexpected ancestry tree, did not find expected parent page in the tree
                                 ├─ expected parent: System Documentation
                                 ├─ list: Engineering Home; Teams; [....bunch of pages which are all at different levels]
                                 └─ title: Page Title

What did you expect to happen?

I would expect the new parent pages to either be created or updated.

How can we reproduce the behavior you experienced?

Steps to reproduce the behavior:

See problem description

Further Information (please complete the following information)