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-03 05:58:41 GMT <twen> bonjour

2017-05-03 07:02:27 GMT <digcat> ~later tell resplin hope all good your end and you manage to get your churros! just a quick one re https://issues.alfresco.com/jira/browse/RM-5113 do i need to add more to this ?

2017-05-03 07:02:27 GMT <alfbot> digcat: The operation succeeded.

2017-05-03 07:25:07 GMT <qwebirc81930> Hi Guys, I have to synchronize job title and mobile number from ldap, I was able to synchroniza all the users and organization name etc. In order to synchronize job title and mobile number do I need to make any extra configurations ? or need to add some property in alfresco-global.properties file

2017-05-03 07:42:02 GMT <AFaust> qwebirc81930: Unfortunately there exist no predefined configuration properties that you can set for jobTitle and/or mobile number. You would have to provide some custom Spring bean XML configuration to define the mappings.

2017-05-03 07:43:08 GMT <AFaust> Basically you would have to extend the "personAttributeMapping" map - default can be seen here: https://github.com/Alfresco/community-edition-old/blob/master/projects/repository/config/alfresco/subsystems/Authentication/common-ldap-context.xml#L428

2017-05-03 07:43:09 GMT <alfbot> Title: community-edition-old/common-ldap-context.xml at master · Alfresco/community-edition-old · GitHub (at github.com)

2017-05-03 08:06:44 GMT <Loftux> So alfresco create a 201704 release that is exactly the same as 201702, but only with RM added? Alfresco is absolutely hopeless for its release naming scheme :(

2017-05-03 08:07:01 GMT <Loftux> https://community.alfresco.com/docs/DOC-6847-alfresco-community-edition-file-list-201704

2017-05-03 08:07:03 GMT <alfbot> Title: Alfresco Community Edition file list 201704 | Alfresco Community (at community.alfresco.com)

2017-05-03 08:07:56 GMT <Loftux> It doesn't even make sense from a marketing viewpoint

2017-05-03 08:54:52 GMT <AFaust> Loftux: If I understood resplin correctly, the main drive in March was supposed to be in separating out the projects on a SCM level. From that perspective I could understand why there are no functional changes - it is basically just a technical release.

2017-05-03 08:58:31 GMT <AFaust> And isn't the release naming scheme is purely technical? A date-based name for the complete bundle instead of some attempt at a marketing based scheme that somehow tries to encompass everything. So it was never meant to make sense from a marketing perspective, I guess...

2017-05-03 09:04:33 GMT <Loftux> AFaust: They could have made a new build of repo and share while at it, there are some security fixes. Still don't see why an extension release warrants a new "release" of Share and Repo. Should there be a 2017xx when AOS gets a new version for example?

2017-05-03 09:06:19 GMT <AFaust> It is supposed to be the montly "stable" or "early access" release, so if in June Repo/Share do not have a different "stable" version or there is no significant new feature in 5.3/6.0 but AOS has seen a release, then yes, 201706 will have unchanged Repo/Share but an update of AOS.

2017-05-03 09:07:44 GMT <AFaust> AFAIK there is no new feature development yet so no point in switching to "EA" builds. And as per "usual" policy once Enterprise is out there will no more updates to the Community version unless there are serious, showstopper security issues...

2017-05-03 09:08:22 GMT <AFaust> I am not saying I agree with that policy, but this is what I have learnt to expect...

2017-05-03 09:14:09 GMT <Loftux> I expect there to be changes in a release (fixes and/or new features) compared to what's in the previous release. But maybe that is just me.

2017-05-03 09:14:43 GMT <Loftux> I'm doing my own release anyway

2017-05-03 09:41:19 GMT <DarkStar1> Hi people

2017-05-03 09:45:56 GMT <joyson> qwebirc81930 >> Thanks AFaust

2017-05-03 09:51:49 GMT <fwu> hi all!

2017-05-03 11:18:59 GMT <Modestas> can anyone explain to me

2017-05-03 11:19:00 GMT <Modestas> Association: Association[ class=ClassDef[name={http://www.nomagic.com/collaborator/model/1.0}SearchContentFolder], name={http://www.nomagic.com/collaborator/model/1.0}searchContents, target class={http://www.nomagic.com/collaborator/model/1.0}SearchContent, source role=null, target role=null] Required Source Type: {http://www.nomagic.com/collaborator/model/1.0}SearchContentFolder Actual Source Type: {http://www.nomagic.c

2017-05-03 11:19:06 GMT <Modestas> what is wrong

2017-05-03 11:20:47 GMT <Modestas> model: https://pastebin.com/C6B2TseQ

2017-05-03 11:20:48 GMT <alfbot> Title: <type name="nm:SearchContentFolder"> <title>Document Conten - Pastebin.com (at pastebin.com)

2017-05-03 11:51:31 GMT <AFaust> ~flushlog

2017-05-03 11:51:31 GMT <alfbot> AFaust: Woooosh, your log has been flushed...

2017-05-03 11:53:24 GMT <AFaust> Modestas: What is there to explain? I don't see anything that would be wrong / in need of explaining... you have an association with a source type, and have used that association on a node with a different type (apparently)

2017-05-03 11:53:40 GMT <AFaust> Unfortnuately your message is incomplete so it is not clear what the "Actual Source Type" is...

2017-05-03 11:55:14 GMT <alfbot> yreg: Sent 4 days, 23 hours, and 2 minutes ago: <digcat> when your back on the ground, vote on this issue when you get a chance https://mattermost.atlassian.net/browse/PLT-541

2017-05-03 11:55:15 GMT <alfbot> yreg: Sent 1 day, 2 hours, and 25 minutes ago: <ohej> pong.. (two weeks later) :P

2017-05-03 11:56:08 GMT <Modestas> AFaust: NodeRef viewNode = nodeService.createNode(searchContentNode, CollaboratorModel.ASSOC_SEARCH_CONTENTS, DocumentHelper.getQName(objectID), CollaboratorModel.TYPE_SEARCH_CONTENT, properties).getChildRef();

2017-05-03 11:56:50 GMT <Modestas> somehow I am not able to create node of type SearchContent

2017-05-03 11:56:58 GMT <yreg> ~later tell digcat done !

2017-05-03 11:56:58 GMT <alfbot> yreg: The operation succeeded.

2017-05-03 11:57:28 GMT <Modestas> when parent is instance of SearchContentFolder

2017-05-03 11:57:34 GMT <yreg> ~later tell ohej that was for the issue with the dependencies with SDK3.0 but we sorted that out already on skype !

2017-05-03 11:57:34 GMT <alfbot> yreg: The operation succeeded.

2017-05-03 11:57:39 GMT <yreg> Hello Channel

2017-05-03 11:58:36 GMT <AFaust> Modestas: Is the parent "really" SearchContentFolder? Because your variable name for the parent is called "searchContentNode" and not "...Folder"...

2017-05-03 11:59:09 GMT <Modestas> yes SearchContentFolder

2017-05-03 11:59:33 GMT <Modestas> okey.. kill me..

2017-05-03 11:59:37 GMT <Modestas> AFaust: thank you!!!!!

2017-05-03 11:59:42 GMT <fwu> ppl, from where the variable hiddenTaskTypes from task-list.js is populated?

2017-05-03 12:02:08 GMT <fwu> and how filters from the task-list config are set. Because I cant set an exclude parameter. This seems hard-coded somewhere...

2017-05-03 12:03:56 GMT <AFaust> fwu: share-config.xml - customisations should go into share-config-custom.xml

2017-05-03 12:04:21 GMT <AFaust> The share-config.xml contains a <config> section with evaluator "string-compare" and condition "Workflow" for this

2017-05-03 12:06:23 GMT <AFaust> The task-list filters are all implemented in the workflow-actions.js AFAIK and are basically mapped to URI parameters for the Ajax call.

2017-05-03 12:06:45 GMT <AFaust> The backend web script only supports some very specific filter parameters so you typically cannot add any custom filters...

2017-05-03 12:06:54 GMT <AFaust> ... at least without reimplementing the web script

2017-05-03 13:22:27 GMT <fwu> AFaust, the problem is that if I set the exclude parameter, I believe it is being overwritten

2017-05-03 13:22:44 GMT <fwu> nevertheless, let me look to those files

2017-05-03 14:56:01 GMT <alfbot> digcat: Sent 2 hours and 59 minutes ago: <yreg> done !

2017-05-03 15:13:27 GMT <mbui> Is it possible to get all possible properties from a type? (including aspects)

2017-05-03 15:17:04 GMT <AFaust> mbu: You do this via the DictionaryService but you need recursive logic, e.g. get the type + its properties, then get the type's mandatory aspects + their properties, then the aspect's mandatory aspects + their properties, ...

2017-05-03 15:18:39 GMT <mbui> AFaust: cool, thanks :)

2017-05-03 17:51:19 GMT <fwu> AFaust, for the current webscript, is it possible to filter by task type?

2017-05-03 17:51:44 GMT <fwu> I see a properties filter but I dont know if it can be used for this...

2017-05-03 17:52:17 GMT <AFaust> fwu: No - it is only possible to exclude, but not to filter on a specific set of types.

2017-05-03 17:52:39 GMT <fwu> right now I have a list of hundreds of tasks, most od a specific type that will be closed by code. But they are in the list with all the other "real" tasks

2017-05-03 17:53:04 GMT <fwu> the exclude is also for task type?

2017-05-03 17:53:11 GMT <fwu> I thought it was for workflow type

2017-05-03 17:53:35 GMT <fwu> if it works for task type I may use it

2017-05-03 18:03:05 GMT <fwu> still, even if it works, I cannot exclude.... becuase the exclude is being overwriten somewhere...

2017-05-03 18:17:15 GMT <AFaust> There are two exclude - one for task types and one for workflows.

2017-05-03 18:17:33 GMT <AFaust> The one for task types affects the task-list, the one for workflows affects only the start-workflow page

2017-05-03 19:28:35 GMT <fwu> back

End of Daily Log

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