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-05-15 07:06:32 GMT *** mmccarthy1 is now known as mmccarthy

2018-05-15 08:08:27 GMT <MorganP> Anyone already had an issue with a facet that disappear?

2018-05-15 08:09:21 GMT <MorganP> I wanted to reduce the number of char needed for the filter_content_size facet from 4 to 3 and after saving, the facet just isn't showing up anymore on Share facetted search page

2018-05-15 08:10:12 GMT <MorganP> Doing a GET on /alfresco/service/api/facet/facet-config/, I can see that the number was changed from 4 to 3, without issue

2018-05-15 08:10:24 GMT <MorganP> but it also show that there are some more lines added...

2018-05-15 08:10:43 GMT <MorganP> a customProperties has been added for "blockIncludeFacetRequest" with a value "true"

2018-05-15 08:11:21 GMT <MorganP> And I assume this is what is preventing Share to display the facet now but there is no field or no way to change this property inside the Search Manager in Share

2018-05-15 08:16:09 GMT <MorganP> This is the content of the GET: https://pastebin.com/3GV0yqVS

2018-05-15 08:16:10 GMT <alfbot> Title: [JSON] { "filterID": "filter_content_size", "facetQName": "{http://www.alfres - Pastebin.com (at pastebin.com)

2018-05-15 08:18:17 GMT <MorganP> I tried to PUT the same without this property. It return 200 OK but doesn't change anything apparently.

2018-05-15 08:27:55 GMT <MorganP> I also tried to create a new filter for the cm:content.size with a different name, id, aso... But even this one is not showing up... Keeping everything and just changing the facetQName to Site for example, then the facet will appear...

2018-05-15 08:39:04 GMT <marcoaltieri> Is it possible in APS 1.8.1 to remove the need of the "claim" button ?

2018-05-15 08:39:42 GMT <marcoaltieri> I have a process definition with tasks that are not assigned to any users but have candidate groups

2018-05-15 08:40:14 GMT <marcoaltieri> when a user of these group opens the task, I want to show the form even if the user is not the current assignee

2018-05-15 08:57:53 GMT <MorganP> I'm running out of ideas to try to get the default facets back on the screen... I guess there is no way to reset them?

2018-05-15 09:12:05 GMT <arun__> Hi

2018-05-15 09:12:34 GMT <arun__> Can you please tell me the max file versioning in alfresco. Is there an limit for it by default.

2018-05-15 09:16:29 GMT <angelborroy> arun__ there is no limit

2018-05-15 09:20:43 GMT <arun__> Can i version the file upto 1000 or 2000

2018-05-15 09:21:13 GMT <arun__> is it possible

2018-05-15 09:23:21 GMT <angelborroy> yes

2018-05-15 09:24:05 GMT <marcoaltieri> @arun_

2018-05-15 09:24:18 GMT <marcoaltieri> are you using share ?

2018-05-15 09:24:33 GMT <marcoaltieri> or just the alfresco content services ?

2018-05-15 09:25:12 GMT <marcoaltieri> if you are using share, you will probably need to customise its pages because they won't work with so many versions

2018-05-15 09:25:45 GMT <angelborroy> arun__ and also is relevant that every version is a different file in content store

2018-05-15 09:26:02 GMT <angelborroy> arun__ So 1000 versions of a file are 1000 files in the content store

2018-05-15 09:26:15 GMT <arun__> I am using alfresco content service

2018-05-15 09:26:24 GMT <arun__> I am using alfresco content service

2018-05-15 09:27:16 GMT <arun__> 1000 versions

2018-05-15 09:27:21 GMT <arun__> is possible

2018-05-15 09:27:30 GMT <angelborroy> again: it’s possible

2018-05-15 09:27:43 GMT <marcoaltieri> @arun you should test the performance

2018-05-15 09:27:55 GMT <marcoaltieri> I do not have experience with so many versions

2018-05-15 09:28:10 GMT <arun__> upto 100 versions i have tested

2018-05-15 09:28:14 GMT <marcoaltieri> and you could hit some bottleneck

2018-05-15 09:28:16 GMT <arun__> its working

2018-05-15 09:28:32 GMT <marcoaltieri> you will never know until you test it

2018-05-15 09:28:48 GMT <marcoaltieri> for example, alfresco works well with many groups

2018-05-15 09:29:07 GMT <marcoaltieri> but on a client environment, users belonged to around 24k groups

2018-05-15 09:29:26 GMT <marcoaltieri> and some code in Alfresco started to be very slow

2018-05-15 09:29:53 GMT <marcoaltieri> you are out of the usual range, so there is the risk

2018-05-15 09:30:01 GMT <angelborroy> everywhere you have 3k or more nodes in the same level is a bottleneck

2018-05-15 09:30:10 GMT <arun__> ok Thanks a lot everyone

2018-05-15 09:30:54 GMT <marcoaltieri> on APS 1.8.1

2018-05-15 09:31:17 GMT <marcoaltieri> I have defined a form with a "link" the URL of the link is dynamic

2018-05-15 09:31:27 GMT <marcoaltieri> and it works when the form is in edit mode

2018-05-15 09:31:47 GMT <marcoaltieri> but, when the task is closed, instead of showing the url

2018-05-15 09:31:50 GMT <arun__> Can you send me the link

2018-05-15 09:32:04 GMT <marcoaltieri> it shows the dynamic variable.

2018-05-15 09:32:27 GMT <marcoaltieri> I have then defined a new stencil

2018-05-15 09:32:48 GMT <marcoaltieri> and with mine, on the closed task, the url is not shown at all

2018-05-15 09:32:59 GMT <marcoaltieri> is this a known issue ?

2018-05-15 13:15:22 GMT <kkore> Hi I am trying to add aspect through cmis but aspect is not adding to document getting error please see my code

2018-05-15 13:15:31 GMT <kkore> https://bpaste.net/show/85175564bfde

2018-05-15 13:15:32 GMT <alfbot> Title: show at bpaste (at bpaste.net)

2018-05-15 13:17:21 GMT <angelborroy> kkore you cannot use QuickShare in that way

2018-05-15 13:17:34 GMT <angelborroy> you need to invoke Alfresco REST API to create “sharedId” identifier

2018-05-15 13:17:40 GMT <angelborroy> or Java API

2018-05-15 13:19:01 GMT <kkore> angelborroy, how we need to invoke ?? is we need to call quickshareservices api here ??

2018-05-15 13:19:12 GMT <angelborroy> yes

2018-05-15 13:19:29 GMT <angelborroy> but you cannot invoke QuickShareService from CMIS

2018-05-15 13:19:43 GMT <angelborroy> You have to use instead Alfresco REST API

2018-05-15 13:21:48 GMT <kkore> we need to write custom webscript which need to invoke from cmis

2018-05-15 13:21:49 GMT <kkore> ??

2018-05-15 13:21:55 GMT <angelborroy> no

2018-05-15 13:23:09 GMT <angelborroy> kkore probably this document can help you to understand Alfresco integration APIs http://beecon.buzz/2017/assets/files/H04/keensoft%20-%20Alfresco%20Learning%20-%20EN.pdf

2018-05-15 13:24:27 GMT <angelborroy> anyway, yes you have to write a custom web script

2018-05-15 13:24:40 GMT <angelborroy> it looks like quickshare services are not available in REST API

2018-05-15 13:25:04 GMT <angelborroy> kkore Are you using Allfresco 5.2*

2018-05-15 13:25:06 GMT <angelborroy> ?

2018-05-15 13:25:11 GMT <kkore> yes 5.2

2018-05-15 13:25:23 GMT <angelborroy> so you have a “shared-links” services in the new REST API

2018-05-15 13:26:01 GMT <angelborroy> POST http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/shared-links

2018-05-15 13:26:03 GMT <angelborroy> to create

2018-05-15 13:26:56 GMT <angelborroy> GET http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/shared-links/1/content?attachment=true to retrieve content

2018-05-15 13:27:57 GMT <kkore> yes it's giving shared id

2018-05-15 13:29:23 GMT <yreg> Guys, is there a quick way to generate wars with the SDK ?

2018-05-15 13:29:44 GMT <yreg> I mean wars including all overlays not only the module being developed

2018-05-15 13:31:17 GMT <angelborroy> yreg probably using AIO and including modules as Maven dependencies

2018-05-15 13:31:36 GMT <yreg> angelborroy, on 3.0 ?

2018-05-15 13:31:50 GMT <angelborroy> I didn’t tested it, but it looks like it has to work

2018-05-15 13:32:03 GMT <yreg> I see the wars being built before being deployed to the embedded tomcat

2018-05-15 13:32:29 GMT <yreg> But I found no way to have them pushed to nexus or installed to local m2

2018-05-15 13:32:52 GMT <angelborroy> mvn install?

2018-05-15 13:33:01 GMT <angelborroy> this should install to local m2

2018-05-15 13:33:15 GMT <Loftux> yreg https://github.com/Alfresco/alfresco-sdk/issues/420

2018-05-15 13:33:17 GMT <alfbot> Title: Make it possible to generate WARs without alfresco:run in SDK 3.0 · Issue #420 · Alfresco/alfresco-sdk · GitHub (at github.com)

2018-05-15 13:33:17 GMT <yreg> It installs the amps/jars but not the ways

2018-05-15 13:33:20 GMT <yreg> wars*

2018-05-15 13:34:46 GMT <angelborroy> Loftux +1!

2018-05-15 13:34:47 GMT * AxelFaust LOLs at how https://github.com/Alfresco/alfresco-sdk/issues/420 represents the state of SDK...

2018-05-15 13:34:49 GMT <alfbot> Title: Make it possible to generate WARs without alfresco:run in SDK 3.0 · Issue #420 · Alfresco/alfresco-sdk · GitHub (at github.com)

2018-05-15 13:35:36 GMT <angelborroy> IMO SDK is going to be deprecated/abandoned for Alfresco 6

2018-05-15 13:35:42 GMT <yreg> Thanks Loftux, that should do for now, I will see if I can combine this approach with something else in order to be able to deploy to nexus

2018-05-15 13:35:52 GMT <angelborroy> for AxelFaust this makes no difference, but I used to work with that

2018-05-15 13:36:09 GMT <yreg> angelborroy, or get rewritten :D ... again

2018-05-15 13:36:39 GMT <AxelFaust> angelborroy Well, for community projects like ootbee-support-tools I have had to work with that as well

2018-05-15 13:37:45 GMT <AxelFaust> Meanwhile, at some customers I still work with the patched Mojo I tried to contribute to SDK in 2014 (https://github.com/alfresco/alfresco-sdk/issues/133) and it still works like a charm...

2018-05-15 13:37:47 GMT <alfbot> Title: Transitive AMP dependencies management · Issue #133 · Alfresco/alfresco-sdk · GitHub (at github.com)

2018-05-15 13:38:16 GMT <Loftux> yreg: If you find any working ways to do it, report back. Comments seem to say there are ways, but linked projects doesn't seem to do just the war assembly

2018-05-15 13:38:34 GMT <angelborroy> In fact, I’m using SDK 2.2.0 as base for many projects

2018-05-15 13:38:43 GMT <angelborroy> as 3.0.0 does not work softly

2018-05-15 14:12:48 GMT <yreg> Guys, It seems ADF will support Activiti 7+

2018-05-15 14:12:59 GMT <angelborroy> yep

2018-05-15 14:13:00 GMT <yreg> Just got confirmation from the ADF team

2018-05-15 14:13:11 GMT <angelborroy> In fact Activiti UI demo app is done with ADF

2018-05-15 14:13:17 GMT <yreg> Were there an announcement some time ago that I missed ?

2018-05-15 14:13:26 GMT <angelborroy> https://github.com/Activiti/activiti-cloud-demo-ui

2018-05-15 14:13:27 GMT <alfbot> Title: GitHub - Activiti/activiti-cloud-demo-ui (at github.com)

2018-05-15 14:13:37 GMT <angelborroy> you have to follow Salaboy :)

2018-05-15 14:14:13 GMT <yreg> It's not a matter of following, it is more about following up :D

2018-05-15 14:14:42 GMT <angelborroy> I’ve just found this small perl https://github.com/Alfresco/alfresco-remote-api/commit/dfb270a6e171b0808f92701128e41261c53faf3f

2018-05-15 14:14:43 GMT <alfbot> Title: REPO-2575: allow sending 'AlfTicket' scheme in WWW-Authenticate header · Alfresco/alfresco-remote-api@dfb270a · GitHub (at github.com)

2018-05-15 14:14:57 GMT <angelborroy> Someone decided to change this behaviour without document it (obviously)

2018-05-15 14:15:16 GMT <angelborroy> Another painful point for Alfresco 6 upgradings

2018-05-15 14:16:45 GMT <yreg> angelborroy, that's actually something we were looking for for a while

2018-05-15 14:17:07 GMT <yreg> Having the old behaviour is actually causing a bug in ADF

2018-05-15 14:17:31 GMT <angelborroy> ADF is not using CMIS

2018-05-15 14:17:38 GMT <angelborroy> Why they cannot fix properly the problem?

2018-05-15 14:17:42 GMT <AxelFaust> Ughh... why not simply support BASIC + AlfTicket at the same time (multiple schemes are allowed for WWW-Authenticate)

2018-05-15 14:17:50 GMT <angelborroy> +1

2018-05-15 14:17:58 GMT <yreg> Aha, I thought that only applied to the public REST API

2018-05-15 14:19:24 GMT <angelborroy> yreg I can confirm that restoring previous behaviour provokes a Basic Auth popup for ADF apps

2018-05-15 14:19:40 GMT <angelborroy> But using Alfresco 6 as is, CMIS Browsing is disabled

2018-05-15 14:20:01 GMT <angelborroy> I’ll patch this if some customer requieres both

2018-05-15 14:20:12 GMT <angelborroy> I’m going to write this down in a post as a reminder

2018-05-15 16:02:04 GMT <IanW1> I ran into some problems with basic and CAS 'cos the mobile app requires (required?) basic auth (nasty hack workaround...) - and there was a least one bug in 5.2? where the basic auth popped up unexpectedly as well - looking forward to when all the auth is rebuilt...

End of Daily Log

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