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-03-14 07:38:39 GMT <alfbot> bhagyas: Sent 14 hours and 47 minutes ago: <resplin> Do you have a concern with our current contribution agreement?

2017-03-14 08:32:40 GMT <alfbot> angelborroy: Sent 15 hours and 58 minutes ago: <resplin> Please email your local representative and CC me. I can then escalate the email.

2017-03-14 08:33:36 GMT <angelborroy> ~later tell resplin finally I receive a reply, it seems that there was a sales kickoff all the week. Thanks!

2017-03-14 08:33:36 GMT <alfbot> angelborroy: The operation succeeded.

2017-03-14 08:43:44 GMT <DarkStar1> Morning all

2017-03-14 08:51:42 GMT <lufana> Hi all, I am using alfresco 5.2 community and created few content models to extend meta data fields. I deployed 6 models and upto 5th model deployment everything s fine, when I deployed the 6th model I am unable to apply aspect on documents. I am getting could not update aspect message. My question is, is there a limit for deploying models in community version?

2017-03-14 08:52:50 GMT <LMattioli> @lufana AFAIK no, no limit

2017-03-14 09:02:54 GMT <lufana> I could able to deploy the model but could not apply aspect

2017-03-14 09:08:39 GMT <lufana> can anyone put some light, where I am going wrong?

2017-03-14 09:41:32 GMT <LMattioli> ~later tell resplin Hi. I kwon that in the EA you're testing the SAML SSO in the ex-"Alfresco One" On Premise. I've a customer interested... mostly interested in the function itself and not in testing the function, can we have a chat about that? He would like to integrate Azure AD service.

2017-03-14 09:42:46 GMT <LMattioli> ~later tell resplin Hi. I kwon that in the EA you're testing the SAML SSO in the ex-"Alfresco One" On Premise. I've a customer interested... mostly interested in the function itself and not in testing the function, can we have a chat about that? He would like to integrate Azure AD service.

2017-03-14 09:42:46 GMT <alfbot> LMattioli: The operation succeeded.

2017-03-14 09:47:47 GMT <lufana> I redeployed the content model and now the aspect is applied successfully message has also come but the metadata field are not shown

2017-03-14 09:48:21 GMT <lufana> can anyone help me please

2017-03-14 10:21:10 GMT <fwu> hi all!

2017-03-14 10:44:23 GMT <Dirk23_> angelborroy: how could i prevent automatic user logout from alfresco?

2017-03-14 10:44:40 GMT <angelborroy> Dirk23_ by session expiration?

2017-03-14 11:10:21 GMT <fwu> ppl, I can see a form tab in the workflow bpmn with a table to add form properties to the workflow. Are these properties the same we define in the share xml files? If yes, how is the goal of specifying them here?

2017-03-14 11:11:57 GMT <Dirk23_> angelborroy: exactly

2017-03-14 11:12:59 GMT <angelborroy> you can include a session-timeout at web.xml

2017-03-14 11:13:20 GMT <Dirk23_> i had that, but i guess with update it got lost

2017-03-14 11:13:33 GMT <angelborroy> probably, yes

2017-03-14 11:14:05 GMT <angelborroy> check your documentation and re-configure it in your new server ;-)

2017-03-14 11:14:22 GMT <Dirk23_> what documentation? ;)

2017-03-14 11:14:26 GMT <angelborroy> haha

2017-03-14 11:15:28 GMT <angelborroy> it’s now very safe, but you can try this http://ezref.info/How+to+increase+session+timeout+in+Alfresco.html

2017-03-14 11:15:29 GMT <alfbot> Title: Ezref.info - How to increase session timeout in Alfresco (at ezref.info)

2017-03-14 11:15:59 GMT <angelborroy> By default is just 1 hour https://github.com/Alfresco/share/blob/master/share/src/main/webapp/WEB-INF/web.xml

2017-03-14 11:16:01 GMT <alfbot> Title: share/web.xml at master · Alfresco/share · GitHub (at github.com)

2017-03-14 11:16:11 GMT <Dirk23_> wasnt there something in that globalconfig File to do?

2017-03-14 11:16:39 GMT <angelborroy> nope

2017-03-14 11:16:44 GMT <Dirk23_> kk.

2017-03-14 11:16:46 GMT <angelborroy> just “web.xml” config

2017-03-14 11:16:59 GMT <Dirk23_> found it in my old web.xml

2017-03-14 11:17:15 GMT <angelborroy> you can be more fancy and try some web-fragment enhancement https://github.com/covolution/enablecors/blob/master/src/main/resources/META-INF/web-fragment.xml

2017-03-14 11:17:16 GMT <alfbot> Title: enablecors/web-fragment.xml at master · covolution/enablecors · GitHub (at github.com)

2017-03-14 11:17:40 GMT <Dirk23_> ähhhh. nope

2017-03-14 11:17:50 GMT <angelborroy> if you modify web.xml from webapps, your configuration will be lost after every “apply-amps” operation

2017-03-14 11:17:59 GMT <Dirk23_> kk

2017-03-14 11:19:03 GMT <Dirk23_> do i need to restart alfresco to have the changes beeing applied?

2017-03-14 11:19:22 GMT <angelborroy> sure

2017-03-14 11:31:35 GMT <Dirk23_> angelborroy: did i ask something? ;)

2017-03-14 12:09:04 GMT *** Dirk23_ is now known as Dirk23

2017-03-14 12:42:42 GMT <resplin> LMattioli: What questions do you have about the SAML module?

2017-03-14 12:42:42 GMT <alfbot> resplin: Sent 4 hours and 9 minutes ago: <angelborroy> finally I receive a reply, it seems that there was a sales kickoff all the week. Thanks!

2017-03-14 12:42:43 GMT <alfbot> resplin: Sent 2 hours and 59 minutes ago: <LMattioli> Hi. I kwon that in the EA you're testing the SAML SSO in the ex-"Alfresco One" On Premise. I've a customer interested... mostly interested in the function itself and not in testing the function, can we have a chat about that? He would like to integrate Azure AD service.

2017-03-14 12:43:04 GMT <resplin> We've never tested Alfresco with the Azure AD service. I would be interested in hearing whether it works.

2017-03-14 12:53:47 GMT <angelborroy> resplin why this issue has been released as a patch but has not been included in main branch?

2017-03-14 12:53:49 GMT <angelborroy> resplin https://issues.alfresco.com/jira/browse/MNT-12659

2017-03-14 12:54:03 GMT <angelborroy> should we re-open it or what?

2017-03-14 12:54:13 GMT <angelborroy> we are experimenting the same problem with 201605

2017-03-14 12:56:35 GMT <resplin> It was merged to head and released in February of 2015

2017-03-14 12:56:45 GMT <resplin> Something must have broken it again in a similar way.

2017-03-14 12:57:07 GMT <resplin> A new issue would be the best way to investigate it

2017-03-14 12:57:38 GMT <angelborroy> ok, will raise a new one

2017-03-14 12:57:39 GMT <angelborroy> thanks

2017-03-14 13:35:26 GMT <douglascrp> ~later tell angelborroy I am facing the exact same problem as you related with https://issues.alfresco.com/jira/browse/MNT-12659 in 201605

2017-03-14 13:35:26 GMT <alfbot> douglascrp: The operation succeeded.

2017-03-14 13:36:00 GMT <douglascrp> resplin, I am facing the exact same problem as angel related with https://issues.alfresco.com/jira/browse/MNT-12659 in 201605

2017-03-14 13:42:58 GMT <alfbot> yreg: Sent 20 hours and 50 minutes ago: <resplin> I got a better understanding today on why the history is hard to preserve when migrating from SVN to Git. We need to preserve all our Enterprise branches, and it makes things very messy.

2017-03-14 13:42:59 GMT <alfbot> yreg: Sent 20 hours and 49 minutes ago: <resplin> That's why my previous work hasn't been as useful as I expected.

2017-03-14 13:43:00 GMT <alfbot> yreg: Sent 20 hours and 47 minutes ago: <resplin> REPO-2196 and REPO-2195

2017-03-14 13:46:55 GMT * yreg finally got his ACE today :-D !

2017-03-14 13:47:17 GMT <douglascrp> yreg, \o/

2017-03-14 13:49:24 GMT <yreg> resplin, that makes sense, moving branches won't be as obvious as trunk, and will probably affect repository sizes (for commit history) if not done carefully

2017-03-14 13:49:30 GMT <yreg> thanks for the feedback

2017-03-14 13:56:36 GMT <LMattioli> resplin My customer want a release date and doesn't want to test. I'd like to propose a test anyway: how many work days you think I've to forecast?

2017-03-14 14:04:47 GMT <AFaust> yreg: What? No comment regarding https://github.com/Acosix/alfresco-utility/issues/1 from my GitHub stalker?

2017-03-14 14:04:48 GMT <alfbot> Title: Implement subsystem variants with semi-isolated class loader · Issue #1 · Acosix/alfresco-utility · GitHub (at github.com)

2017-03-14 14:07:11 GMT <yreg> AFaust, Believe it or not, I am not stalking you on github, it just happened that you made some new things on github while I was browsing the activity feed there once or twice !

2017-03-14 14:07:39 GMT <yreg> AFaust, cool !

2017-03-14 14:08:56 GMT <alfbot> angelborroy: Sent 33 minutes ago: <douglascrp> I am facing the exact same problem as you related with https://issues.alfresco.com/jira/browse/MNT-12659 in 201605

2017-03-14 14:09:32 GMT <yreg> AFaust, I really like the concept: provide alfresco extensions as pluggable hot-reloaded subsystems !

2017-03-14 14:10:38 GMT <yreg> I am eager to help with it starting from last day of BeeCon (Yes unfortunately I will not be able to attend the opening and the hackathon for personal reasons)

2017-03-14 14:11:48 GMT <AFaust> Too bad...

2017-03-14 14:12:30 GMT <AFaust> I actually needed this for one of my side-projects where I noticed I needed to include about 3-5 transitive dependencies of a library I want to include that may conflict with Alfresco

2017-03-14 14:13:51 GMT <AFaust> Some were just a minor/bugfix version up/down from what Alfresco includes, so may be able to fix - but others were vastly different

2017-03-14 14:22:45 GMT <angelborroy> douglascrp We’re searching a way to provide a patch before raising the issue

2017-03-14 14:23:12 GMT <angelborroy> dourglascrp but probably we’ll raise it later without a patch (it looks no that easy)

2017-03-14 14:23:23 GMT <angelborroy> douglascrp have you tried to patch this issue?

2017-03-14 14:24:40 GMT <douglascrp> angelborroy, hey

2017-03-14 14:24:43 GMT <douglascrp> not actually

2017-03-14 14:25:16 GMT <angelborroy> it’s not a big problem, as repo throws a RuntimeException and the action is not taken

2017-03-14 14:25:26 GMT <angelborroy> but is an ugly behaviour for user

2017-03-14 14:25:37 GMT <douglascrp> yes, it is

2017-03-14 14:59:57 GMT <yreg> How can I override one single subsystem bean in an amp?

2017-03-14 15:01:09 GMT <angelborroy> yreg yes

2017-03-14 15:01:21 GMT <angelborroy> https://github.com/keensoft/alfresco-summit-2014/blob/master/10-enhancements/06-custom-ldap-id/custom-ldap-id-repo/src/main/amp/config/alfresco/subsystems/Authentication/ldap/ldap-extension-context.xml

2017-03-14 15:01:22 GMT <alfbot> Title: alfresco-summit-2014/ldap-extension-context.xml at master · keensoft/alfresco-summit-2014 · GitHub (at github.com)

2017-03-14 15:02:09 GMT <yreg> angelborroy, as simple as that ?

2017-03-14 15:02:17 GMT <angelborroy> as simple or as complex

2017-03-14 15:02:18 GMT <angelborroy> but yes

2017-03-14 15:02:22 GMT <angelborroy> :D

2017-03-14 15:02:47 GMT <yreg> how can I ensure which bean defined last (which *-context.xml)

2017-03-14 15:03:12 GMT <yreg> or does itr have something to do with *-extension-context.xml ?

2017-03-14 15:04:01 GMT <angelborroy> yreg I’m searching your question

2017-03-14 15:04:08 GMT <angelborroy> yreg really I don’t know the answer

2017-03-14 15:04:21 GMT <resplin> LMattioli: The release of the Enterprise SAML module is expected next month.

2017-03-14 15:05:41 GMT <yreg> ok thanks angelborroy I will make my file -extension-context.xml and see if that works

2017-03-14 15:06:31 GMT <yreg> otherwise will try to track that down from subsystem classes

2017-03-14 15:06:37 GMT <yreg> source code

2017-03-14 15:06:40 GMT <angelborroy> yreg that sample works

2017-03-14 15:06:48 GMT <angelborroy> yreg I’m using it in 5.0.d and 5.1.g

2017-03-14 15:08:04 GMT <resplin> angelborroy and douglascrp: If one of you create an ALF issue, we can look into what happened

2017-03-14 15:08:31 GMT <angelborroy> resplin mikel is going to create the issue later today

2017-03-14 15:08:48 GMT <angelborroy> resplin he is trying to find a patch for you (and our customer) before descring the problem

2017-03-14 15:09:07 GMT <resplin> angelborroy: That would be useful. Thank you.

2017-03-14 15:10:43 GMT <LMattioli> resplin: Ok, thanks!

2017-03-14 15:16:47 GMT <douglascrp> yreg angelborroy or you can try to use the post processor axel uses

2017-03-14 15:19:00 GMT <yreg> douglascrp, hmm will need to check if that works on subsystems (probably not since they live in a child context that gets created from within the sybsystem bean in the main context)

2017-03-14 16:31:08 GMT <AFaust> yreg: Regarding your question "which bean defined last" - there are very few guarantees in terms of *-context.xml order for subsystems. The only guarantee you have is that alfresco/extension/subsystems/<Category>/<type>/<id>/*-context.xml will be loaded after alfresco/subsystems/<Category>/<type>/*-context.xml

2017-03-14 16:31:26 GMT <AFaust> yreg: And as always, I recommend using post-processors if you cannot be sure about the order...

2017-03-14 16:32:24 GMT <AFaust> It is the same approach I use to customise the out-of-the-box Synchronisation subsystem in https://github.com/Acosix/alfresco-mt-support/blob/master/repository/src/main/globalConfig/subsystems/Synchronization/default/acosix-mt-synchronization-context.xml

2017-03-14 16:32:25 GMT <alfbot> Title: alfresco-mt-support/acosix-mt-synchronization-context.xml at master · Acosix/alfresco-mt-support · GitHub (at github.com)

2017-03-14 16:32:35 GMT <yreg> AFaust, I suppose that would require some tweaking, as the example I have for postprocessor is crafted for the main context, not thes child contexts

2017-03-14 16:32:48 GMT <AFaust> No difference really...

2017-03-14 16:32:57 GMT <yreg> aha! Ignore myu last comment

2017-03-14 16:33:00 GMT <yreg> thanks

2017-03-14 16:44:09 GMT <mikel_asla> ~later tell douglascrp I've raised this issue about the mandatory params handling executing onActionFormDialog action ; https://issues.alfresco.com/jira/browse/ALF-21881

2017-03-14 16:44:09 GMT <alfbot> mikel_asla: The operation succeeded.

2017-03-14 16:46:10 GMT <mikel_asla> ~later tell resplin You may be interested too in this issue https://issues.alfresco.com/jira/browse/ALF-21881

2017-03-14 16:46:10 GMT <alfbot> mikel_asla: The operation succeeded.

2017-03-14 16:53:58 GMT <douglascrp> mikel_asla, thank you

2017-03-14 16:53:58 GMT <alfbot> douglascrp: Sent 9 minutes ago: <mikel_asla> I've raised this issue about the mandatory params handling executing onActionFormDialog action ; https://issues.alfresco.com/jira/browse/ALF-21881

2017-03-14 17:00:00 GMT <resplin> mikel_asla: Thank you.

2017-03-14 17:00:00 GMT <alfbot> resplin: Sent 13 minutes ago: <mikel_asla> You may be interested too in this issue https://issues.alfresco.com/jira/browse/ALF-21881

2017-03-14 17:08:04 GMT <yreg> AFaust,

2017-03-14 17:08:13 GMT <yreg> that is not working infortunately

2017-03-14 17:09:11 GMT <yreg> I was trying to override ldapInitialDirContextFactory in a way to make security checks on subsystem startup optional (depending on some configured properties)

2017-03-14 17:15:10 GMT <IanW1> yreg: not fun replacing ldap subsystem, AFaust has done it, I've also had a go at https://github.com/cggh/cggh-alfresco-extensions/tree/master/cggh-ldap-platform-amp

2017-03-14 17:15:11 GMT <alfbot> Title: cggh-alfresco-extensions/cggh-ldap-platform-amp at master · cggh/cggh-alfresco-extensions · GitHub (at github.com)

2017-03-14 17:21:41 GMT <AFaust> yreg IanW1 is right - not fun to do. I reimplemented most of ootb classes in https://github.com/Acosix/alfresco-mt-support so I can make changes like this when needed

2017-03-14 17:21:42 GMT <alfbot> Title: GitHub - Acosix/alfresco-mt-support: Adding missing multi-tenancy support for various subsystems and features (at github.com)

2017-03-14 17:23:25 GMT <yreg> IanW1, I have done prettymuch the samething, but postprocessor does not seem to be instanciated, let me recheck folder names

2017-03-14 17:26:17 GMT <yreg> AFaust, IanW1: does my context file need to go into instance folder or it can go directly under ldap folder ?

2017-03-14 17:26:36 GMT <yreg> That's the only difference between our setups as far as I can see !

2017-03-14 17:32:30 GMT <IanW1> yreg: can't be sure but I think I spent quite a while trying to find the correct place

2017-03-14 17:32:34 GMT <AFaust> Can be either

2017-03-14 17:33:03 GMT <AFaust> For a post processor it does not matter if in base or extension (instance) path

2017-03-14 17:33:42 GMT <yreg> I can confirm that putting the XML directly inside LDAP folder does not work

2017-03-14 17:35:53 GMT <AFaust> yreg: There must be some mistake you are overlooking. It definitely works if inside alfresco/subsystems/Authentication/ldap

2017-03-14 17:36:40 GMT <yreg> AFaust, it did not work

2017-03-14 17:36:52 GMT <yreg> now that I added ldap1 inside ldap, it works !

2017-03-14 17:37:04 GMT <yreg> from ldap1 folder I mean

2017-03-14 17:37:38 GMT <AFaust> Then you have been doing this in alfresco/extension/subsystems/Authentication/ldap which does NOT work - that is for siure

2017-03-14 17:37:57 GMT <yreg> wait a sec I was trying from extension, I will try without extension and keep you posted

2017-03-14 17:39:37 GMT <yreg> AFaust, true !

2017-03-14 17:40:42 GMT <yreg> Thank you IanW1 and AFaust, that solved my problem !

2017-03-14 21:18:52 GMT <fwu> back

2017-03-14 21:22:39 GMT <fwu> ppl, is it possible to use the group and person finder to select the group or the user one want to find for in an advanced find form?

2017-03-14 21:24:05 GMT <fwu> I ask this because I would like to set a group to a document property but then be able to find the document by group. However I would like to use the security groups defined in Alfresco, so that I dont need to manage a different user list.

End of Daily Log

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