Expand my Community achievements bar.

SOLVED

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!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 5

Found the solution

On Vanilla instance Apache Sling Request Parameter Handling config has default Maximum File Count value as 10000.

But after our code deployment this value is resetting to 50 due to our custom config. Once we update this to 10000 its working as expected. 

The issue was related to the Apache Sling Request Parameter Handling configuration in the Vanilla instance. By default, the "Maximum File Count" is set to 10,000. However, after we deployed our code, a custom configuration was overriding this setting and resetting it to 50. Once we updated the value back to 10,000, everything started working as expected.

Seems Adobe updated this Maximum File Count to 10000 from 50 after SP14.

 

View solution in original post

8 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

Correct answer by
Level 5

Found the solution

On Vanilla instance Apache Sling Request Parameter Handling config has default Maximum File Count value as 10000.

But after our code deployment this value is resetting to 50 due to our custom config. Once we update this to 10000 its working as expected. 

The issue was related to the Apache Sling Request Parameter Handling configuration in the Vanilla instance. By default, the "Maximum File Count" is set to 10,000. However, after we deployed our code, a custom configuration was overriding this setting and resetting it to 50. Once we updated the value back to 10,000, everything started working as expected.

Seems Adobe updated this Maximum File Count to 10000 from 50 after SP14.

 

Avatar

Level 5

Just for reference. We upgraded from sp17 to sp21. And this property never existed in the past may be directly in sp21 or somewhere in between 18-21. And this appears to be an issue with the package adobe guys (ams) used for the environment in issue. when we upgraded our lower env there the value is already 10000 but in our stage env we found it to be 50. And this 50 is not something Adobe has assigned, but the value assigned by the OSGI service when the value is not set. We requested Adobe to find details for discrepancy and waiting for their response. Hope this background helps.

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 !