Fields having "granite/ui/components/coral/foundation/container" as resourceType are not working correctly after upgrading to SP1 on AEM6.5 | Community
Skip to main content
Level 3
June 19, 2024
Solved

Fields having "granite/ui/components/coral/foundation/container" as resourceType are not working correctly after upgrading to SP1 on AEM6.5

  • June 19, 2024
  • 3 replies
  • 1376 views

We have a custom report having 6 different nodes/fields in it. But after upgrading to SP19, only 1st 2 are showing.

PFA screenshots.

 

 

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

An issue occurred after the deployment of SP19. After investigating found that they have null check in previous Service Packs in  "libs/dam/gui/components/admin/includecontent/includecontent.jsp" file but they have removed it in SP19.

So, to fix I overlayed that file and added null check. The issue has been resolved.

3 replies

h_kataria
Community Advisor
Community Advisor
June 19, 2024

Are you seeing any errors in logs or console ? 
Is the container resourceType breaking at other places as well or just in your report builder ? 
And although it should not break the report builder but I see you are using coral2 datepicker, can you try updating it to coral3 i.e. granite/ui/components/coral/foundation/form/datepicker 

Level 3
June 19, 2024

Hi @h_kataria

There is no console error.  The container with the same resourceType is functioning well for the first two fields on the same page, but not for the other fields. I also changed the datePicker resourceType to coral3, but it did not work.

Issue is that container is not appearing on page.

h_kataria
Community Advisor
Community Advisor
June 19, 2024

Checking error logs would be the best bet right now. Otherwise if possible, please share the package via DM.

rk_pandian
Level 4
June 20, 2024

Hi @sangrampatil111, can you pls share the xml of how you are creating this dialog? because 

sling:resourceType="granite/ui/components/coral/foundation/container" and sling:resourceType="granite/ui/components/coral/foundation/form/datepicker" should work together, if not then something else is wrong.

 

Update: if the above is already the case, try wrapping the date fields with a granite/ui/components/coral/foundation/form/fieldset resourceType and check if that works.

sangrampatil111AuthorAccepted solution
Level 3
June 21, 2024

An issue occurred after the deployment of SP19. After investigating found that they have null check in previous Service Packs in  "libs/dam/gui/components/admin/includecontent/includecontent.jsp" file but they have removed it in SP19.

So, to fix I overlayed that file and added null check. The issue has been resolved.