Skip to main content
Level 2
nov. 17, 2023 12:25 PM UTC
Respondido

Do we need to install latest ACS commons package after AEM upgrade 6.5.18?

Hi Team,

 

In my current project, we have upgraded AEM 6.5.9 to 6.5.18.

ACS commons current version is 5.0.4

 

Now, we are facing some multifield-related issues. (Unable to store the dialog fields once saved.) We have many components that have stored the multifield in JSON format as well as in node structure.

 

In some of the Adobe articles, they mention upgrading ACS Commons too.

Could you please confirm if we need to upgrade ACS Commons versions along with the AEM upgrade?

 

 

Thanks in advanced!

Nikita M.

TarunKumar
TarunKumarResposta
Community Advisor
nov. 20, 2023 1:31 PM UTC

Hi @nikita_mazire ,

Some of the package which is installed on your AEM instance is not compatible w/ ACS-version. Please check what all package you have applied apart from SP 18, may be SSP(security patch) package installed could also break this.
Also try replacing the underscore with acs-commons.loadash as suggested in below blog:

https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2821?secureweb=Teams&secureweb=Teams

Thanks
Tarun

 

13 Respostas

MarkusBullaAdobe
Adobe Employee
Adobe Employee
nov. 17, 2023 12:49 PM UTC

Hi @nikita_mazire!

I'm not aware of a dependency between the latest AEM service pack and a specific version of ACS Commons.

What version of ACS Commons are you currently using?

 

I'd recommend to run a quick test (e. g. on a local development environment) if an upgrade of ACS Commons fixes the issue. That will most probably be the fastest way to get clarity.

In general, it's always a good idea to keep all parts of the software, including tools and libraries, up-to-date to benefit from new features and latest fixes.

 

Hope that helps!

Traduzir
Level 2
nov. 17, 2023 4:26 PM UTC

Thanks for your response. @markusbullaadobe 

We are using ACS commons version 5.0.4

Traduzir
Level 4
nov. 17, 2023 1:46 PM UTC

hi @nikita_mazire - kindly update which acs version you are currently on with AEM 6.5.9

Traduzir
Level 2
nov. 17, 2023 4:27 PM UTC

Thanks for your response. @nehama 

We are using ACS commons version 5.0.4

Traduzir
Preetpal_Bindra
Community Advisor
Community Advisor
nov. 17, 2023 9:48 PM UTC

Hello @nikita_mazire 

Referring to the compatibility chart, it seems that the suggestion for AEM version 6.5.10+ is to use ACS Commons version 6.x.x. It seems to be a good time for you to upgrade ACS commons to the latest version.

 

Compatibility chart: https://adobe-consulting-services.github.io/acs-aem-commons/pages/compatibility.html

 

regards,

Preetpal

Traduzir
aanchal-sikka
Community Advisor
Community Advisor
nov. 18, 2023 7:33 AM UTC

Hello @nikita_mazire 

 

As everyone else suggested, please plan to upgrade ACS commons too.

  • You would be able to access recently added features
  • You would have recent fixes also available

 

But, while you would get additional benefits, I would request you to also validate the features of ACS commons that your project is currently using. Just to rule out deprecation/change of any feature.

Traduzir
Aanchal Sikka
TarunKumar
Community Advisor
Community Advisor
nov. 20, 2023 8:28 AM UTC

Hi @nikita_mazire ,

As per the compatibility chart "https://adobe-consulting-services.github.io/acs-aem-commons/pages/compatibility.html"  , ACS commons version  5.0.4 does support AEM 6.5.18. The multifiled issue that you are seeing it could be due to error in multifield js provided by ACS-commons. Can you check if you have applied any other patch apart from AEM upgrade.
Also look into the browser console as what is breaking in JS.
If nothing works then you can try updating to latest version of ACS-common.


Thanks
Tarun

Traduzir
Level 2
nov. 20, 2023 1:15 PM UTC

Thanks @tarunkumar  

You catch it well, ACS commons version  5.0.4 does support AEM 6.5.18

I've installed ACS Commons upgrade to 6.2.0 in my local, but still the same JS issue persists.

 

Facing a multifield JS issue after upgrading AEM 6.5.18

I've attached a snippet below from the console error. 

We've multiple components with data storage in JSON as well as in nodes format. (I hope we'll not lose content from MultiField.)

 

 

Any quick solution for this? Maybe we can add some global JS change 

Traduzir
TarunKumar
Community Advisor
TarunKumarCommunity AdvisorResposta
Community Advisor
nov. 20, 2023 1:31 PM UTC

Hi @nikita_mazire ,

Some of the package which is installed on your AEM instance is not compatible w/ ACS-version. Please check what all package you have applied apart from SP 18, may be SSP(security patch) package installed could also break this.
Also try replacing the underscore with acs-commons.loadash as suggested in below blog:

https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2821?secureweb=Teams&secureweb=Teams

Thanks
Tarun

 

Traduzir
kautuk_sahni
Level 9
nov. 20, 2023 11:22 AM UTC

@nikita_mazire Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Traduzir
Kautuk Sahni
Level 2
nov. 20, 2023 2:13 PM UTC

It's resolved and marked correct answer.

Thanks @kautuk_sahni 

Traduzir