Link button stopped working in our content fragments after SP 6.4.8.4 | Community
Skip to main content
Level 2
Sep 16, 2021 12:55 PM UTC
Solved

Link button stopped working in our content fragments after SP 6.4.8.4

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.
jarvis_cl_lukowAccepted solution
Level 2
Sep 16, 2021 2:33 PM UTC

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. 

3 replies

Kiran_Vedantam
New Participant
Sep 16, 2021 1:47 PM UTC

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.

Translate
jarvis_cl_lukowAuthorAccepted solution
Level 2
Sep 16, 2021 2:33 PM UTC

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. 

Translate
kchaurasiya
Level 5
Sep 16, 2021 1:46 PM UTC

@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

 

Translate