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

2019-01-16 09:03:53 GMT <alfresco-discord> <kore> Hi all I added one custom metadata field(multi value) in sort list of document library. Its works fine if values are not same otherwise gets No items found in document library but in lots getting unsupported sort type of java.util.Arraylist

2019-01-16 09:04:38 GMT <alfresco-discord> <kore> Is we need to write the custom backend code or need to modify the Oob code for this ??

2019-01-16 09:10:48 GMT <alfresco-discord> <kore> Or when two or more multi valued property occurs

2019-01-16 10:29:52 GMT <alfresco-discord> <Flo0975> Hello, Sorry for my English, I'm French. I'm trying to install alfresco community under centos 7. I followed this tutorial: https://community.alfresco.com/community/ecm/blog/2018/07/12/deploying-alfresco-content-services-community-edition-201806-ga I'm at the stage: Run docker-dial up. And I have an error: ERROR: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for

2019-01-16 10:29:52 GMT <alfresco-discord> connection (Client.Timeout exceeded while awaiting headers) Any ideas? Thank you 😃 @here

2019-01-16 10:29:54 GMT <alfbot> Title:Deploying Alfresco Content Services Community E... | Alfresco Community (at community.alfresco.com)

2019-01-16 10:30:45 GMT <alfresco-discord> <yreg> @Flo0975 you should avoid tagging everyone here unless you have public announcements

2019-01-16 10:31:03 GMT <alfresco-discord> <Flo0975> sorry :/

2019-01-16 10:31:05 GMT <alfresco-discord> <yreg> that being said, have you tried googling the error you had ?

2019-01-16 10:31:22 GMT <alfresco-discord> <yreg> seems pretty standard docker issue, totally unrelated to alfresco

2019-01-16 10:31:44 GMT <alfresco-discord> <Flo0975> yes and I did not find

2019-01-16 10:34:24 GMT <angelborroy> @Flo0975 Are you using Docker for Windows?

2019-01-16 10:34:24 GMT <angelborroy> https://github.com/docker/for-win/issues/1534

2019-01-16 10:34:26 GMT <alfbot> Title:Client.Timeout exceeded while awaiting headers · Issue #1534 · docker/for-win · GitHub (at github.com)

2019-01-16 10:34:29 GMT <angelborroy> (First entry in Google)

2019-01-16 10:36:30 GMT <alfresco-discord> <yreg> well he said he is on Centos 7

2019-01-16 10:36:47 GMT <alfresco-discord> <yreg> but from that thread you linked, it seems like the same issue

2019-01-16 10:36:55 GMT <alfresco-discord> <yreg> something related to proxy config

2019-01-16 10:36:56 GMT <alfresco-discord> <MorganP> The Alfresco Server is on Centos7, maybe not its client?

2019-01-16 10:37:18 GMT <angelborroy> Docker is also very tricky in CentOS

2019-01-16 10:37:25 GMT <angelborroy> Probably it’s a similar problem

2019-01-16 10:38:22 GMT <alfresco-discord> <Flo0975> no docker for centos 7

2019-01-16 10:38:52 GMT <alfresco-discord> <yreg> @Flo0975 does your server need a proxy to access internet ?

2019-01-16 10:39:06 GMT <alfresco-discord> <Flo0975> yes..

2019-01-16 10:40:38 GMT <alfresco-discord> <yreg> then you need to configure the proxy

2019-01-16 10:40:48 GMT <alfresco-discord> <yreg> configure docker to use the proxy

2019-01-16 10:42:12 GMT <alfresco-discord> <yreg> @Flo0975 ça pourrait te quider un peu pour résoudre ton problème : https://forums.docker.com/t/docker-installing-docker-behind-a-proxy-on-centos-7-error-while-pulling-image/26015/2

2019-01-16 10:42:13 GMT <alfbot> Title:Docker : Installing Docker behind a proxy on CentOS 7 : Error while pulling image - General Discussions - Docker Forums (at forums.docker.com)

2019-01-16 10:42:33 GMT <alfresco-discord> <Flo0975> @yreg thank's 😃

2019-01-16 10:50:19 GMT <fwu2018> hello all

2019-01-16 10:50:59 GMT <fwu2018> ppl, can someone tell me why the ADF is using basic authentication using the user= ROLE_TICKET?

2019-01-16 10:51:12 GMT <fwu2018> for invoking rest api?

2019-01-16 10:51:34 GMT <fwu2018> what is the reason for this? If we have already the ticket, why not use the ticket only?

2019-01-16 10:52:25 GMT <alfresco-discord> <yreg> fwu2018 feel free to raise that on ADF gitter channel

2019-01-16 10:52:47 GMT <alfresco-discord> <yreg> https://gitter.im/Alfresco/alfresco-ng2-components

2019-01-16 10:52:48 GMT <alfbot> Title:Alfresco/alfresco-ng2-components - Gitter (at gitter.im)

2019-01-16 10:52:49 GMT <fwu2018> yreg, but they shouldnt do this, right-?

2019-01-16 10:52:58 GMT <fwu2018> for cmis I may understand. but not for rest.

2019-01-16 10:56:39 GMT <fwu2018> another question: I can chnage dynamically the task name and description, but what about the title?Isnt it possible to chnage it?

2019-01-16 12:25:22 GMT <alfresco-discord> <yreg> I am not in a good position to say if they should or not

2019-01-16 12:26:36 GMT <alfresco-discord> <yreg> It also annoys me a bit since it marks ROLE_TICKET as the user in my access log, but that's about it

2019-01-16 13:46:48 GMT <fwu2018> yreg I didnt even know that such role exists

2019-01-16 13:48:02 GMT <fwu2018> ADF is using basicAuthen if if you chosse other authorization method...

2019-01-16 13:50:19 GMT <fwu2018> and on a old version they have many authenticate methods, including what they call apikey -> loking at the name it seems exactly what I want. But newer version of ADF doesnt have this anymore.

2019-01-16 13:52:22 GMT <fwu2018> so they still use basic authentication, with user= role_ticket password=ticket

2019-01-16 13:52:32 GMT <fwu2018> very strange

2019-01-16 14:48:53 GMT <alfresco-discord> <ohej> Which ADF version are you using?

2019-01-16 15:03:42 GMT <AFaust> Hmm... not sure if the Gary Spencer credited with all commits in https://github.com/FileSysOrg/fileServersNG-v5 is the same Gary Spencer that once worked at Alfresco...

2019-01-16 15:03:43 GMT <alfbot> Title:GitHub - FileSysOrg/fileServersNG-v5: Replacement Alfresco file servers subsystem using the JFileServer code (at github.com)

2019-01-16 15:04:35 GMT <AFaust> On first glance, I see a huge issue with that addon in that it uses Alfresco packages / class names, and thus may cause classloader issues depending on JAR load order...

2019-01-16 15:07:29 GMT <AFaust> Also quite skeptical of the Hazelcast library version mismatch with what Alfresco ships.

2019-01-16 15:07:46 GMT <AFaust> Is anyone in this channel by coincidence involved with that organisation / project?

2019-01-16 15:29:30 GMT <angelborroy> I think that this NG-v5 is the original JLAN forked

2019-01-16 15:30:12 GMT <angelborroy> The whole idea looks promising, I guess they have implemented SMBv2/3 over this layer

2019-01-16 15:43:02 GMT <AFaust> I know it is forked, but if they want to install that into Alfresco, they need to make sure the class files don't clash

2019-01-16 16:04:51 GMT <fwu2018> ohej, 2.4 But latest version also do this

2019-01-16 16:14:44 GMT <fwu2018> ppl, using client-side javascript, I can make something like this:

2019-01-16 16:14:47 GMT <fwu2018> Alfresco.util.Ajax.request

2019-01-16 16:15:02 GMT <fwu2018> is it possible to do an ajax request in server-side client script?

2019-01-16 16:15:13 GMT <fwu2018> server-side javascript I mean

2019-01-16 16:15:49 GMT <angelborroy> From Share, using Server Side Javascript

2019-01-16 16:15:51 GMT <angelborroy> right?

2019-01-16 16:17:35 GMT <fwu2018> yes. this is for js files that run activiti code

2019-01-16 16:17:54 GMT <angelborroy> with Share you have a connector

2019-01-16 16:18:07 GMT <angelborroy> But I don’t know if it’s exposed for Activiti Js

2019-01-16 16:18:10 GMT <angelborroy> I guess that no

2019-01-16 16:18:17 GMT <AFaust> fwu2018: By definition there are no AJAX calls server side... In Share you can use the "remote" root-scope object to do calls to configured backend systems (typically the repository).

2019-01-16 16:18:52 GMT <AFaust> AJAX would mean "asynchronous" and I don't know any Alfresco-related server-side script environment that supports asynchronous.

2019-01-16 16:19:31 GMT <fwu2018> AFaust, I need this to connect to external systems

2019-01-16 16:20:15 GMT <fwu2018> here they call about a servlet:https://community.alfresco.com/docs/DOC-4999-ajax-support

2019-01-16 16:20:17 GMT <alfbot> Title:AJAX Support | Alfresco Community (at community.alfresco.com)

2019-01-16 16:20:22 GMT <AFaust> Than configure the external systems via the "Remote" configuration section in share-config-custom.xml, and use the remote root-scope object to obtain a connector to that

2019-01-16 16:20:34 GMT <fwu2018> Can this be usefll? My problem is that I want to avoid deploy jars

2019-01-16 16:20:53 GMT <AFaust> fwu2018: You did see the "obsolete" marking on that page, right?

2019-01-16 16:20:58 GMT <fwu2018> Afaust, I will look at it

2019-01-16 16:21:13 GMT <angelborroy> AFaust is that Remote also available from JavaScript executed in Activiti expressions?

2019-01-16 16:21:19 GMT <fwu2018> afaust, yes, but many obsolete Alfresco things are still active :)

2019-01-16 16:21:44 GMT <AFaust> That page is so old, it refers to Alfresco 1.4

2019-01-16 16:21:51 GMT <fwu2018> yes lol

2019-01-16 16:22:51 GMT <fwu2018> afaust any example about using the remote root object. I just want to set an endpoint and make the call

2019-01-16 16:22:55 GMT <AFaust> angelborroy: Of course it isn't...

2019-01-16 16:23:06 GMT <AFaust> The remote root-scope object is a Surf component...

2019-01-16 16:23:29 GMT <angelborroy> So fwu cannot use it from Activiti Expression

2019-01-16 16:23:51 GMT <fwu2018> so, I cant use it inside js file on a create task event?

2019-01-16 16:23:54 GMT <AFaust> angelborroy: I did not see fwu2018 refer to Activiti...

2019-01-16 16:23:58 GMT <angelborroy> yep

2019-01-16 16:24:12 GMT <angelborroy> fwu2018 you should switch to Java Code

2019-01-16 16:24:28 GMT <fwu2018> yes, that what I was trying to avoid :(

2019-01-16 16:24:30 GMT <angelborroy> And create a JavaDelegate to perform this remote call

2019-01-16 16:24:42 GMT <fwu2018> publish and deploy of jar

2019-01-16 16:25:16 GMT <angelborroy> it’s an standard Alfresco / Activiti extension

2019-01-16 16:25:22 GMT <angelborroy> Just a regular Alfresco SDK module

2019-01-16 16:27:12 GMT <fwu2018> yes I know, but I was cutting this kind of need. The scripts are all in folders right now, so Im not deploying very musch jars

2019-01-16 16:40:11 GMT <fwu2018> angelborroy, actually I dont need an ajax call (async), but a standard rest call

2019-01-16 16:40:20 GMT <fwu2018> but it seems the problem is the same, right?

2019-01-16 16:40:28 GMT <angelborroy> exactly the same

End of Daily Log

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