wcm-io / io.wcm.caconfig.editor

Context-Aware Configuration Editor Template for AEM.
Apache License 2.0
3 stars 7 forks source link

Unable to publish/preview new assets when it is added to ca config #47

Open srikanthgurram-17 opened 4 weeks ago

srikanthgurram-17 commented 4 weeks ago

Hi @stefanseifert GoodDay

We have face below issue with ca config editor. we have tested this in 1.16.0 and 1.16.6 versions

steps to reproduce:

  1. upload new image or svg into AemaacS author and do not publish
  2. add this svg/image to a ca config via path field and save it.
  3. pubish/preview using quick publish or manage publication

Expected result : image/svg should be published and available in publish server along with config

Actual result: image is not published along with config. only config is published

Thanks in advance!

stefanseifert commented 3 weeks ago

currently, the is only one custom ReferenceProvider implemented: https://github.com/wcm-io/io.wcm.caconfig.extensions/blob/develop/src/main/java/io/wcm/caconfig/extensions/references/impl/ConfigurationReferenceProvider.java - which allows to publish caconfig together with publishing pages they affect.

there is currently not built-in support in AEM itself or our code that detects references to assets from caconfig. this would be a new feature. we'll have to look into it (or you can come up with a PR).

srikanthgurram-17 commented 12 hours ago

https://github.com/wcm-io/io.wcm.caconfig.extensions/pull/7