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-06-19 05:05:31 GMT <sam__> Hi everyone

2018-06-19 05:07:31 GMT <sam__> Can anyone tell me how to disable the share, properties,version history in document perview.please tell me how to do. I am new to alfresco

2018-06-19 06:11:49 GMT <alfresco-discord> <bhagyas> Good morning all

2018-06-19 10:48:39 GMT <sam__> Hi,how to do faceted search in alfresco please share any link to do the faceted search

2018-06-19 10:50:14 GMT <alfresco-discord> <mbui> sam__: Can you be more specific? Otherwise i'd suggest https://lmgtfy.com/?q=alfresco+faceted+search

2018-06-19 10:50:15 GMT <alfbot> Title:LMGTFY (at lmgtfy.com)

2018-06-19 10:55:26 GMT <sam__> I want to add faceted search functionality to the search box. I do not know where to add code how to do it

2018-06-19 11:43:22 GMT <alfresco-discord> <Loftux> We use Google Apps for mail, and need to send out notifications from Alfresco. So using the mail action executer, iterating the list and lets say 30 emails gets sent at once, Gmail will throttle/not accept all. So how can you introduce a delay in the sending?

2018-06-19 11:44:24 GMT <alfresco-discord> <Loftux> Using Thread.sleep will just delay iteration, mailaction doesn't send the email until the iteration thread is done, even if asynchronous is set to true

2018-06-19 11:50:29 GMT <alfresco-discord> <Loftux> https://paste.ofcode.org/BhR4tCeZ4nVF3fAdVVbNn6

2018-06-19 11:50:30 GMT <alfbot> Title:Paste ofCode (at paste.ofcode.org)

2018-06-19 11:51:19 GMT <alfresco-discord> <mbui> Hmm, would it be possible to implement it with Batch Processor? @Loftux

2018-06-19 11:58:08 GMT <alfresco-discord> <Loftux> What just happens in my sample code case is that MailActionExecuter doesn't send anything until the first thread completes, which now takes 30*300 ms = 9 seconds. Kind of hoped that it would send async every 300ms

2018-06-19 12:09:56 GMT <alfresco-discord> <Mark> When I install an Alfresco repo instance just for SOLR to use for indexing (in a cluster), should I add libreoffice/jodconverter too?

2018-06-19 12:10:38 GMT <alfresco-discord> <Mark> I'm not clear on whether it's used when (re)indexing. I do usually see an awful lot of PDF Flate filter exceptions when reindexing lots of transactions, implying I do need libreoffice.

2018-06-19 12:18:39 GMT <alfresco-discord> <bhagyas> @Mark FTS would require transformation to text files

2018-06-19 12:19:11 GMT <alfresco-discord> <bhagyas> btw, when are we getting reply-to header support in the mailactionexecutor

2018-06-19 12:19:12 GMT <alfresco-discord> <bhagyas> 馃槢

2018-06-19 12:19:33 GMT <alfresco-discord> <bhagyas> 5 lines of code change, but will have to wait until someone at Alfresco writes a fix

2018-06-19 12:19:34 GMT <alfresco-discord> <bhagyas> 馃槢

2018-06-19 12:23:16 GMT <alfresco-discord> <Mark> Thanks Bhagya!

2018-06-19 12:23:20 GMT <alfresco-discord> <Mark> makes sense.

2018-06-19 13:27:03 GMT <alfresco-discord> <Loftux> @mbui Tried a few things, but anything thread/transaction interferes with Alfresco action executer and throws an error.

2018-06-19 13:29:06 GMT <alfresco-discord> <AFaust> @Francesco Corti / @kgastaldo Any chance the DevCon site could be made 100% secure, i.e. no mixed HTTP/HTTPS content? It annoys me to no end when sites are inconsistently secured...

2018-06-19 13:29:37 GMT <alfresco-discord> <douglascrp> has anyone tried apache manifold to import content into Alfresco?

2018-06-19 13:29:37 GMT <alfresco-discord> <Loftux> Did try with setExecuteAsynchronously(false), then it just open one smtp connection (instead of one for each email), but at the risk that one mail fails, then all of the rest will fail as well (smtp drops any further interaction I think).

2018-06-19 13:30:34 GMT <alfresco-discord> <Loftux> So now I'll let @bhagyas do the star coding and implement smtp connection pool.

2018-06-19 13:33:14 GMT <alfresco-discord> <AFaust> Loftux: Is there really no chance of simply setting up an SMTP server to act as a buffer / throttler, so Alfresco does not have to talk directly with Google Apps?

2018-06-19 13:36:00 GMT <alfresco-discord> <Loftux> @AFaust Yes, that would be an option, but I discovered this for our own use of Sharebox, since customer use this as well, then they may run into the same problem, and don't want to put requirements on their email servers for using Sharebox

2018-06-19 13:36:41 GMT <alfresco-discord> <AFaust> Fair...

2018-06-19 13:40:54 GMT <alfresco-discord> <Loftux> None of our customers has reported any problems, thought this could be a quick fix to be pro-active about a potential issue, but feels like going into a rabbit hole dealing with email sending

2018-06-19 13:45:44 GMT <alfresco-discord> <kgastaldo> @AFaust - Asking Irving about the website.

2018-06-19 17:02:03 GMT <alfresco-discord> <kgastaldo> Irving Navarrete [12:18 PM] HTTPS is now working correctly on devcon

2018-06-19 17:51:31 GMT <alfresco-discord> <douglascrp> one more issue marked as Resolved, when in fact, it is not https://issues.alfresco.com/jira/browse/ALF-22008

2018-06-19 17:52:01 GMT <alfresco-discord> <douglascrp> Alfresco has to find a way to better deal with differences between Community and Enterprise, like this one

2018-06-19 18:08:54 GMT <alfresco-discord> <digcat> morning @douglascrp

2018-06-19 18:09:16 GMT <alfresco-discord> <douglascrp> @digcat hey... morning

2018-06-19 18:11:44 GMT <alfresco-discord> <digcat> alfresco has previously made a release to a GA, when 5.0.c was the final release, we did end up with 5.0.d I think due to pestering resplin, but also existing customers needing java 7, the way alfresco are dealing with this issue seems pretty shady, wonder if @Francesco Corti can help at all with it,

2018-06-19 18:12:47 GMT <alfresco-discord> <digcat> i wonder how many issues with community have been resolved, but havent, is there a way to report on this from jira i wonder

2018-06-19 18:13:07 GMT <alfresco-discord> <douglascrp> this is terrible

2018-06-19 18:13:29 GMT <alfresco-discord> <douglascrp> the only way to know if it is really fixed in Community is by getting the source code and searching for the issues ids

2018-06-19 18:13:39 GMT <alfresco-discord> <douglascrp> that if it is there at all

2018-06-19 18:13:42 GMT <alfresco-discord> <douglascrp> bad, really bad

2018-06-19 18:14:33 GMT <alfresco-discord> <douglascrp> I hope they at least give me more information about the issue, and then I can try to apply the fix myself

2018-06-19 18:15:15 GMT <alfresco-discord> <digcat> has anyone here got access to enterprise to identify the fix ?

2018-06-19 18:15:27 GMT <alfresco-discord> <douglascrp> I haven't

2018-06-19 18:20:50 GMT <alfresco-discord> <digcat> what fix Id would go into enterprise i wonder, hes saying 201711 was released so the fix would be in that?

2018-06-19 18:20:52 GMT <alfresco-discord> <digcat> https://github.com/search?q=org%3AAlfresco+MNT-17961&type=Commits

2018-06-19 18:20:53 GMT <alfbot> Title:Search 路 org:Alfresco MNT-17961 路 GitHub (at github.com)

2018-06-19 18:22:15 GMT <alfresco-discord> <digcat> just looking in github, that MNT-17961 issue can see the commits

2018-06-19 18:23:18 GMT <alfresco-discord> <digcat> do they just throw a This document type is versionable!

2018-06-19 18:24:32 GMT <alfresco-discord> <digcat> hi @Loftux did you guys hit the issue raised in https://issues.alfresco.com/jira/browse/ALF-22008

2018-06-19 18:25:51 GMT <alfresco-discord> <digcat> i heard an issue with cmis when trying to search more than a 1000 nodes, you 'have to' disable versions apparently, not hit the issue myself, this was someone on enterprise 5.2

2018-06-19 18:31:17 GMT <alfresco-discord> <Loftux> @digcat No haven't been hit by this issue. I avoid cmis when other api is available or you add your own webscript. Only reason to use cmis is when you would need a truly agnostic back end.

2018-06-19 18:33:02 GMT <alfresco-discord> <digcat> yes, understand, seems the cmis initiative hasn't been adopted hugely across the other platforms, not sure who is steering this anymore in alfresco

2018-06-19 18:40:37 GMT <alfresco-discord> <Loftux> Been in ecm business since 1998, there has been quite a few interop initiatives none has really worked. Cmis will not be different.

2018-06-19 18:42:49 GMT <alfresco-discord> <digcat> yes, tend to agree sadly, perhaps a global graphql api over all of them would be the way to go 馃槂

2018-06-19 18:51:40 GMT <alfresco-discord> <digcat> @douglascrp so the commits to fix that problem look like they are in the repo, sad that they wouldnt repackage a GA, but then I guess they have to draw a line, perhaps its time to revert back to using compiled versions? although how the heck a stable upgrade path would then be possible from community to enterprise is beyond me.

2018-06-19 19:02:25 GMT <alfresco-discord> <douglascrp> @digcat I don't know what to say about that, really

2018-06-19 19:02:39 GMT <alfresco-discord> <digcat> perhaps @douglascrp you might raise that same issue with a pull request on LXCommunity ?

2018-06-19 19:03:16 GMT <alfresco-discord> <douglascrp> @digcat that is not a bad idea, really

2018-06-19 19:03:54 GMT <alfresco-discord> <douglascrp> but considering we usually try to keep with Alfresco's oficial releases, I believe a simple patch project would be easier

2018-06-19 19:05:16 GMT <alfresco-discord> <digcat> yes, i agree, but if we keep hitting a brick wall, then id imagine thats the inevitable path open to the community

2018-06-19 19:07:01 GMT <alfresco-discord> <douglascrp> @digcat We already have some patch project, like https://github.com/dgcloud/patch-mnt-11279-repo and https://github.com/dgcloud/patch-alf-21955-repo

2018-06-19 19:07:02 GMT <alfbot> Title:GitHub - dgcloud/patch-mnt-11279-repo (at github.com)

2018-06-19 19:07:09 GMT <alfresco-discord> <douglascrp> that would be just one more

2018-06-19 19:08:02 GMT <alfresco-discord> <douglascrp> or maybe this one https://github.com/ecm4u/ecm4u-alfresco-bugpatches

2018-06-19 19:08:03 GMT <alfbot> Title:GitHub - ecm4u/ecm4u-alfresco-bugpatches: This module contains a collection of bug fixes for Alfresco, both the repository and Share. (at github.com)

2018-06-19 19:08:24 GMT <alfresco-discord> <digcat> this is the problem alfresco are creating, the value of open source is being lost

2018-06-19 19:08:45 GMT <alfresco-discord> <douglascrp> the problem is, as we have already discussed in other cases, is to decide how to deal with all the ignored issues

2018-06-19 19:12:37 GMT <alfresco-discord> <digcat> yes, actually question for @Loftux do you take all bug fixes identified by ecm4u and patch your code base ? and guess vice versa for ecm4u, with patches identified in LXCommunity?

2018-06-19 19:15:23 GMT <alfresco-discord> <Loftux> Not yet, we have mostly focused on things that affects our customers.

2018-06-19 19:16:20 GMT <alfresco-discord> <digcat> yes, understand, itch to scratch

2018-06-19 19:16:36 GMT <alfresco-discord> <douglascrp> @Loftux I guess that is the best thing to do

2018-06-19 19:17:04 GMT <alfresco-discord> <douglascrp> but I was reading the project's page... you say, "if you have the patch, we can accept it", or something like that

2018-06-19 19:18:29 GMT <alfresco-discord> <Loftux> We would not say no to something that gets recommended to patch.

2018-06-19 19:19:36 GMT <alfresco-discord> <digcat> recommended ? by the community or by alfresco, ie if alfresco think its worthy to patch enterprise, then you would accept to LXcommunity

2018-06-19 19:26:56 GMT <alfresco-discord> <Loftux> We of course merge alfresco fixes that is in public repo

2018-06-19 19:27:01 GMT <alfresco-discord> <douglascrp> or maybe try to convince alfresco to release a new 5.2.x GA release

2018-06-19 19:27:36 GMT <alfresco-discord> <Loftux> We kind of did with LX101 version

2018-06-19 19:28:07 GMT <alfresco-discord> <douglascrp> Keensoft (angel) also released several patch projects

2018-06-19 19:30:52 GMT <alfresco-discord> <Loftux> Many initiatives, it's been mentioned to coordinate but it is probably harder in practice. Some do patch addons we do directly in source etc.

2018-06-19 19:31:25 GMT <alfresco-discord> <douglascrp> one of our customers have the following requirement: when image files are imported into alfresco, they want the EXIF information to be extracted to metadata (alfresco does that already by default)

2018-06-19 19:32:18 GMT <alfresco-discord> <douglascrp> but they want to have some of the custom properties we defined, to be included in the original image, so, when they download the image to use in another place, the EXIF will contain the custom metadata inside of it

2018-06-19 19:32:36 GMT <alfresco-discord> <douglascrp> do you know about any addon already providing such feature?

2018-06-19 19:33:11 GMT <alfresco-discord> <douglascrp> I was considering using behaviours to change the content inside the alfresco contentstore folder, but I kind of "don't like it"

2018-06-19 19:33:23 GMT <alfresco-discord> <douglascrp> what do you think?

2018-06-19 19:33:48 GMT <alfresco-discord> <douglascrp> what they need is to preserve the indexing they do inside alfresco even after the document is out of alfresco

2018-06-19 19:35:04 GMT <alfresco-discord> <douglascrp> this addon seems to be what they need, but it is not available anymore https://community.alfresco.com/docs/DOC-7448-xmp-metadata-extension

2018-06-19 19:35:06 GMT <alfbot> Title:XMP Metadata Extension | Alfresco Community (at community.alfresco.com)

2018-06-19 19:54:48 GMT <alfresco-discord> <digcat> @douglascrp this question https://stackoverflow.com/questions/46300008/modify-pdf-metadata-xmp for pdf files, although if images, depending on image type, this python util may help you https://github.com/commonsmachinery/tinyxmp

2018-06-19 19:54:49 GMT <alfbot> Title:java - Modify pdf metadata XMP - Stack Overflow (at stackoverflow.com)

2018-06-19 19:55:03 GMT <alfresco-discord> <digcat> sadly tika only extracts, doesnt allow you to modify

2018-06-19 19:55:12 GMT <alfresco-discord> <douglascrp> yes, exactly

2018-06-19 19:55:15 GMT <alfresco-discord> <douglascrp> tks for it anyway

2018-06-19 19:56:56 GMT <alfresco-discord> <digcat> https://wiki.creativecommons.org/wiki/XMP_Implementations

2018-06-19 19:56:58 GMT <alfbot> Title:XMP Implementations - Creative Commons (at wiki.creativecommons.org)

2018-06-19 19:58:44 GMT <alfresco-discord> <douglascrp> I just don't like the idea about "changing" the content

2018-06-19 19:58:51 GMT <alfresco-discord> <douglascrp> I mean, inside Alfresco

2018-06-19 19:59:06 GMT <alfresco-discord> <douglascrp> but that is what users want 馃槓

2018-06-19 20:00:34 GMT <alfresco-discord> <digcat> yeah not a good idea, as your then responsible for that last update,

2018-06-19 20:00:48 GMT <alfresco-discord> <douglascrp> indeed

2018-06-19 20:01:25 GMT <alfresco-discord> <douglascrp> well, I could version the file, and then the original will be preserved

2018-06-19 20:01:32 GMT <alfresco-discord> <digcat> yes

2018-06-19 20:01:35 GMT <alfresco-discord> <douglascrp> interesting... https://github.com/mjeanroy/exiftool

2018-06-19 20:01:36 GMT <alfbot> Title:GitHub - mjeanroy/exiftool: Enhanced Java Integration for Phil Harvey's ExifTool. (at github.com)

2018-06-19 20:01:38 GMT <alfresco-discord> <douglascrp> java

2018-06-19 20:09:09 GMT <alfresco-discord> <digcat> that looks good

2018-06-19 22:30:22 GMT <alfresco-discord> <AFaust> @douglascrp Have you checked https://github.com/Alfresco/alfresco-repository/blob/b7f040f10b76da8721f46d8688717e1be42f988d/src/main/java/org/alfresco/repo/action/executer/ContentMetadataEmbedder.java by any chance

2018-06-19 22:30:23 GMT <alfbot> Title:alfresco-repository/ContentMetadataEmbedder.java at b7f040f10b76da8721f46d8688717e1be42f988d 路 Alfresco/alfresco-repository 路 GitHub (at github.com)

2018-06-19 22:32:00 GMT <alfresco-discord> <AFaust> Has been in Alfresco core since around 4.2 - never had a use case to actually try it

2018-06-19 22:34:30 GMT <alfresco-discord> <AFaust> Maybe you already checked this - I can see that the Tika-powered implementation does not instantiate an embedder, so @digcat may have referred to that already when he said that "sadly tika only extracts"

2018-06-19 22:35:45 GMT <alfresco-discord> <AFaust> But actually, Tika comes with an "external embedder" class which you could use to integrate exiftool via cmd line - only needs a sub-class of the default tika extracter/embedder class in Alfresco

2018-06-19 22:36:42 GMT <alfresco-discord> <AFaust> https://tika.apache.org/1.17/api/org/apache/tika/embedder/ExternalEmbedder.html

2018-06-19 22:36:43 GMT <alfbot> Title:ExternalEmbedder (Apache Tika 1.17 API) (at tika.apache.org)

2018-06-19 22:37:48 GMT <alfresco-discord> <AFaust> And use it in implementing this default dummy method: https://github.com/Alfresco/alfresco-repository/blob/b7f040f10b76da8721f46d8688717e1be42f988d/src/main/java/org/alfresco/repo/content/metadata/TikaPoweredMetadataExtracter.java#L268

2018-06-19 22:37:49 GMT <alfbot> Title:alfresco-repository/TikaPoweredMetadataExtracter.java at b7f040f10b76da8721f46d8688717e1be42f988d 路 Alfresco/alfresco-repository 路 GitHub (at github.com)

2018-06-19 22:41:16 GMT <alfresco-discord> <digcat> nice @AFaust that i didnt realise, but makes sense for a tool like tika, wonder why its not an out the box feature,

2018-06-19 22:49:13 GMT <alfresco-discord> <digcat> looks like the thought is there, // TODO make this an abstract method once more extracters support embedding

2018-06-19 23:01:22 GMT <alfresco-discord> <douglascrp> @AFaust I didn't know about that class. Thank you for the tip

2018-06-19 23:01:43 GMT <alfresco-discord> <douglascrp> I will take a look at those tomorrow

End of Daily Log

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