Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
Context / how to reproduce
Page 'test-publish-variants' - which has no variants - has been published.
After that, on AUTHOR variants were added.
Then bootstraps are created of the version with variants from AUTHOR and from the version without variants from PUBLIC.
This setup was used to test publishing of page-variants.
I have renamed both files to have them in same resources directory, and to make it easy to recognize the right file.
Files:
(a) website.test-publish-variants-PUBLIC-no-variants.yaml
(b) website.test-publish-variants-AUTHOR-with-variants.yaml
On File (b) I had to remove some jcr-properties (with the help of Roman).
Both files can be imported manually via UI. But only one of the file can be imported programmatically (via @Fixture).
@Fixture(fixtureFile = "website.test-publish-variants-PUBLIC-no-variants.yaml", repository = "website", instances = { DIRECT_PUBLIC })
this works
@Fixture(fixtureFile = "website.test-publish-variants-AUTHOR-with-variants.yaml", repository = "website")
This fails
Renaming the one file (from author) - giving the "original name" - fixes the issue:
@Fixture(fixtureFile = "website.test-publish-variants.yaml", repository = "website")
this works
Developer note:
Roman assumes the problem is in DataTransporter - line 466