Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

ACS Commons 5.1.2 | Queries

Avatar

Level 4

After installing ACS commons 5.1.2, we are facing 2 issues.

ISSUE 1: Below console error while authoring any component.

NehaCMS_0-1649428110197.png

 

In above screenshots, the console error points to the below lines of code in multifield-extension-wrapper.js , this file was dependent on lodash.js under modern folder which was available under Libs folder (/libs/clientlibs/granite/lodash) till SP 6.5.9 and is missing in SP 6.5.10.

Now this lodash.js is brough back with ACS commons 5.1.2 under (/apps/acs-commons/clientlibs/vendor/lodash)

Temporary fix: We embed this lodash JS Category to our code base.

Concern: If ACS is providing this file, then why not adding up this on authoring mode by itself.

 

ISSUE 2: We are using an ACS AEM Commons feature called Multifield Extension for building nested multifield widgets in Touch-UI dialogs. We add the following property acs-commons-nested="" in the dialog definition on the multifiled widget node or below it.

The multifield widgets in our application having nested fields starts to break (Issue while retrieving stored multifield values) after installing 5.1.2.

Temporary fix: JS present under Composite-multifield (/apps/acs-commons/touchui-widgets/composite-multifield) folder in acs-commons folder helps to resolve the issue and restore values in multifield dialog. So we embed this Composite-multifield Category to our code base.

Concern: If ACS is providing this file, then why not adding up this on authoring mode by itself .

 

Let us know if anyone has any pointers on same.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor