Open efoken opened 6 years ago
Seems fine to me, but I had to remove the award
field because I don't have your fieldtype.
Does it work if you remove the award field?
Ah seems to be something with too long filenames.
Before:
header_image: >
/assets/world-design-guide/our-awards/professional-awards/taipei-cycle-di-awards-2018/benefits/benefit-detailseite/tpc-benefit-detail-logo.jpg
With Symfony Yaml, deleted and re-selected the asset:
header_image: /assets/world-design-guide/our-awards/professional-awards/taipei-cycle-di-awards-2018/benefits/benefit-detailseite/tpc-benefit-detail-logo.jpg
I found out that longs strings previously saved using a >
are outputted with a linebreak at the end after switching to the Symfony Yaml parser – and that's the issue why the preview does not work anymore.
Describe the bug We different fieldsets including the default fieldset as a partial. But if we do switch the Yaml parser to Symfony, the preview of asset fields does not work anymore – see screenshots.
To Reproduce
default.yaml
andaward.yaml
.award
fieldset.system.yaml
tosymfony
Expected behavior Preview should appear.
Screenshots Without Symfony Yaml:
and with:
Environment details (please complete the following information):