AnsweredAssumed Answered

Overwrite of bean peopleScript using a custom class is not working

Question asked by fguariba on May 10, 2017
Latest reply on May 19, 2017 by fguariba

Hi,

I'm doing the update from Alfresco version 5.0.2 to 5.1.2.

I overwrote the bean peopleScript with my own class ch.elesta.userprofile.repo.jscript.PeopleElesta in a file elesta-people-model-context.xml localized in src/main/amp/config/alfresco/extension in my repo project. I can garantee that the deploy to the war is done correctly.

It could overwrite the class org.alfresco.repo.jscript.People.java in the version 5.0.2 without any problem. Now it's not overwriting anymore. The class org.alfresco.repo.jscript.People keeps beeing used when I search a person in the people-finder page.
I cannot understand why thsi overwrite is not done.
I attached the file with my overwrite.

Thanks,

Francisco

Outcomes