Link button stopped working in our content fragments after SP 6.4.8.4 | Community
Skip to main content
Level 2
September 16, 2021
Solved

Link button stopped working in our content fragments after SP 6.4.8.4

  • September 16, 2021
  • 2 replies
  • 1221 views

Hi all,

After applying SP 6.4.8.4 the link button stopped working in our content fragments.

Previously using the Multiline Text the link button worked as expected - once the SP update was applied the link button stopped working.

 

Has anyone encountered this issue before?

 

This JS error is thrown in the browser console:
all.js:formatted:6797 Uncaught TypeError: Cannot read properties of undefined (reading 'isEmpty')
at instanceGenerator.dlgFromModel (all.js:6583)
at instanceGenerator.fromModel (richtext.js:43560)
at instanceGenerator.initializeEdit (richtext.js:43509)
at instanceGenerator.modifyLink (richtext.js:32930)
at instanceGenerator.execute (richtext.js:33053)
at HTMLButtonElement.<anonymous> (richtext.js:41827)
at HTMLButtonElement.dispatch (jquery.js:5232)
at HTMLButtonElement.elemData.handle (jquery.js:4884)

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 jarvis_cl_lukow

It looks like this was caused by underscore is no longer being included in AEM the authoring JS.  After updating our custom authoring scripts the link button is working again. 

2 replies

kchaurasiya
Level 5
September 16, 2021

@jarvis_cl_lukow : Please install the "aem-6.4.8-cfp-3.0" package and share the updates. I think it should work once you install the above package. We have installed this package while migrating from 6.4.2 to 6.4.8.

Thank You.

Keshav Chaurasiya

 

Kiran_Vedantam
Community Advisor
Community Advisor
September 16, 2021

Hi @jarvis_cl_lukow,

 

As per the JS error, some properties are getting 'unndefined'. You can do the below things

  • Check if the authored values in the button is saved properly
  • Check the error.log for any further errors
  • Debug the all.js and find out whats happening
  • Also check if all the bundles are up after the upgrade

Hope this helps!

 

Thanks,

Kiran Vedantam.

jarvis_cl_lukowAuthorAccepted solution
Level 2
September 16, 2021

It looks like this was caused by underscore is no longer being included in AEM the authoring JS.  After updating our custom authoring scripts the link button is working again.