Caconfig Editor is not publishing child nodes for collections | Community
Skip to main content
Level 2
March 7, 2023

Caconfig Editor is not publishing child nodes for collections

  • March 7, 2023
  • 1 reply
  • 2498 views

I have caconfig editor package as a maven dependency

 

<dependency>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor.package</artifactId>
<version>1.12.0</version>
<type>zip</type>
</dependency>

 

The caconfig editor renders like this,  it looks a little different from what I've seen documented, so I do wonder if its configured correctly. 

 

 


When I publish though, non of the resource nodes under the configuration are replicated into the publish environment.

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Kiran_Vedantam
Community Advisor
Community Advisor
March 7, 2023

Hi @johns43992246 

 

Quick question:

When you publish it, is it showing the rest of the changes in the publish page?

Do you have access to publish the nodes?

Do you see the logs in the replication queue?

DO you see any errors in the logs?

 

Thanks,

Kiran Vedantam.

Level 2
March 7, 2023

Do you have access to publish the nodes? YES

Do you see the logs in the replication queue? I'm not sure how to setup the logger for caconfig in the sling logs. Any advice?

DO you see any errors in the logs? I cannot find any in the error logs but I need help trying create a logger for this.

Level 2
March 9, 2023

I was able to get 1.9.0 through the onboarding process.

in the parent POM

<dependency>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.extensions</artifactId>
<version>1.9.0</version>
</dependency>

Then in the child POM

 

<dependency>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.extensions</artifactId>
<scope>compile</scope>
</dependency>

There were no resolving issues reported by IntelliJ so I went ahead and did a maven build for AUTHOR and PUBLISH

 

I see in AEM a new bundle, but the version does not quite match 

 

 

Adobe Granite Context-Aware Configuration Extension

I tried to publish my configuration with the collection but no child nodes are appearing in Publish /conf

 

I see this error log

 

09.03.2023 15:04:29.101 *INFO* [[0:0:0:0:0:0:0:1] [1678392268891] GET /libs/wcm/core/content/sites/publishpagewizard.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl Start building JS library: /libs/cq/gui/components/siteadmin/admin/publishwizard/clientlibs
09.03.2023 15:04:29.488 *ERROR* [[0:0:0:0:0:0:0:1] [1678392268891] GET /libs/wcm/core/content/sites/publishpagewizard.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
acscommons.com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: unable to create new native thread
at acscommons.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2049) [com.adobe.acs.acs-aem-commons-bundle:4.11.2]

 


I see this property 

 

sling:configCollectionInherit

 

It might be because I checked the box for  io.wcm.caconfig.editor.config.inheritance.collection