Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Link button stopped working in our content fragments after SP 6.4.8.4

Avatar

Level 3

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)

1 Accepted Solution

Avatar

Correct answer by
Level 3

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. 

View solution in original post

3 Replies

Avatar

Level 6

@jarvislukow : 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.

kchaurasiya_0-1631799907479.png

Thank You.

Keshav Chaurasiya

 

Avatar

Community Advisor

Hi @jarvislukow,

 

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.

Avatar

Correct answer by
Level 3

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.