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-09-08 00:39:40 GMT *** mmccarthy1 is now known as mmccarthy

2017-09-08 00:46:24 GMT *** mmccarthy1 is now known as mmccarthy

2017-09-08 04:19:27 GMT <alfbot> xkahn: Sent 7 hours and 4 minutes ago: <resplin> How did you figure out which extension it was?

2017-09-08 07:16:29 GMT *** yregaieg is now known as yreg

2017-09-08 07:16:39 GMT <yreg> Morning everyone!

2017-09-08 09:01:59 GMT <MorganP> Anyone already tried/succeeded to create a link to a Document/Folder that would open in a Windows Explorer window?

2017-09-08 09:02:37 GMT <Tichodroma> sounds like CMIS

2017-09-08 09:02:38 GMT <MorganP> Building the URL wouldn't be hard using AOS but clicking on this link would open it in a Browser since it's a URL

2017-09-08 09:02:52 GMT <Tichodroma> what would be the protocol of this URL?

2017-09-08 09:03:04 GMT <MorganP> Anything that would work

2017-09-08 09:03:13 GMT <Tichodroma> and does you OS have the Windows Explorer registered to handle this protocol?

2017-09-08 09:03:25 GMT <MorganP> I was just thinking that this doesn't exist and it would be cool

2017-09-08 09:06:41 GMT <MorganP> By default all Windows Explorer can handle https but the URLs will not open by default in it since it is more a browser stuff

2017-09-08 09:07:50 GMT <MorganP> So building the URL wouldn't be hard but forcing Windows to open the URL in the file explorer might be trickier

2017-09-08 09:08:01 GMT <MorganP> Or at least I have no clue how to do that

2017-09-08 09:08:22 GMT <MorganP> But it sounds feasible since SharePoint can do that

2017-09-08 09:13:17 GMT <yreg> MorganP, if you create a shortcut on windows to a webdav/ftp location, that might actually work

2017-09-08 09:14:08 GMT <MorganP> Not sure I understand

2017-09-08 09:14:19 GMT <yreg> just remember to either use https for webdav or to tell your system to accept insecure webdav by changing few registries

2017-09-08 09:14:33 GMT <MorganP> I always use HTTPS for everything

2017-09-08 09:14:44 GMT <MorganP> mounting the network location isn't hard

2017-09-08 09:15:08 GMT <MorganP> but how to tell Windows to use this network location in a Windows Explorer and not a browser

2017-09-08 09:21:02 GMT <yreg> if you create a shortcut in a folder with an ftp location it would open by default in explorer (at least last time I checked)

2017-09-08 09:21:13 GMT <yreg> otherwise you can follow this https://stackoverflow.com/questions/42426870/how-to-add-my-protocol-into-default-programs-in-windows-10

2017-09-08 09:21:14 GMT <alfbot> Title: registry - How to add my protocol into default programs in windows 10? - Stack Overflow (at stackoverflow.com)

2017-09-08 09:22:31 GMT <yreg> but following that route can be really tricky

2017-09-08 09:29:12 GMT <MorganP> I will check this default program stuff

2017-09-08 10:49:20 GMT <syed_> Hi, I am using alfresco 5.2d and would like to encrypt my content when it comes into alfresco and should be able to decrypt it when needed. Is there any way I could go with. Pls help.

2017-09-08 10:50:04 GMT <MarkTielemans> You should look into Contentstore types: http://docs.alfresco.com/5.2/concepts/cs-types.html

2017-09-08 10:50:05 GMT <alfbot> Title: Content store types | Alfresco Documentation (at docs.alfresco.com)

2017-09-08 10:50:10 GMT <MarkTielemans> The encrypted contentstore does exactly what you need

2017-09-08 11:05:23 GMT <syed_> In this link address it says that the content once encrypted could not be decrypted and also requires a license for using encryption and decryption of content. Can this be used in community edition without license? need some clarity pls.

2017-09-08 11:05:32 GMT <syed_> http://docs.alfresco.com/5.2/concepts/encrypt-consideration.html

2017-09-08 11:05:34 GMT <MorganP> No

2017-09-08 11:05:34 GMT <alfbot> Title: Issues to consider before using Encrypted content store | Alfresco Documentation (at docs.alfresco.com)

2017-09-08 11:06:09 GMT <MorganP> If you want Documents/Config files to be encrypted at rest, you need the Enterprise license of the Content Services with the add-on Encryption

2017-09-08 11:07:31 GMT <MorganP> A possible workaround would be to use the encryption at the Operating System level directly

2017-09-08 11:07:34 GMT <MorganP> And not Alfresco

2017-09-08 11:07:41 GMT <MorganP> Never tried that

2017-09-08 11:08:08 GMT <syed_> then what do the encryption described http://docs.alfresco.com/5.2/concepts/encrypt-consideration.html does?

2017-09-08 11:08:09 GMT <alfbot> Title: Issues to consider before using Encrypted content store | Alfresco Documentation (at docs.alfresco.com)

2017-09-08 11:12:54 GMT <syed_> @alfbot: I have read the Issues to consider before using Encrypted content store, in the second point it says that the content encrypted cannot be decrypted back. I am a bit confused. pls help

2017-09-08 11:13:35 GMT <syed_> and also what all content it encrypts?

2017-09-08 11:23:00 GMT <yreg> syed_, try out alfresco-simple-content-stores

2017-09-08 11:23:02 GMT <yreg> https://github.com/Acosix/alfresco-simple-content-stores/wiki/Encrypting-Store

2017-09-08 11:23:03 GMT <alfbot> Title: Encrypting Store · Acosix/alfresco-simple-content-stores Wiki · GitHub (at github.com)

2017-09-08 11:26:17 GMT <syed_> yreg: does it require any license or open source

2017-09-08 11:30:01 GMT <syed_> As it is mentioned to enable addon. do we need to add it seperatley or it comes with alfresco

2017-09-08 11:30:02 GMT <syed_> ?

2017-09-08 11:34:02 GMT <AFaust> syed_: No license required (see the GitHub - it states it uses Apache License)

2017-09-08 11:34:28 GMT <AFaust> syed_: Since this is an addon you need to add it separately

2017-09-08 11:37:48 GMT <AFaust> syed_: Some of the issues listed for the Alfresco encryted content store do not apply to the simple-content-stores addon, e.g. it can be used together with other content stores, i.e. compression / routing, and can be used in a multi-tenant scenario (the addon provides routing stores to handle tenants)

2017-09-08 11:39:48 GMT <syed_> AFaust: what is the name of addon for simple content store?

2017-09-08 11:40:21 GMT <AFaust> syed_: It is the one that yreg has linked for you...

2017-09-08 11:44:33 GMT <syed_> AFaust:we need to build it ourself?

2017-09-08 11:45:24 GMT <MorganP> Clone the source and build it

2017-09-08 11:45:36 GMT <MorganP> Most of the add-ons now just provide the sources

2017-09-08 11:45:57 GMT <AFaust> No - it states on the GitHub page that it releases are available from Maven Central (no release yet though) and SNAPSHOTS from Sonatype OSS repository (https://oss.sonatype.org/#nexus-search;gav~de.acosix.alfresco.simplecontentstores~de.acosix.alfresco.simplecontentstores.repo~~~~kw,versionexpand%20)

2017-09-08 11:45:58 GMT <alfbot> Title: Nexus Repository Manager (at oss.sonatype.org)

2017-09-08 11:46:35 GMT <AFaust> MorganP: All addons in the Acosix namespace are designed to be available from Maven Central / Sonatype OSS by default

2017-09-08 11:46:49 GMT <AFaust> It should be common practices, but unfortunately not a lot in the community bother to do that

2017-09-08 11:47:01 GMT <MorganP> Ok I didn't know that

2017-09-08 11:47:56 GMT <AFaust> But of course you are correct with regard to getting the "UP TO DATE" version - then clone + build it locally. The SNAPSHOT deployment is a manual process right now, so I might skip one or two commits...

2017-09-08 11:52:54 GMT <syed_> AFaust: Thank you. I will try to build and test meanwhile.

2017-09-08 12:23:07 GMT <kgastaldo> Hi All - Sorry for the multiple notifications today. I've got a case with Jive to see what's up.

2017-09-08 12:50:56 GMT <yreg> resplin, regarding this : https://issues.alfresco.com/jira/browse/MNT-17527

2017-09-08 12:53:59 GMT <resplin> What about it?

2017-09-08 12:54:30 GMT <yreg> I already implemented it for my customer who is willing to share the code

2017-09-08 12:54:39 GMT <resplin> That's great.

2017-09-08 12:54:53 GMT <yreg> couldn't comment or attach a patch

2017-09-08 12:54:58 GMT <resplin> That's a pain.

2017-09-08 12:55:00 GMT <resplin> sigh

2017-09-08 12:55:13 GMT <yreg> so I though I should share that info here

2017-09-08 12:55:20 GMT <resplin> And because it is Share, it isn't in GitHub yet.

2017-09-08 12:55:36 GMT <resplin> Perhaps the easiest way would be to submit a pull request against the GitHub community mirror?

2017-09-08 12:55:40 GMT <yreg> true

2017-09-08 12:55:42 GMT <resplin> The Share mirror on GitHub?

2017-09-08 12:55:48 GMT <resplin> Sorry it's such a pain.

2017-09-08 12:55:55 GMT <yreg> and speaking of share, happy to see that Aikau is not dead !

2017-09-08 12:56:48 GMT <yreg> resplin, I will try to find a sometime early next week to do it

2017-09-08 12:57:51 GMT <AFaust> "not dead" == "relabeling a fix release as a new release"

2017-09-08 12:58:28 GMT <AFaust> No updates on PRs since February,,,

2017-09-08 12:59:21 GMT <yreg> well, did not notice that and ___dave's tweet sounded very enthusiastic !

2017-09-08 13:00:30 GMT <resplin> The team should restart development over the next few weeks.

2017-09-08 13:00:37 GMT <resplin> Thanks yreg

2017-09-08 13:00:53 GMT <AFaust> I believe ___dave may have been taking a piss

2017-09-08 13:01:14 GMT * AFaust hopes he used that phrase right...

2017-09-08 13:11:22 GMT <resplin> I have a CMIS question that came up during ALF Triage. Can someone tell me if this is a product bug or a bad CMIS query?

2017-09-08 13:11:35 GMT <resplin> https://issues.alfresco.com/jira/browse/ALF-21943

2017-09-08 13:20:46 GMT <AFaust> I believe the query is bad

2017-09-08 13:21:02 GMT <AFaust> The second one is obvious if you just read it aloud

2017-09-08 13:21:23 GMT <AFaust> of course any of the aspects of the node will not be in the specified set, so the nodes match

2017-09-08 13:21:32 GMT <AFaust> the NOT should be moved in front of the ANY in that case

2017-09-08 13:23:03 GMT <AFaust> Though I never use queries on secondary type IDs with CMIS in real life...

2017-09-08 13:41:39 GMT <Tichodroma> What operation could set cm:modified even when the behaviour ContentModel.ASPECT_AUDITABLE is disabled?

2017-09-08 13:42:40 GMT <Tichodroma> I observe this especially with nodes of types derived from cm:content, probably when using a ContentWriter on PROP_CONTENT

2017-09-08 14:14:11 GMT <AFaust> Tichodroma: Any operation that runs in a nested / different transaction from the one where the behaviour is disabled could update that...

2017-09-08 14:14:48 GMT <AFaust> Also, any transaction commit logic could be cause of this when you have used try-finally in your logic to disable/enable auditable...

2017-09-08 14:15:21 GMT <Tichodroma> could there be any other policy involved?

2017-09-08 14:16:21 GMT <Tichodroma> try/finally is not used in this case

2017-09-08 14:21:34 GMT <resplin> AFaust: Thanks for the feedback. I also think it is bad, but wanted a second opinion before pushing the reporter to Jive to get CMIS help.

2017-09-08 14:59:28 GMT <fwu> ppl, im rtying to activate scriptdebugger in log4j, but imget the following error:

2017-09-08 14:59:42 GMT <fwu> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scriptDebugger' defined in class path resource [surf-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

2017-09-08 14:59:58 GMT <fwu> what could this be? No bean defined? Shouldnt it be out of the box?

2017-09-08 15:06:50 GMT <hi-ko> MorganP: just read your question for Explorer link. All current browsers will block this. You need to run a listener on your desktop alfresco may send the request to open the explorer.

2017-09-08 15:13:23 GMT <MorganP> hi-ko: In fact, I'm not talking about links in browser but rather in mails for example

2017-09-08 15:14:22 GMT <MorganP> What I will try when I have some time is defining a new protocol and try to map this to a Windows Explorer app

2017-09-08 15:14:39 GMT <MorganP> Then try to get that to open the converted AOS url

2017-09-08 15:14:49 GMT <MorganP> sounds like fun... what is missing is the time :D

2017-09-08 15:17:59 GMT <hi-ko> We implemented this for our own OS tray app and our message hub which has an alfresco api

2017-09-08 15:19:21 GMT <MorganP> hum interesting

2017-09-08 15:20:03 GMT <hi-ko> MorganP: and we don't use aos to open or close to support any app

End of Daily Log

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