publishToConfluence: Fix comparision error for titles with leading/trailing white spaces #1246
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix a problem with different compare results of "pageExists" between docToolchain and Confluence.
If the title of a page has trailing or leading spaces it will be removed by Confluence on upload. This leads to different results for the comparison in docToolchain == "No" and Confluence == "Yes".
This in turn triggers an upload of the page to Confluence - where it is rejected. Finally the user gets a
"A page with this title already exists: A page already exists with the title <TITLE> in the space with key
please check the ancestorId in your config file"
All Submissions:
changelog.adoc
?The source of the documentation can be found in
/src/docs/
.If you didn't find the time to update docs, please create an issue as reminder to do so.
Your first submission
inspiration: https://github.com/stevemao/github-issue-templates