You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
existing_page = confluence.update_page(
page=existing_page, # <-- We are passing existing_page with old title
body=page.body,
parent_id=page.parent_id,
update_message=page_message,
labels=page.labels if replace_all_labels else None,
minor_edit=minor_edit,
)
Outcome
Page title is never updated. This was my first observation and apparently if I am not wrong this is the implemented behaviour. We should either fix the readme or the code.
The text was updated successfully, but these errors were encountered:
Why
In readme it is described that https://github.com/iamjackg/md2cf/blob/master/README.md#updating-an-existing-page
Small investigation
According to the code got the update call:
https://github.com/iamjackg/md2cf/blob/master/md2cf/api.py#L195
And the upsert operation when the page exists:
https://github.com/iamjackg/md2cf/blob/master/md2cf/upsert.py#L100
Outcome
Page title is never updated. This was my first observation and apparently if I am not wrong this is the implemented behaviour. We should either fix the readme or the code.
The text was updated successfully, but these errors were encountered: