docToolchain / docker-image

MIT License
3 stars 18 forks source link

ancestorId is not taken into account #13

Open Simon-at-work opened 4 years ago

Simon-at-work commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 3 years ago

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 commented 3 years ago

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.