iamjackg / md2cf

Convert and upload Markdown documents to Confluence
MIT License
91 stars 49 forks source link

Title Checking is Case Sensitive but Confluence Page Uniqueness is Insensitive #102

Open Deastrom opened 1 year ago

Deastrom commented 1 year ago

Got a good error when running this tool on my repo for "identical titles".

These are the documents (and path, if available) with identical titles:

BUT....

If the title and the path are different based on case, it makes it through the smoke test, and fails in upload.

Screenshot 2023-08-14 104355

b'{"statusCode":400,"data":{"authorized":true,"valid":true,"errors":[],"successful":true},"message":"com.atlassian.confluence.api.service.exceptions.BadRequestException: A page with this title already
exists: A page already exists with the same TITLE in this space"}'