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-05-31 00:04:17 GMT <greyfiend> Hi, I'm trying to setup solr4 with alfresco community edition (tomcat install), the Documentation talks about "In the Repository Services section, click Search Service." in the admin console. I can't see anything like this, any help greatly appreciated.

2017-05-31 01:29:32 GMT <douglascrp> greyfiend, that one is for enterprise

2017-05-31 01:29:43 GMT <douglascrp> with community you will have to deal with the configuration files

2017-05-31 01:30:27 GMT <greyfiend> @douglasscrp Hey thanks douglas, yes sadly I figured that out :) cheers!

2017-05-31 01:30:27 GMT <douglascrp> greyfiend, I mean, the admin console configuration is enterprise only, not the solr4

2017-05-31 01:30:35 GMT <douglascrp> ah, nice

2017-05-31 07:26:50 GMT <iblanco> Good morning everyone

2017-05-31 07:40:32 GMT <hi-ko> Good morning alfrescians (sorry Jan ...)!

2017-05-31 07:41:16 GMT <mrks_js> Hi Heiko!

2017-05-31 07:42:10 GMT <hi-ko> As already discussed with loftux: we switched from creating a patch module for every version to a patched fork:

2017-05-31 07:42:52 GMT <hi-ko> 5.2: https://github.com/ecm4u/share-5.2.d-patched / https://github.com/ecm4u/community-edition-5.2.e-patched

2017-05-31 07:42:53 GMT <alfbot> Title: GitHub - ecm4u/share-5.2.d-patched (at github.com)

2017-05-31 07:44:11 GMT <hi-ko> 5.1: https://github.com/ecm4u/community-edition/tree/5.1.g-patched / https://github.com/ecm4u/share/tree/5.1.g-patched

2017-05-31 07:44:12 GMT <alfbot> Title: GitHub - ecm4u/community-edition at 5.1.g-patched (at github.com)

2017-05-31 07:44:56 GMT <mrks_js> cool"

2017-05-31 07:46:26 GMT <hi-ko> We would be happy if this could be a starting base to collaborate on! This is the result of our support work on our Alfresco Virtual Appliance but a stable Community should be a target for every Alfresco instance ;-)

2017-05-31 07:53:49 GMT <yreg> good morning every one !

2017-05-31 07:54:09 GMT <yreg> hi-ko, isn't it already hard to maintain one fork in the community ?

2017-05-31 07:54:42 GMT <yreg> why create an extra patched fork instead of joining effort ?

2017-05-31 08:32:56 GMT *** davidwebster_ is now known as davidwebster

2017-05-31 08:54:06 GMT <hi-ko> yreg: didn't get your suggestion. How to work on (joined) patch efforts without a fork?

2017-05-31 08:56:04 GMT <yreg> hi-ko, my suggestion is : there is already one fork, why not join effort instead of creating a second one :)

2017-05-31 08:57:41 GMT <hi-ko> The reasons why we put the forks in our ecm4u account were: we want to make sure there is a process / quality effort involved before a change is included and additionally we wanted to create facts to get the first step done ...

2017-05-31 08:59:16 GMT <hi-ko> github is a perfect platform to join efforts anyway. ootb may fork our repo and we could work with PRs

2017-05-31 09:01:08 GMT *** onu_ is now known as onu

2017-05-31 09:02:32 GMT <hi-ko> but the last discussion(s) I followed ended in the decision not to fork. We for ourself ended with the decision to fork every final release of a version to make patching easier which is subject of our support efforts

2017-05-31 09:31:34 GMT <yreg> hi-ko, best of luck with your efforts

2017-05-31 09:38:23 GMT <hi-ko> yreg: which fork you mean?

2017-05-31 09:39:10 GMT <fwu> hi all!

2017-05-31 09:39:31 GMT <hi-ko> yreg: We take it as loftux: We do our work anyway but are open for anybody to join.

2017-05-31 09:39:32 GMT <yreg> I was referring to the one made by loftux

2017-05-31 09:40:07 GMT <yreg> and I discovered during beecon that there is some Russian company that forked share

2017-05-31 09:42:37 GMT <hi-ko> yreg: I had a longer discussion with loftux some months ago. loftux has no forks on specific version (it's more or less on trunk) and for my understanding the project stucked somehow. We work on the official svn rev communicated by alfresco as a version

2017-05-31 09:43:21 GMT <hi-ko> <yreg

2017-05-31 09:45:13 GMT <hi-ko> yreg: Also our livecycle differs: We start forking after Alfresco released the last version of a final release. Of course we check and test other versions but don't rely on the EA stuff.

2017-05-31 09:45:25 GMT <hi-ko> lifecycle ...

2017-05-31 09:49:37 GMT <yreg> hi-ko, I got that idea already, but still with loftux fork it's easy to tog last GA, and way easier to follow up with alfresco changes

2017-05-31 09:50:07 GMT <yreg> unfortunately, Loftux did rely on the mirror on github which got stuck

2017-05-31 09:50:12 GMT <yreg> at some point

2017-05-31 09:50:30 GMT <yreg> and I do not know for sure if they were able to go back to SVN

2017-05-31 09:51:20 GMT <yreg> but even if they did, the changes made now to the projects : alfresco splitting everything in smaller projects hosted on their gitlab is not making things easier

2017-05-31 09:51:49 GMT <yreg> so all these components needs to be fetched seperately and built before building the wars

2017-05-31 09:52:27 GMT <yreg> well it's possible to automate it with some CI tooling, but not very easy I am afraid

2017-05-31 09:52:38 GMT <hi-ko> we tried first to rely on alfresco's github project but changed to create our own project based on svn because this is the only one we can rely on. thats the reason why we have a separate project for every version.

2017-05-31 09:53:38 GMT <hi-ko> what do you miss in the building process? we are now more or less happy having 2 build jobs on or CI per alfresco version we support and fix

2017-05-31 09:54:30 GMT <yreg> hi-ko, SVN is getting dumped Alfresco is moving to gitlab

2017-05-31 09:55:35 GMT <osaidi> what would cause a replication job to throw a unable to start replication exception?

2017-05-31 09:55:45 GMT <hi-ko> I know but this is announced since months and we need something wich works for the stuff 10ths of organisations need today

2017-05-31 09:56:07 GMT <osaidi> the only change i made before getting this exception is that i made the source site private

2017-05-31 09:58:34 GMT <hi-ko> yreg: as far as I know Alfresco intents to start from scratch on gitlab and will not take the history of 4.2/5.0/5.1/5.2

2017-05-31 09:59:13 GMT <hi-ko> yreg: So gitlab is something we care about in maybe a year ;-)

2017-05-31 10:06:44 GMT <yreg> hi-ko, afaik they plan on recovering that history sometime in the future

2017-05-31 10:07:00 GMT <yreg> but without branches

2017-05-31 10:07:34 GMT <yreg> osaidi, does the user doing the replication has access

2017-05-31 10:17:35 GMT <hi-ko> yreg: do you run the loftux version in production? we became more conservative over the time because with every new feature new bugs appears we didn't had on the radar. So our customers are more happy if we focus on fixing isses without introducing new ones ...

2017-05-31 10:17:39 GMT <osaidi> <yreg> yes he does

2017-05-31 10:20:55 GMT <yreg> hi-ko, being employee of a partner, I only work on EE, I use CE only for testing addons!

2017-05-31 10:28:17 GMT <hi-ko> yreg: o'course! ;-)

2017-05-31 10:52:18 GMT <yreg> QQ: does any one know what's the use of the property sys:cascadeTx

2017-05-31 11:06:15 GMT <iblanco> I suspect that it is related with indexing processes, but don' know much about it.

2017-05-31 11:35:00 GMT <AFaust> yreg: It is only used for indexing (and index cache update) purposes as far as I am aware. I believe we also had that question a while back when I was visiting you guys...

2017-05-31 11:35:34 GMT <AFaust> Basically that will be used if a change is done that needs a cascading update to indexed elements.

2017-05-31 11:35:43 GMT <AFaust> Like a move / rename which affects the indexed PATH

2017-05-31 11:38:47 GMT <douglascrp> good morning everyone

2017-05-31 11:39:50 GMT <AFaust> fcorti: Are there any plans to do a "page one rewrite" of the Process Services product and actually consider the use case of "extension" as a design principle? (And no, allowing user to hack something via the UI is not "extension")

2017-05-31 11:41:00 GMT <AFaust> Question may be trolling a bit more than I usually am, but am currently getting quite frustrated with this next to "closed-off" piece of software...

2017-05-31 11:41:37 GMT <angelborroy> yreg I was dealing with this metadata in the past https://angelborroy.wordpress.com/2016/09/20/alfresco-what-happens-when-a-folder-is-moved/

2017-05-31 11:41:38 GMT <alfbot> Title: Alfresco: what happens when a folder is moved | Programming and So (at angelborroy.wordpress.com)

2017-05-31 11:42:00 GMT <AFaust> Even the simplest requirements need major hacks or rebuild from patched source, e.g. "add option for multi-line text input to dynamic table"

2017-05-31 11:42:22 GMT <angelborroy> yreg it looks like SOLR uses it for re-indexing but after the task has been done, that trash remains forever in the node

2017-05-31 11:43:20 GMT <fcorti> Hi AFaust, whith "page one rewrite" for APS do you mean the customization of the view of the pages... or what else?

2017-05-31 11:43:35 GMT <AFaust> Product architecture

2017-05-31 11:43:52 GMT <AFaust> So that is in line with the "open core model"

2017-05-31 11:44:34 GMT <fcorti> I think we can easily agree that docs for APS is not improved as the ACS is....

2017-05-31 11:44:50 GMT <fcorti> And I can confirm that this is something Alfresco is facing.

2017-05-31 11:45:09 GMT <AFaust> E.g. a lot of stuff is hard-coded for specific widgets across the entire product, and it is next to impossible to e.g. implement a derivative of the dynamic table with only a minor enhancement without touching 20+ components

2017-05-31 11:46:22 GMT <AFaust> Both frontend and backend.... using magic configuration annotations and JSON-POJO mapping complicates matters even more.

2017-05-31 11:46:41 GMT <fcorti> In parallel, the product team started again to improve the technical part (APS is closed to be regurarly released on monthly basis and the idea to do the samewith Activiti stuff)

2017-05-31 11:47:07 GMT <fcorti> but... Alfresco is not there at the moment

2017-05-31 11:47:19 GMT <AFaust> At the current stage it might be more honest to sell Alfresco Processes Services as a closed-source product so customers don't get any ideas about being able to adapt it to their needs (except for some business user modelling via the UI)

2017-05-31 11:48:22 GMT <AFaust> (again, I know I am being a bit of a frustrated d*** right now)

2017-05-31 11:48:26 GMT <yreg> thanks AFaust & angelborroy !

2017-05-31 11:48:47 GMT <yreg> AFaust, are you finally considering to convert to ADF :D

2017-05-31 11:50:06 GMT <fcorti> I can imagine... and we perfectly know it

2017-05-31 11:50:23 GMT <fcorti> The team are facing this... but we all know it willl require time, you know

2017-05-31 11:50:26 GMT <AFaust> My motivation for using ADF is definitely not improving having to suffer through the Angular 1 + extension/customisation "bondage situation" with APS

2017-05-31 11:50:28 GMT <fcorti> not years... but months

2017-05-31 11:51:33 GMT <angelborroy> AFaust I really like APS product

2017-05-31 11:51:43 GMT <angelborroy> AFaust but I agree that extension/customisation is a nightmare

2017-05-31 11:52:07 GMT <angelborroy> AFaust we’re starting also to evaluate ADF as alternative

2017-05-31 11:53:10 GMT <AFaust> angelborroy: From a user / customer perspective I can certainly understand that. From an architect / developer perspective it is an embarrasment... errors that are silently caught, inconsistent export/import, missing/defunct I18n or incomplete consideration of general vs. country-specific locales

2017-05-31 11:53:27 GMT <angelborroy> +1

2017-05-31 11:54:00 GMT <AFaust> "Real", source project managed extensions are virtually unsupported...

2017-05-31 11:54:10 GMT <angelborroy> But we have now people like Mauricio, Eugenio and so in the product

2017-05-31 11:54:18 GMT <AFaust> Except for maybe adding execution / task listeners or delegates...

2017-05-31 11:54:21 GMT <angelborroy> So I hope this situation will change in the next months

2017-05-31 11:54:38 GMT <angelborroy> yep, Listeners is “nearly” well-implemented

2017-05-31 11:55:12 GMT <angelborroy> my only complain about this is the fact that exceptions are catched by “I-do-not-know-who”

2017-05-31 11:55:15 GMT <fcorti> angelborroy got it.. Mauricio (and Mario) are really committed on this goal but it'll require some time

2017-05-31 11:55:20 GMT <AFaust> Yeah - because they already worked in the Open Source Activiti core, which has always been of good quality...

2017-05-31 11:56:40 GMT <fcorti> And documentation team is facing the documentation suff... really to be improved too

2017-05-31 11:56:51 GMT <AFaust> angelborroy: I guess you have seen my tweets regarding try-catch(Exception)-swallow issues. Such code fragments are strewn all over the place. In some cases the service just continues as if nothing happened and the result will be inconsistent...

2017-05-31 11:57:09 GMT <angelborroy> AFaust yep, I know that part

2017-05-31 11:57:32 GMT <angelborroy> this is why I’m always making try-catch-throw blocks in my listeners

2017-05-31 11:57:39 GMT <angelborroy> just to log (at least) the problem

2017-05-31 12:56:31 GMT <Loftux> Have you guys found this cool ios app called "content"?

2017-05-31 12:57:57 GMT <Loftux> Just go into App Store and search for "content", ti will show up on like page 102+

2017-05-31 12:59:03 GMT <AFaust> Neither do I have an IOS device nore would I ever look on page 102+

2017-05-31 12:59:12 GMT <AFaust> nore => -e

2017-05-31 12:59:21 GMT <hi-ko> <angelborroy>: I just read your blog mentioned above. I think it is one of the skeletons in the closet which exists for years. I think a better solution would be to _not_ use solr/lucene for metadata.

2017-05-31 12:59:54 GMT <angelborroy> hi-ko probably

2017-05-31 13:00:05 GMT <angelborroy> hi-ko but this code is developed for SOLR 4

2017-05-31 13:00:11 GMT <angelborroy> hi-ko so it’s not that far

2017-05-31 13:00:37 GMT <angelborroy> hi-ko currently experimenting with SOLR 6 but IMO not ready for prod yet

2017-05-31 13:00:46 GMT <hi-ko> the problem has been 'translated' from lucene to solr

2017-05-31 13:00:52 GMT <angelborroy> yep

2017-05-31 13:01:28 GMT <hi-ko> to have ACLs and metadata only in the database would solve a lot of issues.

2017-05-31 13:01:38 GMT <Loftux> AFaust: Well, I was just being sarcastic. The Alfresco app is no longer named "Alfresco", it is named "Content" (When installed). Don't know what is called for Android.

2017-05-31 13:02:32 GMT <Loftux> Feels like Alfresco is taking this "Content Services" a bit to far, Alfresco is a good brand name

2017-05-31 13:03:17 GMT <hi-ko> btw: our customers have a lot of problems with the ios app getting unexpected 500s related to unhandled exceptions - especially with acitvity

2017-05-31 13:03:29 GMT <hi-ko> and SSO

2017-05-31 13:05:29 GMT <bhagyas> hi-ko do you think there is a market for a non-official better Alfresco app for ios/android

2017-05-31 13:06:07 GMT <hi-ko> or does anybody know a solution to get CMIS, SSO and fallback to basic auth working?

2017-05-31 13:06:22 GMT <hi-ko> <bhagyas>: depends on the use case!

2017-05-31 13:06:48 GMT <bhagyas> hi-ko: we already offer mobile app customisation (built on top of alfresco ios/android open source)

2017-05-31 13:07:12 GMT <hi-ko> <bhagyas> I think an alfresco app it self is a very limited use case

2017-05-31 13:08:43 GMT <bhagyas> hi-ko: e

2017-05-31 13:08:54 GMT <bhagyas> yeah, Alfresco has lagged behind when it comes to mobile

2017-05-31 13:09:07 GMT <bhagyas> would take a while to be relevant again

2017-05-31 13:09:26 GMT <bhagyas> maybe they are skipping altogether and getting into AI ;p

2017-05-31 13:09:37 GMT <hi-ko> AI?

2017-05-31 13:09:38 GMT <angelborroy> hi-ko In our case, just tweaking web.xml and auth filters to get desired SSO and basic auth combination

2017-05-31 13:09:43 GMT <bhagyas> artificial intelligence ;p

2017-05-31 13:10:06 GMT <hi-ko> <bhagyas> :-)

2017-05-31 13:10:43 GMT <hi-ko> <angelborroy>: so you mean you 'downgraded' cmis to basic out at a glance?

2017-05-31 13:10:49 GMT <angelborroy> right

2017-05-31 13:11:55 GMT <hi-ko> <angelborroy>: may be an option since we don't see other cmis clients yet.

2017-05-31 13:12:28 GMT <hi-ko> <angelborroy>: which filters did you touch?

2017-05-31 13:14:20 GMT <hi-ko> did one of you touch the cmis api classes to work around all these uncought exceptions which not even produces logging?

2017-05-31 13:14:54 GMT <angelborroy> let me see

2017-05-31 13:15:15 GMT <angelborroy> hi-ko https://github.com/keensoft/alf-21757-repo

2017-05-31 13:15:16 GMT <alfbot> Title: GitHub - keensoft/alf-21757-repo: Patch to ALF-21757 and ALF-21521 (at github.com)

2017-05-31 13:15:41 GMT <angelborroy> https://github.com/keensoft/alf-21757-repo/blob/master/alf-21757-repo/src/main/amp/web/WEB-INF/web.xml

2017-05-31 13:15:42 GMT <alfbot> Title: alf-21757-repo/web.xml at master · keensoft/alf-21757-repo · GitHub (at github.com)

2017-05-31 13:17:33 GMT <hi-ko> <angelborroy>: thanks so much - I will take a look!

2017-05-31 13:17:41 GMT <angelborroy> you’re welcome

2017-05-31 13:27:48 GMT <IanW1> hi-ko if you want to see a more complex (hacky!) answer https://github.com/wrighting/alfresco-cas - probably depends a bit on which flavour of SSO you're using...

2017-05-31 13:27:49 GMT <alfbot> Title: GitHub - wrighting/alfresco-cas: A project designed to show how to integrate Alfresco with CAS single sign on (at github.com)

2017-05-31 13:50:26 GMT <hi-ko> <angelborroy>: Shoudn't it be enough to only disable the global authentication filter as discussed in ALF-21521 s. https://github.com/ecm4u/community-edition-5.2.e-patched/blob/master/root/projects/web-client/source/web/WEB-INF/web.xml

2017-05-31 13:50:27 GMT <alfbot> Title: community-edition-5.2.e-patched/web.xml at master · ecm4u/community-edition-5.2.e-patched · GitHub (at github.com)

2017-05-31 13:51:42 GMT <angelborroy> hi-ko in our case Kerberos SSO (Share) + CMIS (basic auth) working with this patch

2017-05-31 14:27:09 GMT <hi-ko> has anybody patched / fixed uncought exceptions on the CMIS/REST api for sites which is used in the ios app?

2017-05-31 14:30:40 GMT <hi-ko> e.g. /public/alfresco/versions/1/people/fred.bloggs@yourcompany.com/sites gives unexpected http 500 without any exception in the logs.

2017-05-31 14:33:52 GMT <hi-ko> I found problems / inconsistencies in the code if site invitations are too old or sites have been deleted but it's hard to find all these silently caught exceptions ...

2017-05-31 14:34:17 GMT <hi-ko> <IanW1> I remember your efforts on cas ;-)

2017-05-31 14:35:20 GMT <IanW1> hi-ko: relatively recent fix for the mixed basic auth/CAS case

2017-05-31 14:40:52 GMT <hi-ko> <IanW1> I like your way to handle authentication header in your AuthenticatedEvaluator. This keeps both paths open!

End of Daily Log

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