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-06-29 03:47:40 GMT <qwebirc72235> hello

2017-06-29 04:00:30 GMT <resplin> Hello

2017-06-29 06:39:29 GMT <twen> 'morning

2017-06-29 07:20:03 GMT *** marsv024_ is now known as marsv024

2017-06-29 07:23:51 GMT <yreg> Morning

2017-06-29 07:28:35 GMT <digcat> morning all

2017-06-29 07:28:59 GMT <digcat> hey yreg can i ask, have you looked at flowable ?

2017-06-29 07:55:53 GMT <yreg> digcat, tbh I have it high on my list, I just haven't had the time yet to check it out!

2017-06-29 08:05:10 GMT <digcat> yes ok, they seem to be moving fast !!

2017-06-29 08:05:23 GMT <digcat> 6.1 just came out, very impressive

2017-06-29 08:25:12 GMT <yreg> indeed !

2017-06-29 08:25:35 GMT *** marsv024_ is now known as marsv024

2017-06-29 08:26:31 GMT <yreg> marsjk, thank you (again) for your assistance from few days back

2017-06-29 08:26:49 GMT <marsjk> yreg: you're welcome

2017-06-29 08:27:06 GMT <yreg> it turned out that I had caught exception somewhere deep in the code marking one of my transactions for rollback

2017-06-29 08:27:21 GMT <yreg> and making me see odd behaviour

2017-06-29 08:27:47 GMT <yreg> but what you suggested works perfectly fine for me ;-)

2017-06-29 08:28:18 GMT <marsjk> good to hear :)

2017-06-29 09:24:03 GMT <fwu> hi ppl!

2017-06-29 09:36:31 GMT <mbui> Needing help - I have this java webscript which validates a file (.xlsx file) from the client and then returns a json to the client with the result. The problem i'm having is that the nginx proxy throws a 504 gateway timeout after 60 seconds whenever the file is large enough. Is it possible to somehow transmit from the webscript that it's "okay" or still processing or something to avoid 504?

2017-06-29 09:38:07 GMT <DarkStar1> Hello everyone.

2017-06-29 09:38:16 GMT <yreg> Hello Michael, IMHO, that is something that needs to be configured on the reverse proxy side of things

2017-06-29 09:38:18 GMT <DarkStar1> marsbard: Hey you there?

2017-06-29 09:38:38 GMT <DarkStar1> marsbard: Can you ping me again when you are please? :)

2017-06-29 09:39:01 GMT <yreg> mbui, however, there is a hacky solution for it : start streaming content back !

2017-06-29 09:42:16 GMT <yreg> Has any of you ever seen an embedded activiti workflow without any current task but with status in progress ?

2017-06-29 09:50:49 GMT <mbui> yreg: I was thinking of running the webscript in the background and having it writing to a file as a possible solution. Then on the client side reading that file.

2017-06-29 09:51:02 GMT <mbui> Not sure how I'd stream content back from a webscript.

2017-06-29 09:51:48 GMT <yreg> just start writing (& flushing) to the webscript response ...

2017-06-29 09:52:23 GMT <yreg> I suppose there is already something like this you should probably check the content get webscript

2017-06-29 09:53:17 GMT <yreg> otherwise, yes you can continue executing the action asynchronously and send over the results later by email or something to the users, but I would avoid it if possible

2017-06-29 10:12:48 GMT <MorganP> Hey guys in Share 5.2 (so with Aikau), it's not possible anymore to config the items displayed in the menu without code?

2017-06-29 10:13:37 GMT <MorganP> Before I used the xml share-config for that but I guess that will not work in 5.2

2017-06-29 10:18:05 GMT <AFaust> MorganP: That is correct, if you consider a JSON structure code and an XML structure config. But a lot of people might argue that a JSON structure also is just config... and the only code would be the call to widgetUtils to delete/insert JSON structure into the existing structure...

2017-06-29 10:18:23 GMT <ayushi> hello sir

2017-06-29 10:19:24 GMT <ayushi> i am referring to https://github.com/keensoft/alfresco-simple-ocr

2017-06-29 10:19:25 GMT <alfbot> Title: GitHub - keensoft/alfresco-simple-ocr: Simple OCR action for Alfresco (at github.com)

2017-06-29 10:20:30 GMT <ayushi> in case of pdf files it is working properly,but in case of jpeg files ocred and non ocred files both appears on the share UI

2017-06-29 10:21:21 GMT <tushar_> hi everyone

2017-06-29 10:22:06 GMT <MorganP> Thanks AFaust, always so precise ;)

2017-06-29 10:22:48 GMT <tushar_> can anyone help me how to merge this line in advancesearch.js

2017-06-29 10:22:49 GMT <tushar_> var url = YAHOO.lang.substitute(Alfresco.constants.URL_PAGECONTEXT + this.options.searchPath,

2017-06-29 10:22:55 GMT <tushar_> with

2017-06-29 10:23:18 GMT <tushar_> var url = YAHOO.lang.substitute(Alfresco.constants.URL_PAGECONTEXT + "{site}search?t={terms}&q={query}&r={repo}&rootNode={container}",

2017-06-29 10:30:24 GMT <fwu> ppl, I have an old workflow version that was saving documents in a folder named "Tests". however, by mistake the new version is saving documents to the folder "Test". Is there an easy way to change the documents from one of the folder to the other?

2017-06-29 10:50:26 GMT <rootinshell> Hi everyone,

2017-06-29 10:51:24 GMT <rootinshell> when i apply my amp file using apply_amp.bat my alfresco is intialialized to default theme and some settings

2017-06-29 10:51:30 GMT <rootinshell> any ideas ?

2017-06-29 11:02:23 GMT *** marsv024_ is now known as marsv024

2017-06-29 12:12:37 GMT <tushar_> https://community.alfresco.com/thread/207323-custom-search-in-folder

2017-06-29 12:12:39 GMT <alfbot> Title: Custom search in folder? | Alfresco Community (at community.alfresco.com)

2017-06-29 12:13:01 GMT <tushar_> AFaust you wrote a comment on it

2017-06-29 12:13:19 GMT <tushar_> can you simplyfy that for my previous query

2017-06-29 12:14:27 GMT <ayushi> I am working on alfresco simple OCR add-on available on https://github.com/keensoft/alfresco-simple-ocr

2017-06-29 12:14:28 GMT <alfbot> Title: GitHub - keensoft/alfresco-simple-ocr: Simple OCR action for Alfresco (at github.com)

2017-06-29 12:16:05 GMT <ayushi> earlier I have some issues regarding the tiff and jpeg files but after making some changes in script and the java code and after resolving some environment issues,I have made it work

2017-06-29 12:16:46 GMT <AFaust> tushar_: Do you really want me to simplify my two-sentence reply from that thread?

2017-06-29 12:17:11 GMT <AFaust> Simplified I have stated: "Folder search is hard"

2017-06-29 12:19:17 GMT <ayushi> in case of pdf files, a new pdf file with updated version in place of earlier pdf file is visible on the alfresco share page but in case of tiff and jpeg files,a new pdf file with .tiff.pdf extension is visible on the alfresco share page alongwith the earlier unocred tiff and jpeg files

2017-06-29 12:19:51 GMT <ayushi> but I only want to know that IS this the expected behaviour of this action

2017-06-29 12:25:58 GMT *** marsv024_ is now known as marsv024

2017-06-29 12:26:02 GMT <yreg> AFaust, have you ever had to deal with <terminateEventDefinition activiti:terminateAll="true"></terminateEventDefinition> ?

2017-06-29 12:26:35 GMT <yreg> it sounds like it really ends all tasks but does not update workflow status/completion time

2017-06-29 12:28:24 GMT <AFaust> Ehm - no, never had to use that.

2017-06-29 12:32:43 GMT <douglascrp> good morning

2017-06-29 12:33:55 GMT <douglascrp> I have a question on the faceted-search page with date properties in the facets

2017-06-29 12:34:38 GMT <douglascrp> first problem, the date value is show containing the time portion

2017-06-29 12:34:51 GMT <douglascrp> and second, the filter simply does not work

2017-06-29 13:21:47 GMT <marsv024> @douglascrp could it be this problem: https://issues.alfresco.com/jira/browse/MNT-16447

2017-06-29 13:24:27 GMT <marsv024> @douglascrp also you could have a look at how Alfresco implemented the filters for created and/or modified dates if you want some other display of the filter facets than the full timestamp

2017-06-29 13:24:53 GMT <douglascrp> marsv024, tks.. checking the links right now

2017-06-29 13:25:55 GMT <douglascrp> marsv024, I as thought, problem

2017-06-29 13:26:01 GMT <douglascrp> right now I am playing with this https://angelborroy.wordpress.com/2016/02/03/alfresco-5-customizing-facet-filter-for-future-dates/

2017-06-29 13:26:02 GMT <alfbot> Title: Alfresco 5: Customizing facet filter for future dates | Programming and So (at angelborroy.wordpress.com)

2017-06-29 13:26:25 GMT <douglascrp> I guess it is exactly what you meant by have a look at how alfresco implemented the filters

2017-06-29 13:26:42 GMT <marsv024> yep!

2017-06-29 13:27:32 GMT <marsv024> but anyway the date filters are broken right now unless you specify ranges, we had a case where we wanted facets for dates on a custom property field

2017-06-29 13:27:53 GMT <marsv024> and that didnt work because of MNT-16447

2017-06-29 13:38:04 GMT <tushar_> @AFaust pardon me all i want to run is var url = YAHOO.lang.substitute(Alfresco.constants.URL_PAGECONTEXT + "{site}search?t={terms}&q={query}&r={repo}&rootNode={container}",

2017-06-29 13:38:24 GMT <tushar_> but out of the box funtions is

2017-06-29 13:38:44 GMT <tushar_> var url = YAHOO.lang.substitute(Alfresco.constants.URL_PAGECONTEXT + this.options.searchPath,

2017-06-29 13:38:57 GMT <tushar_> in advsearch.js

2017-06-29 13:39:26 GMT <tushar_> implimenting the 1st function gives me the logic and folder search is done

2017-06-29 13:39:59 GMT <tushar_> but lacs the after search UI of alfresco 5.2

2017-06-29 13:40:52 GMT <tushar_> and the later function gives me UI but the folder search logic is compromised

2017-06-29 13:54:45 GMT <douglascrp> marsv024, yes, the range filters work

2017-06-29 13:55:09 GMT <douglascrp> I am going to follow and vote for that issue

2017-06-29 13:55:14 GMT <douglascrp> thanks for your help

2017-06-29 14:07:56 GMT <marsv024> np

2017-06-29 16:46:41 GMT <fwu> ppl, looking to a project pom, can I understand what alfresco sdk is being used?

2017-06-29 16:47:19 GMT <yreg> fwu, sdk version is mentioned in the parent block

2017-06-29 16:47:34 GMT <yreg> that is if your project uses an Alfresco SDK

2017-06-29 16:49:25 GMT <rootinshell> could anyone answeer my question ?

2017-06-29 16:49:55 GMT <rootinshell> i would like to know why when i'm applying amp module, my alfresco theme and setting are set to default

2017-06-29 16:50:00 GMT <rootinshell> :)

2017-06-29 16:55:14 GMT <fwu> yreg, thank you. I will look at it.

2017-06-29 17:14:43 GMT <AxelFaust> rootinshell: Your theme / setting should not be defaulted, unless you have a "bad" 3rd-party addon that includes a lot of default configuration which overrides your custom one...

2017-06-29 17:34:21 GMT <JuanL> Hi, is anyone else having trouble with their Cloud API applications? My application failed and I see an error here: https://api.alfresco.com/auth/oauth/versions/2/authorize

2017-06-29 20:24:34 GMT <JuanL> Hi, is https://api.alfresco.com/auth/oauth/versions/2/authorize down for everyone? I'm getting a 503.

End of Daily Log

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