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-05-30 11:06:05 GMT <DisruptiveNL> Hello

2019-05-30 11:06:35 GMT <DisruptiveNL> Does someone know why I get an NullPointerException using SOAPUI with CMIS in Alfresco?

2019-05-30 11:07:01 GMT <angelborroy> What protocol?

2019-05-30 11:07:38 GMT <DisruptiveNL> I now am using wsdl (SOAP)

2019-05-30 11:07:53 GMT <angelborroy> So you need CMIS 1.0 endpoint

2019-05-30 11:08:00 GMT <angelborroy> What endpoint are you using?

2019-05-30 11:08:06 GMT <DisruptiveNL> Atompub?

2019-05-30 11:08:12 GMT <DisruptiveNL> WSDL is not CMIS 1.0

2019-05-30 11:08:14 GMT <angelborroy> That is not WSDL

2019-05-30 11:08:19 GMT <angelborroy> Atompub is REST

2019-05-30 11:08:24 GMT <angelborroy> The same for Browser

2019-05-30 11:08:31 GMT <DisruptiveNL> yes i know

2019-05-30 11:08:31 GMT <angelborroy> The only providing WSDL is CMIS 1.0

2019-05-30 11:08:40 GMT <angelborroy> So, what is your question?

2019-05-30 11:09:00 GMT <DisruptiveNL> I really wanted to use REST (Atom) but I could not find how to make a call to a service or operation in say postman

2019-05-30 11:09:07 GMT <angelborroy> http://docs.alfresco.com/6.0/pra/1/concepts/cmis-bindings.html

2019-05-30 11:09:08 GMT <alfbot> Title:CMIS bindings | Alfresco Documentation (at docs.alfresco.com)

2019-05-30 11:09:22 GMT <DisruptiveNL> I know this thanks ;-)

2019-05-30 11:09:34 GMT <angelborroy> You can use postman for both AtomPub and Browser bindings

2019-05-30 11:09:45 GMT <DisruptiveNL> But it seems the username is ¨empty¨ using http / SOAP using SoapUI

2019-05-30 11:10:08 GMT <DisruptiveNL> I know but how do I call an operation say getRepositories

2019-05-30 11:10:52 GMT <DisruptiveNL> http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom --> This works in Postman but now I want to call getRepositories

2019-05-30 11:11:08 GMT <angelborroy> Probably this can help: https://docs.oasis-open.org/cmis/CMIS/v1.1/os/examples/atompub/

2019-05-30 11:11:09 GMT <alfbot> Title:Index of /cmis/CMIS/v1.1/os/examples/atompub/ (at docs.oasis-open.org)

2019-05-30 11:11:21 GMT <DisruptiveNL> http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom?RepositoryService (OData??) does not do anything different

2019-05-30 11:12:30 GMT <angelborroy> To get repositories information, just only

2019-05-30 11:12:36 GMT <angelborroy> http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom

2019-05-30 11:13:13 GMT <DisruptiveNL> Oke and say getFolderTree?

2019-05-30 11:13:35 GMT <angelborroy> Search your way at

2019-05-30 11:13:35 GMT <angelborroy> https://docs.oasis-open.org/cmis/CMIS/v1.1/os/examples/atompub/

2019-05-30 11:13:36 GMT <alfbot> Title:Index of /cmis/CMIS/v1.1/os/examples/atompub/ (at docs.oasis-open.org)

2019-05-30 11:14:22 GMT <DisruptiveNL> log files?

2019-05-30 11:14:38 GMT <angelborroy> You have the request in the first line of the log file

2019-05-30 11:14:56 GMT <angelborroy> I’m searching a blog post written by @Tichodroma some time ago

2019-05-30 11:15:32 GMT <alfresco-discord> <kore> Hi all

2019-05-30 11:15:36 GMT <DisruptiveNL> I will loog at this

2019-05-30 11:15:39 GMT <DisruptiveNL> look

2019-05-30 11:17:52 GMT <alfresco-discord> <kore> I am trying to querying the below query I am getting the all the results even that searchTerm not existing in that folder

2019-05-30 11:17:56 GMT <alfresco-discord> <kore> PATH:"/app:companyhome/app:dictionary/cm:TestDraft//" AND TYPE:"cm:content" AND @km:titleProvider:"&%$*"

2019-05-30 11:18:32 GMT <alfresco-discord> <kore> I am getting this issue only if I provide the only special chars in search term

2019-05-30 11:20:12 GMT <alfresco-discord> <kore> I need to get only the items which is having the those char

2019-05-30 11:20:46 GMT <alfresco-discord> <kore> I tried by escaping the special chars then also its sam

2019-05-30 11:23:02 GMT <DisruptiveNL> Hmm no getFolderTree ...

2019-05-30 11:23:03 GMT <DisruptiveNL> http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom?getFolderTree=bf1d8979-07b2-40be-854a-e79841126be6

2019-05-30 11:23:22 GMT <DisruptiveNL> gives back the same as without all the ?

2019-05-30 11:23:27 GMT <DisruptiveNL> after the ?

2019-05-30 11:23:36 GMT <angelborroy> are you reading those log files?

2019-05-30 11:23:47 GMT <angelborroy> Do you see any URL including “getFolderTree”?

2019-05-30 11:23:51 GMT <DisruptiveNL> yes and some work

2019-05-30 11:23:54 GMT <DisruptiveNL> no

2019-05-30 11:24:25 GMT <angelborroy> You can only use that URLs in AtomPub

2019-05-30 11:24:34 GMT <angelborroy> Otherwise you have to change to a client API

2019-05-30 11:24:36 GMT <angelborroy> (like Java)

2019-05-30 11:25:47 GMT <alfresco-discord> <kore> Is anyone having the above mentioned issue??

2019-05-30 11:27:00 GMT <DisruptiveNL> ow I do not want to use a Nuget library like apachy chemistry

2019-05-30 11:27:13 GMT <DisruptiveNL> I just want to use http and XML calls

2019-05-30 11:27:39 GMT <DisruptiveNL> REST or SOAP

2019-05-30 11:28:52 GMT <DisruptiveNL> ow SOAP does not support all the operations also?

2019-05-30 11:29:33 GMT <DisruptiveNL> strange when I read in the wsdl in SOAPUI it is there

2019-05-30 11:30:54 GMT <DisruptiveNL> RepositoryServicePortBinding (SOAPUI) gives back:

2019-05-30 11:30:55 GMT <DisruptiveNL> cmisFault xmlns:ns2="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns="http://docs.oasis-open.org/ns/cmis/messaging/200908/">

2019-05-30 11:30:55 GMT <DisruptiveNL> <type>runtime</type>

2019-05-30 11:30:55 GMT <DisruptiveNL> <code>0</code>

2019-05-30 11:30:55 GMT <DisruptiveNL> </cmisFault>

2019-05-30 11:32:07 GMT <DisruptiveNL> solr4

2019-05-30 11:36:24 GMT <alfresco-discord> <kore> yes in solr4

2019-05-30 11:40:04 GMT <DisruptiveNL> CMIS Workbench seems to have all the operations implemented in and SOAP and Atom... so could it be these examples are not extended?

2019-05-30 11:53:35 GMT <DisruptiveNL> I think I have found something

2019-05-30 11:54:40 GMT <angelborroy> These are all the URLs allowed for AtomPub

2019-05-30 11:54:41 GMT <angelborroy> https://chemistry.apache.org/java/developing/dev-url.html

2019-05-30 11:54:42 GMT <alfbot> Title:Apache Chemistry - URLs for AtomPub (at chemistry.apache.org)

2019-05-30 11:54:56 GMT <angelborroy> Probably you can combine the to meet your requirements

2019-05-30 11:56:03 GMT <DisruptiveNL> I am looking at the doQuery log

2019-05-30 11:56:20 GMT <DisruptiveNL> and trying to find out where I could put a ¨statement¨ in Postman ;-)

2019-05-30 11:57:21 GMT <angelborroy> Something like this?

2019-05-30 11:57:21 GMT <angelborroy> curl -X POST \

2019-05-30 11:57:22 GMT <angelborroy> http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser \

2019-05-30 11:57:23 GMT <angelborroy> -F 'cmisaction=query' \

2019-05-30 11:57:24 GMT <angelborroy> -F 'statement=select cmis:name from cm:titled'

2019-05-30 11:59:15 GMT <DisruptiveNL> <!--message-->Statement must be set!

2019-05-30 11:59:50 GMT <DisruptiveNL> oke I will try that

2019-05-30 12:00:03 GMT <DisruptiveNL> Then I must also get back my getFolderTree ;-)

2019-05-30 12:00:45 GMT <DisruptiveNL> cmis:folder

2019-05-30 12:04:28 GMT <DisruptiveNL> yes this works!

2019-05-30 12:16:45 GMT <DisruptiveNL> now trying to create a document with property (metadata) vaules ;-)

2019-05-30 12:18:21 GMT <angelborroy> https://angelborroy.wordpress.com/2017/10/07/testing-alfresco-from-command-line-with-curl-and-cmis-browser/

2019-05-30 12:18:22 GMT <alfbot> Title:Testing Alfresco from command line with CURL and CMIS Browser | Programming and So (at angelborroy.wordpress.com)

2019-05-30 12:18:39 GMT <DisruptiveNL> In the log I see some Base64

2019-05-30 12:18:52 GMT <angelborroy> Read that link

2019-05-30 12:19:00 GMT <DisruptiveNL> Haha yes!

2019-05-30 12:19:17 GMT <DisruptiveNL> I will make a video .. is that something too share?

2019-05-30 12:19:45 GMT <DisruptiveNL> ahh this is with ¨browser¨ I will use atom

2019-05-30 12:27:24 GMT <angelborroy> Browser always is better than atom

2019-05-30 12:27:32 GMT <angelborroy> As it’s based in JSON instead of XML

2019-05-30 12:27:46 GMT <angelborroy> What makes it more efficient

2019-05-30 12:31:29 GMT <DisruptiveNL> yes but if I want to switch between a Sharepoint repository (which only has 1.0 version) and FileNet then browser is not valid

2019-05-30 12:31:42 GMT <DisruptiveNL> With atom I can change fast between CMIS versions

2019-05-30 12:32:14 GMT <angelborroy> I’m not sure that Sharepoint and Filenet implement all the scope of the CMIS specification…

2019-05-30 12:34:19 GMT <DisruptiveNL> It seems so

2019-05-30 12:34:48 GMT <DisruptiveNL> Reading the OASIS docs and Apache Chemistry it seems so

2019-05-30 12:54:44 GMT <DisruptiveNL> I also have to Base64 pdf?

2019-05-30 14:43:40 GMT <alfresco-discord> <drazen04> Hi guys, someone knows which files are involved in the process of bpm:senEmailNotification??

2019-05-30 14:44:15 GMT <alfresco-discord> <drazen04> I need to modify the template

2019-05-30 15:00:03 GMT <alfresco-discord> <drazen04> Particulary the email's subject that seems not living in the wf-email.html.ftl

2019-05-30 15:06:36 GMT <alfresco-discord> <yreg> as far as I remember it is hardcoded in some util class

2019-05-30 15:06:44 GMT <alfresco-discord> <yreg> you can always search the code in github

2019-05-30 15:07:21 GMT <alfresco-discord> <drazen04> I didn't find it

2019-05-30 15:15:54 GMT <AFaust> Seems GitHub search is a bit limited. I knew the name of the class but wasn't able to find it either just using search.

2019-05-30 15:15:55 GMT <AFaust> https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/workflow/WorkflowNotificationUtils.java

2019-05-30 15:15:56 GMT <alfbot> Title:alfresco-repository/WorkflowNotificationUtils.java at master · Alfresco/alfresco-repository · GitHub (at github.com)

2019-05-30 15:17:06 GMT <AFaust> Great - now that I have accessed it directly by browsing and I repeat my search, I get it as a result.

2019-05-30 15:19:01 GMT <AFaust> Ah, looks like GitHub is "too exact" in some search constellations. E.g. if I search for "PROP_SEND_EMAIL_NOTIFICATION" I don't find it, only via "PROP_SEND_EMAIL_NOTIFICATIONS" - as if the use of "_" or all caps disables fuzzy / partial matches

2019-05-30 15:21:48 GMT <alfresco-discord> <drazen04> Thank you

2019-05-30 15:22:15 GMT <alfresco-discord> <drazen04> I also find this from jeff pots

2019-05-30 15:22:16 GMT <alfresco-discord> <drazen04> https://community.alfresco.com/thread/203701-change-subject-on-email-notification

2019-05-30 15:22:18 GMT <alfbot> Title:Change subject on email notification | Alfresco Community (at community.alfresco.com)

2019-05-30 15:51:18 GMT <alfresco-discord> <drazen04> I'm noticing that if i want to call bpm:sendEmail and use his ftl i can put a dinamic value on subject

2019-05-30 15:53:39 GMT <alfresco-discord> <drazen04> *can't

2019-05-30 16:19:52 GMT <DisruptiveNL> Oke got it working CMIS on Alfresco!

2019-05-30 16:20:08 GMT <DisruptiveNL> And not through a lib but pure Atompub

2019-05-30 16:25:28 GMT <DisruptiveNL> Thanks for the tips! If I can contribute tell me how

2019-05-30 17:21:36 GMT <alfresco-discord> <LuisColorado> Is anything in Alfresco using ActiveMQ besides transformation services and Alfresco Sync?

2019-05-30 17:21:52 GMT <alfresco-discord> <LuisColorado> If not, I wonder if ActiveMQ usage/checking can be disabled.

2019-05-30 18:07:43 GMT <AFaust> LuisColorado: In Alfresco Community, nothing is / should be using ActiveMQ, but it looks like a tiny bit of functionality does: the internal policy to (pro-actively) handle rendition refreshes on a content update event is based on the Messaging subsystem, needing ActiveMQ

2019-05-30 18:09:11 GMT <AFaust> I used to recommend to disable the Messaging / Events subsystem because having ActiveMQ running seemed excessive if you did not plan to use the events queue, and asynch transformations were supposedly only part of Alfresco Enterprise, but after finding that little bit of code tied to the queue, I am now a bit more cautious

End of Daily Log

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