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

2018-10-26 07:11:30 GMT <alfresco-discord> <mars> I missed the office hours yesterday, there were very relevant questions on slido, is there any recording of the office hours or transcription of q&as?

2018-10-26 07:23:07 GMT <alfresco-discord> <LMattioli> @mars There was a change some month ago about Office hour: no more recordings. Some transcription is available here https://community.alfresco.com/docs/DOC-7942-office-hour-notes

2018-10-26 07:23:11 GMT <alfbot> Title:Office Hours notes | Alfresco Community (at community.alfresco.com)

2018-10-26 07:23:45 GMT <alfresco-discord> <LMattioli> Yesterday the main part was about Transactions

2018-10-26 07:24:07 GMT <alfresco-discord> <mars> ok @LMattioli did you get your questions answered?

2018-10-26 07:24:30 GMT <alfresco-discord> <mars> I have the exact same questions to ask Alfresco right now through partner channels

2018-10-26 07:25:21 GMT <alfresco-discord> <LMattioli> yes, in few words: docker-compose/Kubernetes/Helm publicy available are for developers. In a production environment you have to build your own material

2018-10-26 07:26:53 GMT <alfresco-discord> <LMattioli> Someone yesterday says that has a customer that is testing in production, but there were no Alfresco marketing person to confirm how many customers are testing in production the container-way

2018-10-26 07:27:56 GMT <alfresco-discord> <LMattioli> (this is what I have understood: I'm not so skilled in conversational English/American... maybe someone else could give you more details)

2018-10-26 07:28:18 GMT <alfresco-discord> <mars> Thanks alot @LMattioli

2018-10-26 07:28:27 GMT <alfresco-discord> <mars> Did they say something about JDK?

2018-10-26 07:30:08 GMT <alfresco-discord> <LMattioli> We finish time, we speak about it but the main sentiment was "we will see". Alfresco is already looking to openJDK but "we will see in future what happens"

2018-10-26 07:30:36 GMT <alfresco-discord> <mars> Ok 😃

2018-10-26 07:34:29 GMT <alfresco-discord> <yreg> @LMattioli , @mars small correction : They said publicly available docker-compose was intended for dev hence a lot of open ports raising few security concerns

2018-10-26 07:34:54 GMT <alfresco-discord> <yreg> helm charts/kubernetes is meant for prod hence their investment in the security for that deployment methods

2018-10-26 07:35:04 GMT <alfresco-discord> <mars> ok!

2018-10-26 07:35:32 GMT <alfresco-discord> <yreg> but still one could fiddle with the setup and open up ports for development/test ... if needed

2018-10-26 07:35:50 GMT <alfresco-discord> <mars> I guess you should follow common recommendations on running docker images in production anyway and build your own customized solution

2018-10-26 07:36:04 GMT <alfresco-discord> <yreg> @LMattioli actually a guy from Alfresco anwsered that during last TTL

2018-10-26 07:36:17 GMT <alfresco-discord> <yreg> they said they are looking into moving to JDK

2018-10-26 07:36:25 GMT <alfresco-discord> <yreg> 11 to be precise

2018-10-26 07:36:44 GMT <alfresco-discord> <mars> Oracle or Open?

2018-10-26 07:36:47 GMT <alfresco-discord> <yreg> but he didn't give a time frame for the first version to be released with that

2018-10-26 07:36:52 GMT <angelborroy> OpenJDK

2018-10-26 07:36:53 GMT <alfresco-discord> <yreg> openjdk

2018-10-26 07:36:57 GMT <alfresco-discord> <mars> Nice

2018-10-26 07:37:47 GMT <alfresco-discord> <LMattioli> Thanks! 👍

2018-10-26 08:04:43 GMT <alfresco-discord> <Thijs> @LMattioli At Xenit, we are using a custom docker-compose based setup in production since 2-3 years. Not the Alfresco pre-baked solution yet.

2018-10-26 08:06:08 GMT <alfresco-discord> <Thijs> My colleague @anghelutar presented details on the latest DEVCON in Lisbon.

2018-10-26 08:07:54 GMT <alfresco-discord> <Thijs> https://community.alfresco.com/docs/DOC-7294-devcon-2018-presentations : Production-Ready docker stack

2018-10-26 08:07:58 GMT <alfbot> Title:DevCon 2018 Presentations | Alfresco Community (at community.alfresco.com)

2018-10-26 08:08:04 GMT <angelborroy> @Thijs 3 years?? From Alfresco 5.0.d?

2018-10-26 08:08:05 GMT <angelborroy> Wow

2018-10-26 08:08:25 GMT <angelborroy> We started with 5.1 and we thought we started earlier

2018-10-26 08:08:54 GMT <alfresco-discord> <Thijs> let me check

2018-10-26 08:10:50 GMT <angelborroy> https://github.com/keensoft/alfresco-docker-template/tree/master/4.2.c

2018-10-26 08:10:51 GMT <alfbot> Title:alfresco-docker-template/4.2.c at master · keensoft/alfresco-docker-template · GitHub (at github.com)

2018-10-26 08:10:54 GMT <angelborroy> This is the oldes we have

2018-10-26 08:11:03 GMT <angelborroy> But we made this after starting with 5.1

2018-10-26 08:13:53 GMT <alfresco-discord> <Thijs> we went in to production with 5.1 (enterprise) nearing the end of 2016

2018-10-26 08:14:08 GMT <angelborroy> so more or less the same

2018-10-26 08:14:25 GMT <angelborroy> We have also only from 5.1 (Community) in production

2018-10-26 08:14:26 GMT <alfresco-discord> <Thijs> so more like 2 years ago, but we did start building the solution earlier that year

2018-10-26 08:16:09 GMT <angelborroy> No problem, I can admit you were the first...

2018-10-26 08:16:24 GMT <angelborroy> … but we were the first in presenting Dockerisation to the Community

2018-10-26 08:16:25 GMT <angelborroy> http://beecon.buzz/2016/talks/?id=20160125042

2018-10-26 08:16:26 GMT <alfbot> Title:BeeCon 2016 >> Talks (at beecon.buzz)

2018-10-26 08:16:26 GMT <angelborroy> :D

2018-10-26 08:18:40 GMT <alfresco-discord> <Thijs> I've seen that presentation, and congrats

2018-10-26 08:18:59 GMT <angelborroy> You know I’m just joking, right?

2018-10-26 08:19:18 GMT <angelborroy> Bored between building times, you know ;-)

2018-10-26 08:20:03 GMT <alfresco-discord> <Thijs> sure, I'm not trying to claim we were the first

2018-10-26 08:20:41 GMT <alfresco-discord> <yreg> Well, to be honest, I first met Xenit in that BeeCon, and they said they were already using docker in prod for a couple of clients for while already back then

2018-10-26 08:21:12 GMT <angelborroy> In fact Alfresco Team was using it internally before

2018-10-26 08:21:20 GMT <angelborroy> Philipe Dubois probably was the first of us

2018-10-26 08:21:41 GMT <angelborroy> But as @Thijs says, it does not matter too much

2018-10-26 08:21:49 GMT <alfresco-discord> <yreg> When I joined, they were already using it as their de facto deployment method for most of their clients

2018-10-26 08:22:39 GMT <alfresco-discord> <Thijs> @yreg I don't think we lied to you about that 😃

2018-10-26 08:23:07 GMT <alfresco-discord> <Thijs> The production date I'm talking about is specifically one big client

2018-10-26 08:24:01 GMT <alfresco-discord> <Thijs> However, we are slowly open sourcing parts of that build/setup process

2018-10-26 08:25:04 GMT <angelborroy> This was our starting point with Alfresco Dokerisation

2018-10-26 08:25:05 GMT <angelborroy> https://github.com/gui81/docker-alfresco/blob/master/.dockerignore

2018-10-26 08:25:06 GMT <alfbot> Title:docker-alfresco/.dockerignore at master · gui81/docker-alfresco · GitHub (at github.com)

2018-10-26 08:25:11 GMT <angelborroy> 2014

2018-10-26 08:25:43 GMT <angelborroy> I mean, we looked as this project to start our project

2018-10-26 08:25:55 GMT <angelborroy> So probably this guy (gui81) was one of the pioneers

2018-10-26 08:33:25 GMT *** jelly-home is now known as jelly

2018-10-26 08:34:50 GMT <AFaust> So #alfresco has devolved into a YouTube comments section with people stating "First!!1".... ;-)

2018-10-26 08:37:07 GMT <alfresco-discord> <Thijs> It doesn't even have to work, as long as I'm first.

2018-10-26 08:38:37 GMT <AFaust> Spoken like a true disruptor / startup person / web dev hipster with a new "cool" framework...

2018-10-26 08:39:32 GMT <angelborroy> +1

2018-10-26 08:40:12 GMT <alfresco-discord> <Thijs> You know me well, Axel

2018-10-26 08:41:14 GMT <angelborroy> When everyone of us will be using ADF & Angular (probably around 2024), Axel will start a conversation in this IRC to identify which was the LAST developer to use ADF :D

2018-10-26 08:41:33 GMT <alfresco-discord> <yreg> xD

2018-10-26 08:42:04 GMT <AFaust> angelborroy: That would require that Xenit (Thijs and colleagues) stop using their React-based stuff... otherwise "everyone" will be hard to achieve...

2018-10-26 08:42:43 GMT <alfresco-discord> <Thijs> at Xenit I'm considered one of the conservative people

2018-10-26 09:21:13 GMT <alfresco-discord> <bhagyas> I don't think they have any reason to drop React - at least in the coming future

2018-10-26 09:21:16 GMT <alfresco-discord> <bhagyas> ;P

2018-10-26 10:51:20 GMT <fwu2018> hello

2018-10-26 10:53:01 GMT <fwu2018> ppl, im still struggling with the reset password rest api calls...

2018-10-26 10:53:29 GMT <fwu2018> did you realize that we can make a request of a password reset using rest. Which will send an email to the user.

2018-10-26 10:53:53 GMT <fwu2018> we should then be able to reset the password using hte rest api, but there is no user id info for that

2018-10-26 10:53:59 GMT *** angelborroy_ is now known as angelborroy

2018-10-26 10:54:33 GMT <fwu2018> so actually, how the reset password and the request reset password rest api calls work toghether?

2018-10-26 10:54:56 GMT <alfresco-discord> <yreg> is there a token maybe ?

2018-10-26 10:55:06 GMT <fwu2018> hello yreg

2018-10-26 10:55:40 GMT <fwu2018> yes there is, actually 2: activiti id and a key

2018-10-26 10:56:08 GMT <fwu2018> nevetheless the reset password needs an userid on the url to call

2018-10-26 10:56:45 GMT <fwu2018> and the email that the request reset password sends doent include that userid. So in my external app I cant reset the password, because I dont know the user

2018-10-26 10:57:12 GMT <fwu2018> so, somehting is missing here

2018-10-26 10:57:45 GMT <alfresco-discord> <yreg> can you provide a paste with the source of the email being sent ?

2018-10-26 10:58:15 GMT <fwu2018> sure

2018-10-26 10:59:10 GMT <fwu2018> Here is how it should work:

2018-10-26 11:01:48 GMT <fwu2018> 1 - call the request reset password: alfresco_endpoint/alfresco/api/-default-/public/alfresco/versions/1/people/userXPTO/request-password-reset?alf_ticket=TICKET_a8b763cf9f147e9bbb59d927e9b4c0e9876e1ea5

2018-10-26 11:02:03 GMT <fwu2018> 2 - The user receives and email:

2018-10-26 11:02:40 GMT <fwu2018> alfresco_endpoint/share/page/reset-password?key=73649433-d5a4-41a0-b9ff-c36e633e81c6&id=activiti$30628

2018-10-26 11:03:14 GMT <fwu2018> 3 - In my app I should call the reset method:

2018-10-26 11:06:58 GMT <fwu2018> alfresco_/alfresco/api/-default-/public/alfresco/versions/1/people/???userXPTO??/reset-password

2018-10-26 11:07:50 GMT <fwu2018> and here is the problem: in 3 how can I know the user id = userXPTO?

2018-10-26 11:08:05 GMT <fwu2018> it shouldnt be necessary to know this in 3

2018-10-26 11:09:28 GMT <alfresco-discord> <yreg> indeed, you should probably raise a ticket in jira

2018-10-26 11:10:08 GMT <fwu2018> so one way to solve this would be to add the user id as a parameter to the email url endpoint

2018-10-26 11:23:45 GMT <alfresco-discord> <Loftux> Is there some sort of flag that enables a back to "advsearch" page from the faceted-search results page? When coming from the advsearch page, all the terms used are in the url and advsearch page can autofill from url parameters.

2018-10-26 11:24:26 GMT <alfresco-discord> <Loftux> Aikau has so much mysterious stuff built in already, so thought I should ask...

2018-10-26 11:27:35 GMT <AFaust> Loftux: No such flag that I am aware of - such a button could be easily customised in though. As always there is no reason for Alfresco not to have thought of that already, apart from being tunnel-visioned in their agile way...

2018-10-26 11:38:58 GMT <alfresco-discord> <Loftux> AFaust: just looked, there is one that shows up when you use the old "search" -results page. It is in the share-header.lib.js, which is Aikau...

2018-10-26 11:39:21 GMT <alfresco-discord> <mbui> Has anyone done similar extensions/solution this this: https://i.gyazo.com/89e5270fb73fadcf5cf3d4bb6dd11883.png I.e extending the Node Templates folder under Data Dictionary so you can "organize" your templates under folders. A customer has over 50 document templates and would like to have some kind of organisation of the templates.

2018-10-26 11:41:06 GMT <alfresco-discord> <Loftux> @mbui Have a look at this https://github.com/Redpill-Linpro/alfresco-document-templates 😃

2018-10-26 11:41:07 GMT <alfbot> Title:GitHub - Redpill-Linpro/alfresco-document-templates (at github.com)

2018-10-26 11:45:10 GMT <alfresco-discord> <yreg> @fwu2018 I have peeked to the code, and there is no way for you to include the user id in the email template

2018-10-26 11:45:42 GMT <alfresco-discord> <yreg> I assume the idea is to use that as a way to double check that the person doing the confirmation is actually the owner of the account

2018-10-26 11:46:10 GMT <alfresco-discord> <yreg> meaning they should provide the username again in the second form where they actually input the new password

2018-10-26 11:48:28 GMT <alfresco-discord> <mbui> @Loftux lol .D

2018-10-26 12:10:29 GMT <fwu2018> yreg, but in that way the rest api calls become useless in the concept of an external application to alfresco

2018-10-26 12:11:54 GMT <fwu2018> I dont want to keep state of these calls

2018-10-26 12:12:54 GMT <fwu2018> but I understand you point also

2018-10-26 12:12:57 GMT <fwu2018> your

2018-10-26 12:13:15 GMT <fwu2018> and I can always add there a new text box indeed

2018-10-26 12:17:53 GMT <fwu2018> yreg, thank you for your help!

2018-10-26 12:18:11 GMT <alfresco-discord> <yreg> urw

2018-10-26 13:12:08 GMT <alfresco-discord> <bhagyas> @mbui xD

2018-10-26 13:58:02 GMT <fwu2018> brb

2018-10-26 14:56:29 GMT <alfresco-discord> <douglascrp> in an old instance of alfresco 5.0.d, if I use the simple search to search for the following text 01326200805302004, it finds a word document containing this text, 01326-2008.

2018-10-26 14:56:40 GMT <alfresco-discord> <douglascrp> the value is the same, but excluding . and -

2018-10-26 14:56:57 GMT <alfresco-discord> <douglascrp> now, in alfresco 6, with solr6, the same search does not include this document

2018-10-26 14:57:20 GMT <alfresco-discord> <douglascrp> the only way to find the document is by searching for 01326-2008.

2018-10-26 14:57:48 GMT <alfresco-discord> <douglascrp> does anyone know what can be changed to make it work as the old version?

2018-10-26 14:58:15 GMT <alfresco-discord> <douglascrp> remember that this value is only present in the doc content, not in any property

2018-10-26 14:59:39 GMT <alfresco-discord> <douglascrp> ok, lunch time... brb

2018-10-26 15:46:31 GMT <alfresco-discord> <MorganP> The tokenization is probably not done in the same way by default in solr4 vs solr6

2018-10-26 16:01:11 GMT <AFaust> Ahh, great. My problem with the Community Kubernetes chart and ASS has already been fixed for Enterprise but the engineer did not think to port the change to the acs-community-deployment project.

2018-10-26 16:01:19 GMT <AFaust> https://github.com/Alfresco/acs-deployment/pull/24

2018-10-26 16:01:21 GMT <alfbot> Title:Fix repository short name in values.yaml for search alfresco-host by amohammedalfresco · Pull Request #24 · Alfresco/acs-deployment · GitHub (at github.com)

2018-10-26 16:37:48 GMT <alfresco-discord> <douglascrp> @MorganP yes, that is exaclty what I thought

2018-10-26 16:38:00 GMT <alfresco-discord> <douglascrp> I will have to check the options

End of Daily Log

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