Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publishToConfluence broken when document contains internal links #1272

Closed
bkoziak opened this issue Oct 30, 2023 · 2 comments · Fixed by #1273
Closed

publishToConfluence broken when document contains internal links #1272

bkoziak opened this issue Oct 30, 2023 · 2 comments · Fixed by #1273

Comments

@bkoziak
Copy link

bkoziak commented Oct 30, 2023

Describe the bug
When document contains internal links (e.g. referencing other chapter in the same document) an error "No signature of method: asciidoc2confluence.realTitle() is applicable for argument types: (String) values: [XXXXX]" is returned when publishing to confluence.

It's most probably caused by this commit 0a49348#diff-482888e721c9d1420e27180e496df331ec3ed087abba262c5b927e15b9fc312e where some of the closures where rewritten to functions.

To Reproduce
Steps to reproduce the behavior:

  1. Create document with link from one chapter to another
  2. Try to publish it to confluence
  3. See error "No signature of method: asciidoc2confluence.realTitle() is applicable for argument types: (String) values: [XXXXX]"

Expected behavior
Successful publication to confluence

Configuration

  • docToolchain version: 3.0.2
@bkoziak
Copy link
Author

bkoziak commented Oct 30, 2023

I've opened a PR with a fix. Please review #1273

@PacoVK
Copy link
Collaborator

PacoVK commented Oct 31, 2023

Thanks for your work :) #1205 contains a similar fix and we'll likely release that soonish. I'll check prior to the release whether we merge or addthe fix to the PR in #1205 since this is a whole rewrite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants