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

ancestorId is not taken into account #13

Open
Simon-at-work opened this issue Oct 7, 2020 · 4 comments
Open

ancestorId is not taken into account #13

Simon-at-work opened this issue Oct 7, 2020 · 4 comments

Comments

@Simon-at-work
Copy link

Simon-at-work commented Oct 7, 2020

We have the docker container running and want to publish to confluence.

When I use the container to publish the pages they will always be created in the root hierarchy of the confluence space instead of under the ancestorId.

If I use doctoolchain directly after cloning the repository the publishToConfluence works fine and the pages will be created at the desired ancestor.

This is even logged by doctoolchain itself (notice the missing /pages/....)

image

image

@rdmueller
Copy link
Member

I think we once had a bug where you have to specify the ancestor ID as string in the config, not as number. Could you please give this a try?

@Simon-at-work
Copy link
Author

Simon-at-work commented Oct 8, 2020

It is already a string but I will try with a number instead and see what happens

edit: tried ancestorID as number with same result as with string

@rdmueller
Copy link
Member

we now have a new docker image and we plan to updated it on a regular basis so that it matches the current doctoolchain version.

could you please try see if this is fixed now?

@CruCo
Copy link

CruCo commented Oct 19, 2021

I noticed that it does only work if the ancestorId is specified as a string.

I tried it with ancestorId=12345 in my docToolchainConfig.groovy file and it failed with the following error message:
Bildschirmfoto 2021-10-19 um 12 18 12

If I use ancestorId='12345' everthing works as expected.

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

No branches or pull requests

3 participants