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

2017-05-08 06:07:26 GMT <twen> bonjour

2017-05-08 06:53:09 GMT <alfbot> fcorti: Sent 22 hours and 49 minutes ago: <digcat> hope you are well, sorry I missed you before you headed off from Zarragoza, fun though wasnt it! :) just wondering if there is any official comment re this article http://www.cmswire.com/information-management/sold-thoma-bravo-buys-lexmarks-software-business-sells-part-to-hyland/ and alfresco considering a sale ? :)

2017-05-08 07:21:02 GMT *** ChanServ sets mode: +o fcorti

2017-05-08 07:21:31 GMT *** fcorti changes topic to "Alfresco discussion and collaboration. Stick around a few hours after asking a question. Logs: http://chat.alfresco.com Channel help: https://community.alfresco.com/ Official support for Enterprise subscribers: http://support.alfresco.com. Next event is Tech Talk Live #105 about the new SDK 3.0: https://www.alfresco.com/events/webinars/tech-talk-live-105-sdk-30"

2017-05-08 07:33:49 GMT <yreg> Good morning community

2017-05-08 07:37:38 GMT <fcorti> Hi digicat, last thursday we had a internal meeting about the querter, bla, bla, bla. Doug Donnerline quoted the acquisition of Kofax from Hyland and he explicitly said that Alfresco is not on the market at the moment... probably he saw this article. This is the most valuable info I have about this.

2017-05-08 07:37:47 GMT <fcorti> Good morning yreg

2017-05-08 07:37:59 GMT <fcorti> ...and community all, of course

2017-05-08 09:03:53 GMT <yreg> Hey angelborroy !

2017-05-08 09:04:00 GMT <angelborroy> morning

2017-05-08 09:04:12 GMT <yreg> Do you have an idea on when we should be expecting the recordings from Beecon

2017-05-08 09:04:25 GMT <angelborroy> we are rendering the videos now

2017-05-08 09:04:43 GMT <angelborroy> probably they are going to be all rendered this week

2017-05-08 09:04:52 GMT <angelborroy> we need some edit arragments

2017-05-08 09:04:54 GMT <yreg> (y) cool

2017-05-08 09:05:01 GMT <angelborroy> so I hope to be live next week

2017-05-08 09:05:30 GMT <yreg> if you need some volunteers to give a hand with that, do not hesitate to ask

2017-05-08 09:05:40 GMT * AFaust has been enjoying his favorite activity this morning: codesplaining Alfresco cloud synch bugs to Alfresco Support line-by-line...

2017-05-08 09:05:55 GMT <angelborroy> yreg sure, thanks!

2017-05-08 09:06:24 GMT <yreg> AFaust, sounds fun <grin>

2017-05-08 09:08:08 GMT <AFaust> It is always fun when they respond "we have found this issue and we believe it will fix your issue" and you have to respond "no, it will actually not because [you have not read the JavaDoc/implementation details/you don't understand how behaviour filters work]"

2017-05-08 09:08:24 GMT <AFaust> "this issue" => "this bugfix"

2017-05-08 09:09:20 GMT <AFaust> ... and them point them to ~9 instances where they are using their own public APIs incorrectly...

2017-05-08 09:11:29 GMT * DarkStar1 bids you all a good morning

2017-05-08 09:29:22 GMT <mbui> How do I get all mandatory aspects of a type?

2017-05-08 09:34:20 GMT <DarkStar1> ~later tell douglascrp ping

2017-05-08 09:34:20 GMT <alfbot> DarkStar1: The operation succeeded.

2017-05-08 09:35:23 GMT <DarkStar1> Has anyone here worked with any open source auditing frameworks?

2017-05-08 09:45:10 GMT <lufana> hi all

2017-05-08 09:47:58 GMT <fcorti> ~later tell digicat I replied to your question earlier this morning, let me know if you did not receive the answer. ;-)

2017-05-08 09:47:59 GMT <alfbot> fcorti: The operation succeeded.

2017-05-08 09:48:34 GMT <lufana> how to disable the approve and reject button dynamically in workflow

2017-05-08 10:02:52 GMT <AFaust> mbui: DictionaryService.getType(QName) and from the result of that getDefaultAspects() or getDefaultAspectNames()

2017-05-08 10:06:09 GMT <mbui> AFaust: Thanks

2017-05-08 10:06:34 GMT <AFaust> lufana: Depends on what you mean by "dynamic" - if it is to be based on user input, then there is no such functionality (other than mandatory field validation). If it is meant to be based on some workflow internal state / data, then you need to code that into your process definition + task model via the allowed transitions. (In jBPM you could set the bpm:hiddenTransitions to hide certain decisions but Activiti should not use that

2017-05-08 10:06:34 GMT <AFaust> AFAIK)

2017-05-08 10:11:17 GMT <lufana> @AFaust:thank you ,I need to disable the button based on assignee selection

2017-05-08 10:11:40 GMT <lufana> can you please provide related links

2017-05-08 10:11:43 GMT <AFaust> That would be user input - so not supported out of the box.

2017-05-08 10:12:04 GMT <AFaust> Or did you mean the "current assignee"?

2017-05-08 10:13:20 GMT <AFaust> There are no related links I could provide. This is nothing generic that is documented in a single place or where there are simple tutorials. This requires regular software development where generic principles need to be applied for a custom outcome...

2017-05-08 10:13:31 GMT <lufana> yes in form filed i am selecting assignee on review step

2017-05-08 10:24:09 GMT <LMattioli> Is this the right place to ask for a philosophical question about metadata? I mean, I've a property defined as <type>d:date</type> but when I search for it, at least via CMIS, also Time and Timezone are important.

2017-05-08 10:25:43 GMT <LMattioli> so my document "Received" the 1st March in Rome has been received the 28th February in New York

2017-05-08 10:26:37 GMT <LMattioli> but if I needed a Datetime properties, I would have used a datetime property and not a date one

2017-05-08 10:27:53 GMT <LMattioli> I think that this think has already been debated: do you have a Forum/Jira/Atlassian/Chat to point me to?

2017-05-08 10:37:38 GMT <AFaust> LMattioli: You could check community.alfresco.com which has all the old posts / threads from forums.alfresco.com migrated to it

2017-05-08 10:37:58 GMT <AFaust> But I don't know any thread / discussion that I ever saw about that topic.

2017-05-08 10:38:21 GMT <AFaust> Questions there are typically way more basic...

2017-05-08 10:39:45 GMT <AFaust> But AFAIK you should be able to specify a timezone when querying a d:date property via CMIS

2017-05-08 10:41:38 GMT <AFaust> e.g. SELECT * from cmis:document D join my:aspect A on A.cmis:objectId = D.cmis:objectId WHERE A.my:date >= TIMESTAMP '2017-03-01T:00:00:00.000Z+01:00' AND A.my:date < TIMESTAMP '2017-03-02T:00:00:00.000Z+01:00'

2017-05-08 10:42:29 GMT <AFaust> When the time really is important then of course you should use d:datetime.

2017-05-08 10:43:32 GMT <AFaust> In my example it is just used to make sure that the comparison value uses the clear date boundary in the timezone of Rome (which should have been UTC+1 on March 1st, right?)

2017-05-08 10:44:12 GMT <LMattioli> AFaust Yes, you can specify a Timezone in a CMIS query. I only though it was not important using a date property.

2017-05-08 10:44:25 GMT <AFaust> Minor correction to my example: remove the "Z" from the value (I typed it unconsciously because I am used to it)

2017-05-08 10:44:48 GMT <AFaust> It is still important since there is never a unversal global date

2017-05-08 10:45:34 GMT <AFaust> Especially given how some Pacific islands are on UTC+14

2017-05-08 10:48:35 GMT <AFaust> This means there are 1-2 hours a day where there are actually 3 different date values around the globe...

2017-05-08 10:49:05 GMT <AFaust> (not to mention the other calendars that some regions use)

2017-05-08 10:50:26 GMT <AFaust> Only if you stored the date as a d:text then it would be a value independent of the timezone (well, not really independent, but likely fixed based on the server timezone)

2017-05-08 10:50:57 GMT <twen> hola again :)

2017-05-08 10:53:16 GMT <LMattioli> IMHO the Universal Global date is the philosophical part of the question... I will make a post on the community forum to leave some trace for future developers. In this case I think there isn't a right vision, you've only to choose one and document it.

2017-05-08 10:53:37 GMT <LMattioli> Thanks for the chat AFaust

2017-05-08 11:02:25 GMT <KSES> hi guys hope you are all well, we authenticate alfresco with ldap which works perfect. but for some reason it shows the user name and surname funny, the name of all my users is null and the surname shows. any idea where the issue can be as all my other apps uses the same ldap server and it displays fine

2017-05-08 11:08:27 GMT <KSES> this is my ldap auth properties: https://pastebin.com/pdX9A3eT

2017-05-08 11:08:28 GMT <alfbot> Title: ldap propreties - Pastebin.com (at pastebin.com)

2017-05-08 11:10:52 GMT <angelborroy> KSES looks like givenName is not properly mapped to Alfresco

2017-05-08 11:11:29 GMT <angelborroy> Has your “givenName” attribute values in your LDAP?

2017-05-08 11:11:58 GMT <KSES> what do you mean sorry for asking this

2017-05-08 11:12:11 GMT <KSES> ill check my users properties

2017-05-08 11:12:38 GMT <angelborroy> You’ve mapped “givenName” to user name

2017-05-08 11:12:53 GMT <KSES> what should it be

2017-05-08 11:13:08 GMT <angelborroy> I don’t know

2017-05-08 11:13:13 GMT <angelborroy> where is the name on your LDAP?

2017-05-08 11:13:25 GMT <angelborroy> which is the attribute in your LDAP holding user names?

2017-05-08 11:14:59 GMT <KSES> when i check my properties in ldap the uesrname is uid

2017-05-08 11:15:15 GMT <KSES> should i set that givenName value to uid

2017-05-08 11:18:44 GMT <angelborroy> KSES Change

2017-05-08 11:18:45 GMT <angelborroy> ldap.synchronization.userFirstNameAttributeName=givenName

2017-05-08 11:18:47 GMT <angelborroy> for

2017-05-08 11:18:50 GMT <angelborroy> ldap.synchronization.userFirstNameAttributeName=uid

2017-05-08 11:18:52 GMT <angelborroy> and it’s done

2017-05-08 11:19:02 GMT <KSES> thought so just wanted to confirm

2017-05-08 11:38:33 GMT <sam___> hi all

2017-05-08 11:39:09 GMT <sam___> how to get versions list of a document using cmis query ?

2017-05-08 11:39:52 GMT <sam___> tried 'cmis:searchAllVersions = true'

2017-05-08 11:40:02 GMT <sam___> but not working

2017-05-08 11:42:47 GMT <AFaust> sam___: Alfresco by default simply does not support querying across all versions. Only the latest version can be queried.

2017-05-08 11:43:23 GMT <AFaust> In Alfresco 5.2 + Alfresco Search Services there is technically support for including the version store in queries but I do not know if that is exposed in CMIS yet

2017-05-08 11:43:25 GMT <sam___> so how to get version list for a file ?

2017-05-08 11:43:33 GMT <sam___> this is needed for me..

2017-05-08 11:45:09 GMT <sam___> and thanks for the reply, AFaust

2017-05-08 11:45:34 GMT <AFaust> You have the search result and then do another call to get its version series...

2017-05-08 11:46:09 GMT <AFaust> Using the getAllVersions operation (http://docs.oasis-open.org/cmis/CMIS/v1.1/errata01/os/CMIS-v1.1-errata01-os-complete.html#x1-3440006)

2017-05-08 11:46:10 GMT <alfbot> Title: Content Management Interoperability Services (CMIS) Version 1.1 (at docs.oasis-open.org)

2017-05-08 12:08:23 GMT <sam___> AFaust: i want to use cmis for this

2017-05-08 12:09:32 GMT <AFaust> What I told you was regarding the use of CMIS, so I don't understand this statement now...

2017-05-08 12:19:38 GMT <sam___> AFaust: i tried -default-: SELECT * FROM cmis:document where cmis:name = 'kloudless-error.txt' AND cmis:versionSeriesId = '883b0e5b-3b1f-440f-9b8b-3053eafc7b69'

2017-05-08 12:20:04 GMT <sam___> but gives error

2017-05-08 12:20:05 GMT <AFaust> I already said you cannot query versions...

2017-05-08 12:20:21 GMT <AFaust> You have to use the getAllVersions operation on a specific search result...

2017-05-08 12:20:41 GMT <AFaust> query != getAllVersion

2017-05-08 12:20:55 GMT <sam___> unfortunately i can't use methods

2017-05-08 12:21:29 GMT <AFaust> What are you doing that you "cannot use methods"? Executing a query is using a CMIS operation...

2017-05-08 12:21:48 GMT <AFaust> Or are you talking about using a CMIS query from within Alfresco?

2017-05-08 12:21:49 GMT <sam___> ya

2017-05-08 12:29:56 GMT <sam___> AFaust: are you able to follow my requirement ?

2017-05-08 12:31:35 GMT <AFaust> No, because you provided barely any information and seem to be confused by what I have already provided as hints.

2017-05-08 12:32:25 GMT <AFaust> Or can't accept the basic premise that you "cannot get versions of a document via a query"

2017-05-08 12:33:30 GMT <sam___> so how to achieve this ?

2017-05-08 12:58:20 GMT <sam___> AFaust: any idea ?

2017-05-08 13:00:00 GMT <AFaust> Yes - the way that I already laid down...

2017-05-08 13:02:42 GMT <Modestas_> AFaust: are you here?

2017-05-08 13:08:58 GMT <sam___> AFaust: thanks a lot for that info :)

2017-05-08 13:12:58 GMT <fwu> hi all!

2017-05-08 13:21:42 GMT <fwu> ppl, any ideas on this one:

2017-05-08 13:22:38 GMT <fwu> in my-tasks page, if I add a third option in the Tasks filter, can I easily only display it to certain group of users?

2017-05-08 13:27:47 GMT <alfbot> douglascrp: Sent 3 hours and 53 minutes ago: <DarkStar1> ping

2017-05-08 13:28:05 GMT <douglascrp> DarkStar1, pong

2017-05-08 13:28:08 GMT <douglascrp> morning guys

2017-05-08 13:29:25 GMT <DarkStar1> douglascrp: hey dude. I'll have to WA you later. I'm neck deep in some work. :)

2017-05-08 13:42:56 GMT <douglascrp> DarkStar1, ok, no problem

2017-05-08 13:43:10 GMT <douglascrp> DarkStar1, you know where I'm hiding :D

2017-05-08 13:43:19 GMT <douglascrp> cesarcapi, hey man

2017-05-08 13:43:36 GMT <douglascrp> we are still fighting against that problem, but now with the libreoffice community

2017-05-08 14:02:58 GMT <cesarcapi> douglascrp, I tested the pptx. I opened it in my ubuntu 16.04 and Libreoffice 5. It transformed quite fast (not so fast but it did). The thing was that the generated PDF was wrong... very slow to render in evince (pdf default program in Ubuntu). So, do you think it is a general issue, or is it only related to this document ?

2017-05-08 14:24:20 GMT <douglascrp> cesarcapi, I think with this document

2017-05-08 14:24:29 GMT <douglascrp> here it took 8 minutes in the last time I tried it

2017-05-08 14:24:42 GMT <douglascrp> and I see the same problem with the generated PDF... it is slow to render

2017-05-08 14:31:46 GMT <cesarcapi> Probably the problems with the PDF rendering (not exactly with the transformation) were related with your CPU throttling

2017-05-08 14:32:18 GMT <douglascrp> I am creating an issue report in the libreoffice project

2017-05-08 15:09:02 GMT <douglascrp> cesarcapi, https://bugs.documentfoundation.org/show_bug.cgi?id=104479#c26

2017-05-08 15:09:05 GMT <alfbot> Title: 104479 – Export as PDF produces much larger PDFs (at bugs.documentfoundation.org)

2017-05-08 15:12:25 GMT <DarkStar1> douglascrp: Will ping you later.

2017-05-08 16:33:10 GMT <fwu> ppl, how can I set a folder to auto manage duplicate document names?

2017-05-08 16:34:00 GMT <fwu> right now when my workflow tries to save documents with the same name in a specific folder, I get an error "duplicate child name...."

2017-05-08 16:34:12 GMT <fwu> how can I overcome this?

2017-05-08 16:34:32 GMT <fwu> i cant chnage my code, because that would change the workflow definition

2017-05-08 16:35:02 GMT <fwu> so for the existent workflows I need to set this in the folder

2017-05-08 16:40:33 GMT <fwu> if there isnt an automatic way to set that each colission should create an additional file with a number as a sufix, can I solve this with a folder rule? In order to set the new name before the error is thromw in the workflow?

2017-05-08 16:47:14 GMT <AFaust> There is no automatic way to handle this. Your workflow logic should be adapted. Alternatively, you might want to create a rule / behaviour that changes the name of a document after it was put in the folder so that the next document is unlikely to conflict (e.g. rename documents to their UUID)

2017-05-08 16:51:09 GMT <fwu> AFaust, thank you. I will look at that. I really need to change the names in a rule for now, because the current workflows need to work.

2017-05-08 17:16:46 GMT <fwu> AFaust, if I create a folder in the repository and then I upload the same file in it, the second is automatically renamed with a incremental number. Who is doinf this? Is the upload component?

2017-05-08 17:16:51 GMT <fwu> doing

2017-05-08 17:18:07 GMT <AFaust> yes

2017-05-08 17:32:43 GMT <fwu> ok, nice! thank you

2017-05-08 17:41:03 GMT <fwu> AFaust, one more thing: I realize that in the folder rule I can specify the name of a document when the document is created in the folder. I then have a field to specify the document name. Do you know if I can set a dynamic value here? If yes, I wouldnt need to create a specific script for this...

2017-05-08 18:05:40 GMT <douglascrp> do you guys any open source addon that executes logic in the server without saving back any content to alfresco?

2017-05-08 18:06:03 GMT <douglascrp> I have some bash scripts I want to get executed by the user, but it is not a transformation

2017-05-08 18:06:36 GMT <douglascrp> so, basically, an action such execution starts a process in the server, not necessarily related with alfresco

2017-05-08 18:06:50 GMT <douglascrp> I am trying to remember about any reference on the topic

2017-05-08 18:14:23 GMT <douglascrp> never mind... I remembered about this one https://github.com/keensoft/alfresco-simple-ocr

2017-05-08 18:14:24 GMT <alfbot> Title: GitHub - keensoft/alfresco-simple-ocr: Simple OCR action for Alfresco (at github.com)

2017-05-08 19:04:40 GMT <fwu> back!

End of Daily Log

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