Expand my Community achievements bar.

AEM 6.5.21 - SP21 Facing issues with Content Fragment Models

Avatar

Level 5

 

Hi everyone,

 

We recently upgraded from AEM 6.5 SP14 to SP21, and since the upgrade, we’ve been facing an issue where content fragment models (CFMs) aren’t retaining field values. After editing and saving the content fragment models, the values don’t seem to stick. This happens with both existing CFMs and newly created CFMs.

Here’s what we’ve noticed so far:

  • No new nodes are created under CRX/DE after saving the CFMs.
  • The issue happens consistently across different models and environments.

I’ve checked the logs and here are some of the errors I’m seeing:

 


23.12.2024 11:46:28.227 *ERROR* No renderer for extension html, cannot render resource
23.12.2024 11:46:28.258 *WARN* Could not add property to granite:data resource as it does not exist.

 

GET /mnt/overlay/dam/cfm/models/editor/content/editor.html/conf/demo/settings/dam/cfm/models/testing-sp HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource TypeOverwritingResourceWrapper, type=dam/cfm/models/editor/components/datatypeproperties/translatablefield, path=/mnt/overlay/dam/cfm/models/editor/content/editor/jcr:content/body/items/wizard/items/editorStep/items/content/items/{{field_id}}, resource=[TypeOverwritingResourceWrapper, type=dam/cfm/models/editor/components/datatypes/field, path=/mnt/overlay/dam/cfm/models/editor/content/editor/jcr:content/body/items/wizard/items/editorStep/items/content/items/{{field_id}}, resource=[FormResourceImpl, type=, path=/mnt/overlay/dam/cfm/models/editor/content/editor/jcr:content/body/items/wizard/items/editorStep/items/content/items/{{field_id}}]]

 

GET /mnt/overlay/dam/cfm/models/editor/content/editor.html/conf/demo/settings/dam/cfm/models/testing-sp HTTP/1.1] com.adobe.cq.dam.cfm.ui.impl.models.FragmentReferenceViewImpl Could not add property to granite:data resource as it does not exist.

 

Has anyone experienced something similar after upgrading to AEM 6.5 SP21? Any ideas or suggestions would be really appreciated.

Thanks so much!

5 Replies

Avatar

Community Advisor

Hi, 


The log entry below indicates that something was not properly activated or refreshed after the SP upgrade. Can you try restarting the instance to see if that helps and validate that all the bundles are active?

No renderer for extension html, cannot render resource TypeOverwritingResourceWrapper, type=dam/cfm/models/editor/components/datatypeproperties/translatablefield,

 

Hope this helps



Esteban Bustamante

Avatar

Level 5

@EstebanBustamante I am noticing same errors even with fresh vanilla instance with AEM 6.5with SP21 

30.12.2024 14:47:03.658 *ERROR* [[0:0:0:0:0:0:0:1] [1735595223470] GET /mnt/overlay/dam/cfm/models/editor/content/editor.html/conf/core-components-examples/settings/dam/cfm/models/core-component-model HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource TypeOverwritingResourceWrapper, type=dam/cfm/models/editor/components/datatypeproperties/translatablefield, path=/mnt/overlay/dam/cfm/models/editor/content/editor/jcr:content/body/items/wizard/items/editorStep/items/content/items/{{field_id}}, resource=[TypeOverwritingResourceWrapper, type=dam/cfm/models/editor/components/datatypes/field, path=/mnt/overlay/dam/cfm/models/editor/content/editor/jcr:content/body/items/wizard/items/editorStep/items/content/items/{{field_id}}, resource=[FormResourceImpl, type=, path=/mnt/overlay/dam/cfm/models/editor/content/editor/jcr:content/body/items/wizard/items/editorStep/items/content/items/{{field_id}}]]

 

30.12.2024 14:47:03.848 *WARN* [[0:0:0:0:0:0:0:1] [1735595223470] GET /mnt/overlay/dam/cfm/models/editor/content/editor.html/conf/core-components-examples/settings/dam/cfm/models/core-component-model HTTP/1.1] com.adobe.cq.dam.cfm.ui.impl.models.FragmentReferenceViewImpl Could not add property to granite:data resource as it does not exist.

 

30.12.2024 14:47:03.855 *WARN* [[0:0:0:0:0:0:0:1] [1735595223470] GET /mnt/overlay/dam/cfm/models/editor/content/editor.html/conf/core-components-examples/settings/dam/cfm/models/core-component-model HTTP/1.1] com.adobe.cq.dam.cfm.ui.impl.models.FragmentReferenceViewImpl Could not add property to granite:data resource as it does not exist.

 

30.12.2024 14:47:04.163 *ERROR* [[0:0:0:0:0:0:0:1] [1735595223470] GET /mnt/overlay/dam/cfm/models/editor/content/editor.html/conf/core-components-examples/settings/dam/cfm/models/core-component-model HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource TypeOverwritingResourceWrapper, type=dam/cfm/models/editor/components/datatypeproperties/translatablefield, path=/conf/core-components-examples/settings/dam/cfm/models/core-component-model/jcr:content/model/cq:dialog/content/items/1547563080981, resource=[TypeOverwritingResourceWrapper, type=dam/cfm/models/editor/components/datatypes/field, path=/conf/core-components-examples/settings/dam/cfm/models/core-component-model/jcr:content/model/cq:dialog/content/items/1547563080981, resource=[JcrNodeResource, type=dam/cfm/admin/components/authoring/contenteditor/multieditor, superType=null, path=/conf/core-components-examples/settings/dam/cfm/models/core-component-model/jcr:content/model/cq:dialog/content/items/1547563080981]]

Avatar

Community Advisor

Hey @chirran414 I installed SP21 locally and did not encounter any issues when creating or updating CFMs, or when working with CFMs based on those.

 

The issue appears to be related to the fact that the "translatablefield" option is only available in AEMaaCS. I installed SP21 as you mentioned, and this option is unavailable in that version. Since the CFMs you've defined are configured to use this property, it is causing a rendering issue. My guess is that removing the CFMs that rely on this property will resolve the issue. 

 

[1]. AEMaaCS: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/sites/administer... VS AEMonPremise: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/assets/content-fragments/co... (You will notice Translatable is not mentioned in the onPremise documentation)

[2] 

EstebanBustamante_0-1735653523665.png

 

Hope this helps

 



Esteban Bustamante

Avatar

Level 5

Can you check if you see this issue with DAM metadata schema updates as well? We found that there is an issue with form builder functionality impacting multiple areas, and AMS confirmed that this is a known issue where there is a specific sling config which has a config that needs to be automatically increased to 10000 after upgrade, but for some reason it fails. See if you are facing issue in metadata schema builder as well, so I can confirm the fix. Thanks !