Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2016-12-30 03:15:46 GMT *** mmccarthy1 is now known as mmccarthy

2016-12-30 04:13:50 GMT <alfbot> jpotts: Sent 1 week, 3 days, 3 hours, and 17 minutes ago: <AFaust> That is a result of the updated Rhino script engine. Method resolution has been improved and it now fails where it previously might have picked one of the ambiguous methods by change/some magic. That happened with the switch to Alfresco 5 and first was noticed with scripts that used the Spring application context via the JS Console

2016-12-30 06:51:39 GMT *** ahmed__ is now known as ahmedowian

2016-12-30 06:59:05 GMT <ahmedowian> Hello

2016-12-30 07:01:53 GMT <ahmedowian> Test

2016-12-30 07:05:15 GMT <ahmedowian> Test2

2016-12-30 08:07:35 GMT <oussama_> I am getting this error "No authentication provider for net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken" when i call personService.getPerson(String), it is solved by adding AuthenticationUtil.setRunAsUser("anyUserName") just before

2016-12-30 08:08:22 GMT <oussama_> i don't understand why this error happens and why this line of code solves it, any help?

2016-12-30 08:09:48 GMT <angelborroy> ousama from where point are you invoking that service?

2016-12-30 08:10:04 GMT <angelborroy> you need an authenticated user in order to use Alfresco JAVA API

2016-12-30 08:10:38 GMT <angelborroy> When using “AuthenticationUtil.setRunAsUser” you are creating an authentication for your program

2016-12-30 08:33:39 GMT <oussama_> angelborroy i'm calling it from a java backed webscript

2016-12-30 08:42:07 GMT <angelborroy> oussama_ what authentication clause have you declared in XML descriptor?

2016-12-30 08:42:45 GMT <oussama_> user

2016-12-30 08:43:23 GMT <oussama_> would it work if i change it to admin?

2016-12-30 08:43:44 GMT <oussama_> without adding that extra line of code

2016-12-30 09:51:29 GMT <Loftux1> ~later tell AFaust It seems that it is Smart Folders that cause the hibernate errors. I can reproduce now, see comment in https://issues.alfresco.com/jira/browse/ALF-21811

2016-12-30 09:51:29 GMT <alfbot> Loftux1: The operation succeeded.

2016-12-30 14:46:50 GMT <alfbot> AFaust: Sent 4 hours and 55 minutes ago: <Loftux1> It seems that it is Smart Folders that cause the hibernate errors. I can reproduce now, see comment in https://issues.alfresco.com/jira/browse/ALF-21811

2016-12-30 15:47:02 GMT <atpa8a> hey

2016-12-30 15:47:11 GMT <atpa8a> any activiti pros here?

2016-12-30 15:47:44 GMT <atpa8a> need some help modeling my process... just logically which elements to use

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco