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

2019-04-05 07:17:20 GMT <alfresco-discord> <dgradecak> good morning good people

2019-04-05 07:19:02 GMT <alfresco-discord> <dgradecak> did anyone find a good solution for sharing a document with someone outside the organization? I know @Loftux has sharebox ... is there anything else compared to that?

2019-04-05 07:22:36 GMT <angelborroy> Quick Share is public

2019-04-05 07:22:58 GMT <angelborroy> You don’t need to be an Alfresco user to access a document “quick shared"

2019-04-05 07:29:04 GMT <alfresco-discord> <dgradecak> ok in that regard I was not yet specific. But than the alfresco server has to be available online

2019-04-05 07:29:14 GMT <angelborroy> ys

2019-04-05 07:29:39 GMT <angelborroy> Loftux is providing an additional app to be deployed externally

2019-04-05 07:30:02 GMT <angelborroy> If it’s an Enteprise customer, I’ll pick Loftux product for sure

2019-04-05 07:30:51 GMT <alfresco-discord> <dgradecak> well it is not an enterprise project, but could become

2019-04-05 07:31:21 GMT <alfresco-discord> <dgradecak> Loftux is hiding its prices as a snake hides its legs 😉

2019-04-05 07:31:33 GMT <angelborroy> you can talk with them

2019-04-05 07:31:39 GMT <angelborroy> price is not fixed

2019-04-05 07:31:48 GMT <angelborroy> depends on the opportunity

2019-04-05 07:31:48 GMT <alfresco-discord> <dgradecak> I know, just kidding

2019-04-05 08:01:03 GMT <alfresco-discord> <dgradecak> angel, regardin the quick share, do you have a clue if the body of the email can be changed? Or at least the url part? Not sure if it is hardcode on the client side

2019-04-05 08:01:25 GMT <angelborroy> sure, you have your FTL template

2019-04-05 08:02:32 GMT <alfresco-discord> <dgradecak> so it is an override? do you know which ftl is it by any chance?

2019-04-05 08:05:02 GMT <angelborroy> share_notify_user.ftl

2019-04-05 08:05:13 GMT <angelborroy> Data Dictionary > Email Templates > Email Notify Templates

2019-04-05 08:14:28 GMT <alfresco-discord> <dgradecak> did you type it from memory? 😉

2019-04-05 08:15:44 GMT <angelborroy> More or less

2019-04-05 08:15:48 GMT <angelborroy> It was that?

2019-04-05 08:15:49 GMT <angelborroy> :D

2019-04-05 08:17:01 GMT <alfresco-discord> <dgradecak> sure not 😄

2019-04-05 08:20:16 GMT <angelborroy> sorry

2019-04-05 08:20:29 GMT <angelborroy> anyway, I’m sure you can manage to find that

2019-04-05 08:26:12 GMT <alfresco-discord> <dgradecak> sure no problem

2019-04-05 08:26:30 GMT <alfresco-discord> <dgradecak> at least I discovered now <config evaluator="string-compare" condition="Social">

2019-04-05 08:43:04 GMT <alfresco-discord> <dgradecak> at the end nothing to do with an ftl, and it is all share side

2019-04-05 08:43:25 GMT <angelborroy> really?

2019-04-05 08:44:51 GMT <angelborroy> https://github.com/Alfresco/alfresco-repository/search?l=FreeMarker&q=quickshare&type=

2019-04-05 08:44:52 GMT <alfbot> Title:Search · quickshare · GitHub (at github.com)

2019-04-05 08:45:03 GMT <angelborroy> sorry

2019-04-05 08:45:04 GMT <angelborroy> https://github.com/Alfresco/alfresco-repository/blob/ac38ac94ff4f9cbdf2671a9517781bda389a13c4/src/main/resources/alfresco/templates/quickshare-email-templates/quickshare-email.default.template.ftl

2019-04-05 08:45:05 GMT <alfbot> Title:alfresco-repository/quickshare-email.default.template.ftl at ac38ac94ff4f9cbdf2671a9517781bda389a13c4 · Alfresco/alfresco-repository · GitHub (at github.com)

2019-04-05 08:46:14 GMT <alfresco-discord> <dgradecak> quite funny actually

2019-04-05 08:46:21 GMT <alfresco-discord> <dgradecak> https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/trunk/share/src/main/resources/alfresco/messages/slingshot.properties

2019-04-05 08:46:32 GMT <alfresco-discord> <dgradecak> linkshare.action.email.body=File {1} shared from Alfresco Content Services, look at it here: {0}

2019-04-05 08:46:43 GMT <alfresco-discord> <dgradecak> maybe we talk about different things

2019-04-05 08:46:49 GMT <alfresco-discord> <dgradecak> and than also in share

2019-04-05 08:46:58 GMT <alfresco-discord> <dgradecak> <config evaluator="string-compare" condition="Social"

2019-04-05 08:47:03 GMT <alfresco-discord> <dgradecak> <quickshare> <url>MY_SHARE/quickId/{sharedId}</url> </quickshare>

2019-04-05 08:47:10 GMT <angelborroy> I was just only searching in the source code

2019-04-05 08:47:31 GMT <angelborroy> But that Share stuff is just only for the FTL page, right?

2019-04-05 08:47:41 GMT <angelborroy> There is nothing to do with the mail template

2019-04-05 08:48:56 GMT <alfresco-discord> <dgradecak> actually there is an email action in the shared link

2019-04-05 08:49:15 GMT <alfresco-discord> <dgradecak> and the template used there does not seem to come from an ftl

2019-04-05 08:49:25 GMT <angelborroy> Ah, lok

2019-04-05 08:49:28 GMT <angelborroy> That button

2019-04-05 08:49:36 GMT <angelborroy> Yes, only it’s pasting the text

2019-04-05 08:49:57 GMT <angelborroy> it’s a parametrized “mailto"

2019-04-05 08:50:06 GMT <alfresco-discord> <dgradecak> from a properties file

2019-04-05 08:50:09 GMT <angelborroy> right

2019-04-05 08:50:24 GMT <angelborroy> you can develop a behaviour to send an email when Sharing a document

2019-04-05 08:51:03 GMT <alfresco-discord> <dgradecak> indeed that is all good of course

2019-04-05 08:51:23 GMT <alfresco-discord> <dgradecak> but you still need to know to who 😉

2019-04-05 08:51:50 GMT <angelborroy> you can create a datalist with external emails to be notified

2019-04-05 08:52:01 GMT <angelborroy> I have replies for everything, try me!

2019-04-05 08:52:02 GMT <angelborroy> :D

2019-04-05 08:52:05 GMT <alfresco-discord> <dgradecak> hahaha

2019-04-05 08:52:11 GMT <alfresco-discord> <dgradecak> so a static list of emails ?

2019-04-05 08:52:16 GMT <angelborroy> no static

2019-04-05 08:52:21 GMT <angelborroy> maintained in a datalist

2019-04-05 08:52:39 GMT <alfresco-discord> <dgradecak> data lists are being "dumped" right

2019-04-05 08:52:46 GMT <angelborroy> you’re right

2019-04-05 08:53:01 GMT <alfresco-discord> <dgradecak> but no worries I will find my way out 😉

2019-04-05 08:53:13 GMT <alfresco-discord> <dgradecak> just trying to decypher what you sent

2019-04-05 08:53:23 GMT <angelborroy> you can upload an Excel/CSV with email addresses

2019-04-05 08:53:23 GMT <alfresco-discord> <dgradecak> quickshare-email.default.template.ftl

2019-04-05 08:53:29 GMT <alfresco-discord> <dgradecak> hahaha

2019-04-05 08:53:36 GMT <alfresco-discord> <dgradecak> indeed I could 😄

2019-04-05 08:53:42 GMT <angelborroy> better

2019-04-05 08:53:52 GMT <alfresco-discord> <dgradecak> and send a MQ message to the coffee machine

2019-04-05 08:53:55 GMT <angelborroy> create a micro-service to return email addreses!

2019-04-05 08:53:57 GMT <angelborroy> ah, ah

2019-04-05 08:54:00 GMT <angelborroy> that was!

2019-04-05 08:54:12 GMT <alfresco-discord> <dgradecak> I know you were waiting for the coffee

2019-04-05 08:55:46 GMT <alfresco-discord> <dgradecak> the "social" shared to is just a pitty there is no "repo" side action

2019-04-05 08:55:55 GMT <alfresco-discord> <dgradecak> but at the end one could be added

2019-04-05 08:57:01 GMT <alfresco-discord> <dgradecak> a msall hackaton project: add "external" as a quick share endpoint, that uses a server side email template 😉

2019-04-05 08:58:24 GMT <alfresco-discord> <dgradecak> but again it is the old share ... better doing that in adf right

2019-04-05 08:59:13 GMT <alfresco-discord> <dgradecak> since there is no google docs yet in ADF, is there the quick share action?

2019-04-05 09:00:03 GMT <angelborroy> Not currently, and I don’t think it’s planned

2019-04-05 09:01:20 GMT <alfresco-discord> <dgradecak> great

2019-04-05 09:01:51 GMT <alfresco-discord> <dgradecak> btw, I have a question for the "old" angel, not old in age but the previous position

2019-04-05 09:02:21 GMT <angelborroy> tell me

2019-04-05 09:02:48 GMT <alfresco-discord> <dgradecak> what would you say to clients that ask you if they should move to digital workspaces 😄 you cna write in pvt also haha

2019-04-05 09:02:59 GMT <alfresco-discord> <anghelutar> hi guys: what is the biggest (size on disk) non-sharded solr index you saw working with Alfresco?

2019-04-05 09:03:03 GMT <alfresco-discord> <dgradecak> would like to hear AFaust too about that same question

2019-04-05 09:03:19 GMT <AFaust> Let me catch up first...

2019-04-05 09:03:37 GMT <alfresco-discord> <dgradecak> just the last question AFaust

2019-04-05 09:04:02 GMT <angelborroy> No private required,

2019-04-05 09:04:15 GMT <angelborroy> Customers must move in some direction

2019-04-05 09:04:27 GMT <angelborroy> ACA / DW is the one provided by Alfresco

2019-04-05 09:04:52 GMT <angelborroy> Not enought by now for many of them, but it’s the only line currently available

2019-04-05 09:05:31 GMT <angelborroy> @anghelutar I don’t know the figure, but it was a 10 M document with 40 properties avg per document

2019-04-05 09:06:13 GMT <AFaust> "Should" => Definitely no. "May" => "Yes, if you want to build your own throw-away UIs and don't expect to use/want any of the Community-provided addons"

2019-04-05 09:06:27 GMT <alfresco-discord> <anghelutar> Alfresco's recommendation to start sharding was from 50M ?

2019-04-05 09:07:00 GMT <angelborroy> I’m searching that recommendation, but I can’t find it

2019-04-05 09:08:31 GMT <alfresco-discord> <dgradecak> AFaust: in the may section, you mean build your own on top of ADF right?

2019-04-05 09:08:34 GMT <AFaust> Well, my answers are more for "Should we move to ADF", since I don't see any point in using ACA/DW unmodified as-built by Alfresco in any customer scenarios. There are always requirements for customisation and then you no longer have DW but "Acme UI" after you were forced to rebuild the app for the most trivial of changes.

2019-04-05 09:08:58 GMT <angelborroy> https://docs.alfresco.com/6.0/references/sharding-best-practices.html

2019-04-05 09:08:59 GMT <alfbot> Title:Best practices for setting up sharded Solr indexes | Alfresco Documentation (at docs.alfresco.com)

2019-04-05 09:09:23 GMT <angelborroy> @anghelutar 50 M is official recommendation

2019-04-05 09:09:26 GMT <alfresco-discord> <dgradecak> yes I agree about that, but extension points are there if I followed correctly, did not try it yet

2019-04-05 09:09:54 GMT <AFaust> dgradecak: Yes, extension points are there, but very naiive / trivial ones...

2019-04-05 09:09:56 GMT <alfresco-discord> <dgradecak> I am just in a middle of "not having an answer" when people ask me if they should move to DW/ACA

2019-04-05 09:10:17 GMT <angelborroy> In my opinion, it depends on the use case

2019-04-05 09:10:29 GMT <angelborroy> But in 2-3 years, there will be only one option

2019-04-05 09:10:53 GMT <alfresco-discord> <dgradecak> I usually say in 5-10 years 😄 but you are probably right

2019-04-05 09:10:54 GMT <AFaust> angelborroy: You should know there will never be "only one option"

2019-04-05 09:11:29 GMT <AFaust> Maybe "only one option" provided by Alfresco, but that does mean it is the only "good" option.

2019-04-05 09:11:40 GMT <angelborroy> it’s only my opinion

2019-04-05 09:12:03 GMT <alfresco-discord> <dgradecak> I had an angular devleoper ( a good one) trying ADF, and he started swearing at me 😄

2019-04-05 09:12:19 GMT <AFaust> WTF/minute - the universal quality metric

2019-04-05 09:13:00 GMT <angelborroy> Angular devs from keensoft were delighted with ADF

2019-04-05 09:13:18 GMT <angelborroy> But every project I started with ADF was a pain in the back, it’s true

2019-04-05 09:13:34 GMT <angelborroy> Probably now it’s better, but it’s a different paradigm

2019-04-05 09:14:10 GMT <AFaust> I am just now dealing with the default ACA image in a customer test environment where - for some reason only the ADF gods know - a single file is not loaded correctly when run via a reverse proxy in a different base path

2019-04-05 09:14:22 GMT <AFaust> Wasting hours again on this ***

2019-04-05 09:14:28 GMT <angelborroy> agree

2019-04-05 09:14:34 GMT <alfresco-discord> <dgradecak> haha, reminds me of something indeed

2019-04-05 09:14:45 GMT <angelborroy> I don’t know why are they using all that complexity in that point

2019-04-05 09:14:56 GMT <angelborroy> I usually built ACA images by my own

2019-04-05 09:15:57 GMT <alfresco-discord> <dgradecak> correct me angel, when I first tried ACA, I had to get the source code and do changes in it if I wanted to change something

2019-04-05 09:16:14 GMT <angelborroy> right

2019-04-05 09:16:25 GMT <angelborroy> now they are providing “extensibility”

2019-04-05 09:16:27 GMT <AFaust> I don't know about "complexity" - it is actually only one ENV that is mapped to the base href. But the darn nginx setup with those catch-all redirect-to-index.html rules that dominate SPAs nowadays apparently has one "magic" hole that let's this single file slip through

2019-04-05 09:16:43 GMT <alfresco-discord> <dgradecak> any idea what it became? still like that or those extensions points are just config of extra components?

2019-04-05 09:17:20 GMT <angelborroy> Take a look https://alfresco-content-app.netlify.com/#/extending/

2019-04-05 09:17:21 GMT <alfbot> Title:Alfresco Content App (at alfresco-content-app.netlify.com)

2019-04-05 09:17:22 GMT <alfresco-discord> <dgradecak> AFaust, not impossible that they use the "basehref" with a hardocded string

2019-04-05 09:17:47 GMT <AFaust> It is replaced on container init with the ENV value

2019-04-05 09:18:02 GMT <AFaust> That basehref is correct, otherwise all those other files would not load correctly.

2019-04-05 09:18:55 GMT <alfresco-discord> <dgradecak> well ... I dealt with strange issues, in custom angular apps

2019-04-05 09:19:10 GMT <AFaust> I think I know where the problem may lie...

2019-04-05 09:20:07 GMT <alfresco-discord> <dgradecak> angel, any idea if there is a working example of a project that you can run and that shows a simple extension point?

2019-04-05 09:20:15 GMT <alfresco-discord> <dgradecak> seems I will need to join gitter soon

2019-04-05 09:20:34 GMT <AFaust> The whole ACA build seems NOT to guarantee that a specific JS file will get the same hash code when there are have been no source changes.

2019-04-05 09:21:18 GMT <alfresco-discord> <dgradecak> it is not really ACA AFaust, it is more the "angular" build

2019-04-05 09:21:41 GMT <AFaust> So in our system we actually have two ACA instances running on different hosts with reverse proxy + load balancing for failure tolerance (and ability of rolling upgrade), and those two instances apparently use different :development-latest images.

2019-04-05 09:22:05 GMT <AFaust> But there have been no changes to the ACA code base in the last 11 days, and both images were pulled after the last change.

2019-04-05 09:22:23 GMT <alfresco-discord> <dgradecak> aha, you run it from docker

2019-04-05 09:22:34 GMT <angelborroy> @dgradecak This one probably is some outdated https://github.com/keensoft/aca-extension-aos

2019-04-05 09:22:35 GMT <alfbot> Title:GitHub - keensoft/aca-extension-aos: Alfresco Content Application (ACA) Extension to provide Office Edit Online Action (at github.com)

2019-04-05 09:22:47 GMT <angelborroy> but it’s more or less like this

2019-04-05 09:22:49 GMT <AFaust> dgradecak: I know it is the Angular build, but by endorsing Angular, ADF / ACA has in my eyes "appropriated" all their insane / crazy issues

2019-04-05 09:23:26 GMT <AFaust> Strange thing: It is only this single file that seems to be affected... all other files have identical hashes.

2019-04-05 09:24:19 GMT <alfresco-discord> <dgradecak> angel, is it my eyes or there is a "poo" as icon ... 😄

2019-04-05 09:24:20 GMT <AFaust> To me that looks like the whole build is non-predictive, and I can only assume it pulls in some dependency from NPM with a different version which has been updated independently

2019-04-05 09:25:20 GMT <alfresco-discord> <dgradecak> I am probably a dinosaur, but when I have to deal with all this angular "paradigm" I loose my will to live 😄

2019-04-05 09:26:49 GMT <alfresco-discord> <dgradecak> however resistance if futile

2019-04-05 09:28:22 GMT <alfresco-discord> <dgradecak> btw, AFaust, what are you going to say/do if the client asks you to do a modification in that ACA image ?

2019-04-05 09:28:39 GMT <alfresco-discord> <dgradecak> just curious 😄

2019-04-05 09:29:08 GMT <AFaust> Hasn't happened yet, so I am still planning on hiking my rates in that case to offset my increased health care costs (therapy)

2019-04-05 09:30:25 GMT <alfresco-discord> <dgradecak> but in that case you are going to be assimilated too seems

2019-04-05 09:30:25 GMT <alfresco-discord> <yreg> 🤣

2019-04-05 09:32:57 GMT <AFaust> I am not saying I will forever stand my ground and die honourably, rather than do work on ACA / DW, but I will definitely make it worth my time and mental anguish.

2019-04-05 09:35:12 GMT <AFaust> And all this time I am already contemplating creating my own little "thingy" (refuse to call it framework) to potentially make working with ADF acceptable to me. Just haven't looked into the practicality of some of my ideas yet to know if they'll work or not...

2019-04-05 09:36:15 GMT <angelborroy> Or you can wait and skip ADF era

2019-04-05 09:36:33 GMT <AFaust> That is a backup plan, indeed.

2019-04-05 09:36:38 GMT <angelborroy> Probably there will be another hype that will throw away this Angular thing

2019-04-05 09:38:06 GMT <AFaust> Sometime this week I was reading this Medium article which Sujay retweeted: https://blog.angularindepth.com/building-extensible-dynamic-pluggable-enterprise-application-with-angular-aed8979faba5

2019-04-05 09:38:08 GMT <alfbot> Title:Building extensible Dynamic Pluggable Enterprise Application with Angular (at blog.angularindepth.com)

2019-04-05 09:38:41 GMT <AFaust> Not being an Angular guru, I of course did not understand everything, but it already looked far more interesting to me than the current ACA extension points.

2019-04-05 09:40:33 GMT <AFaust> The following lines form the summary really reflect my main pain points with the current ADF / ACA / DW design: "Angular evolves each quarter but it still doesn’t have a simple way to deal with dynamic templating. It’s the most required part when we are working with a big application and clients demand that all should be dynamic, lazy and changeable at runtime."

2019-04-05 09:42:24 GMT <AFaust> None of my customers want to have dozens of special-purpose, narrow use-case, custom built UIs, which unfortunately ADF / ACA is currently forcing people to build. They want a unified yet modular, single point of access platform.

2019-04-05 09:44:52 GMT <AFaust> Back to my ACA image discrepency problem - time to put some pseudo session-stickyness on the load balancer to avoid such issues in the future (apart from trying to make sure to always use the exact same image)

2019-04-05 09:44:57 GMT <alfresco-discord> <dgradecak> I agree, but that is what they are avoiding with the extension points right? at least in theory

2019-04-05 09:45:19 GMT <alfresco-discord> <dgradecak> but are you getting a 404 right?

2019-04-05 09:45:22 GMT <AFaust> In theory yes, but it doesn't go far enough.

2019-04-05 09:45:41 GMT <AFaust> No, not getting a 404, because the nginx just delivery the index.html instead of the .js

2019-04-05 09:45:51 GMT <alfresco-discord> <dgradecak> aha I see

2019-04-05 09:46:00 GMT <AFaust> That is the problem with those SPA architectures which require a catch-all rewrite.

2019-04-05 09:46:22 GMT <alfresco-discord> <dgradecak> sounds like you have an issue i na rewrite rule or so

2019-04-05 09:46:49 GMT <AFaust> A 404 would have been quite straight forward in terms of identifying the issue...

2019-04-05 09:47:13 GMT <alfresco-discord> <dgradecak> did you check the "url" in the chrome console, or whatever browser you are using (I am sure you did)

2019-04-05 09:47:37 GMT <AFaust> No, I just have that file with two different hashes on the two backends because the build of a ACA commit in Git history is non-stable / repeatable

2019-04-05 09:48:05 GMT <alfresco-discord> <dgradecak> but why do you care if the "index.html" knows which file to load

2019-04-05 09:48:28 GMT <alfresco-discord> <dgradecak> that is what I do not get, seems your proxy is not allowing that file (url) to be accesed

2019-04-05 09:49:24 GMT <AFaust> The index.html served by the two backends contains the reference to the JS file, but with different hashes. Since the load balancer is not sticky, when the browser asks for the JS with one hash, it may get forwarded to the backend where there is a different hash.

2019-04-05 09:49:39 GMT <alfresco-discord> <dgradecak> aha ... ok now following

2019-04-05 09:49:44 GMT <AFaust> There is no access problem, just the inconsistency between index.html and the file hashes on the backends

2019-04-05 09:50:10 GMT <AFaust> That's why I am now looking to add artificial stickyness via my Apache proxy config.

2019-04-05 09:50:24 GMT <alfresco-discord> <dgradecak> sorry, I forgot hat you are loabalancing with different iles

2019-04-05 09:50:52 GMT <alfresco-discord> <dgradecak> sure sticky session should help for that matter

2019-04-05 09:51:41 GMT <AFaust> Though that is only a fallback for when the ACA images for the same Git commit differ again... It may still cause issues in case of failover etc.

2019-04-05 09:52:14 GMT <alfresco-discord> <dgradecak> well, even for the same commit if the build was a different job than it will be different

2019-04-05 09:52:39 GMT <alfresco-discord> <dgradecak> I will not expect ACA to fix that 😉

2019-04-05 09:53:42 GMT <AFaust> Honestly, given the same input I always expect the same, perfectly compatible output.

2019-04-05 09:53:58 GMT <AFaust> But web development nowadays has nothing to do with software development and proper engineering, so yes, maybe it is wrong for me to expect anything of what I have learned in my career...

2019-04-05 09:55:27 GMT <alfresco-discord> <dgradecak> hahah, I have nothing to add to that. Just that probably we should retire soon 😄 I have the same opinion as you

2019-04-05 09:59:14 GMT <alfresco-discord> <dgradecak> a move to a managing position mabye

2019-04-05 10:22:26 GMT <AFaust> Ohhh, no, not a managing position. That layer is even further removed from knowing what proper software development entails.

2019-04-05 10:23:17 GMT * AFaust says that and realises that is formal current position includes "Manager" / "Managing Director"...

2019-04-05 10:24:14 GMT <AFaust> So... stickyness works and I can finally stop dealing with ACA for today... yeay.

2019-04-05 10:27:04 GMT <alfresco-discord> <dgradecak> good to hear, but I am going to deal with AGS now 😄 I never liked that but seems it has to be done

2019-04-05 10:43:38 GMT <alfresco-discord> <dgradecak> teh AGS rest api https://docs.alfresco.com/ags-community/concepts/gs-api-overview.html gives a link with the name alfresco-rm-community-rest-api-explorer-3.0.a.war

2019-04-05 10:43:39 GMT <alfbot> Title:Governance Services APIs | Alfresco Documentation (at docs.alfresco.com)

2019-04-05 10:43:55 GMT <alfresco-discord> <dgradecak> once you download the file you receive alfresco-rm-community-rest-api-explorer-2.7.a.war

2019-04-05 10:54:04 GMT <alfresco-discord> <drazen04> Hi all. I am having some trouble with ServiceRegistry in a class MyClass that extends ListOfValuesConstraint. I made this class for a dynamic datalist, i inject properly in context and placed as constraint in my content model, but ServiceRegistry is never valorized, it's always "null". I've searched all around internet but there was nothing able to help. I also tried in my code to check f

2019-04-05 10:54:05 GMT <alfresco-discord> (this.serviceRegistry == null) list.add("some random values"), because i thought that when the server is starting maybe it's a normal beahviour have serviceRegistry == null, then when i load my form it retrieves me always "some random values", so also when server is started i don't get serviceregistry for that class

2019-04-05 10:57:17 GMT <alfresco-discord> <drazen04> Hi all. I have some trouble with ServiceRegistry on MyClass that extends ListOfValuesConstraint. The problem is that after injecting my bean in the context, serviceRegistry is always null.

2019-04-05 10:57:41 GMT <alfresco-discord> <drazen04> and the server didn't start

2019-04-05 11:00:10 GMT <alfresco-discord> <drazen04> So i made a check if (this.serviceRegistry != null) make_my_logic : "print_some_random_values", because i thought that is normal having serviceregistry == null when server is starting, but when i go to my form i retrieves my always "print_some_random_values", so serviceRegistry is null after the server is started also.

2019-04-05 11:00:35 GMT <AFaust> drazen04: I bet you specified your custom constraint class as TYPE="yourClassName" in the model, right?

2019-04-05 11:00:44 GMT <alfresco-discord> <drazen04> yes

2019-04-05 11:01:14 GMT <AFaust> Yeah. Any class provided that way will only be instantiated using the default constructor and have no fields / dependencies injected. It is outside of Spring context / control.

2019-04-05 11:01:39 GMT <AFaust> You need to use a registered constraint and define your constraint as a regular Spring bean to get access to ServiceRegistry or other dependencies

2019-04-05 11:03:08 GMT <AFaust> So,type="REGISTERED" with a parameter "registeredName" which specifies the Spring bean name.

2019-04-05 11:03:56 GMT <AFaust> See the Alfresco default constraint for the store selector, which is using a Spring registered constraint bean: https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/contentModel.xml#L32

2019-04-05 11:03:57 GMT <alfbot> Title:alfresco-repository/contentModel.xml at master · Alfresco/alfresco-repository · GitHub (at github.com)

2019-04-05 11:04:24 GMT <AFaust> Bean: https://github.com/Alfresco/alfresco-repository/blob/92b5439b006e311725598ad80f3cbb57bae9cc9f/src/main/resources/alfresco/core-services-context.xml#L590

2019-04-05 11:04:25 GMT <alfbot> Title:alfresco-repository/core-services-context.xml at 92b5439b006e311725598ad80f3cbb57bae9cc9f · Alfresco/alfresco-repository · GitHub (at github.com)

2019-04-05 11:05:17 GMT <alfresco-discord> <drazen04> Ok, so for example : --> <constraint name="mine:datalist" type="registered"><parameter name="bean_id" >, right?

2019-04-05 11:06:03 GMT <alfresco-discord> <drazen04> I'll check links. Thank you 👌

2019-04-05 11:07:11 GMT <alfresco-discord> <drazen04> It seems what i was looking for. Really appreciated

2019-04-05 12:16:12 GMT <alfresco-discord> <yreg> https://discordapp.com/channels/451644531323174912/451644531323174914/563662170638909466

2019-04-05 12:16:13 GMT <alfbot> Title:Discord (at discordapp.com)

2019-04-05 12:16:59 GMT <alfresco-discord> <yreg> @dgradecak that statement is not correct unless you have moving dependencies

2019-04-05 12:17:33 GMT <alfresco-discord> <yreg> @AFaust if you wanna avoid that, you probably should start considering versioning for the packages lock json file

2019-04-05 12:18:43 GMT <AFaust> yreg: Why should I have to do that? We are talking about the default Alfresco-built ACA. Why does that not have a stable, repeatable build?

2019-04-05 12:22:57 GMT <alfresco-discord> <yreg> it's a tradeoff, I guess ...

2019-04-05 12:23:49 GMT <alfresco-discord> <yreg> when you rely on moving dependencies, you can point to latest minor or patch automagically which could have a security patch you need or alike but would mess up your hashes

2019-04-05 12:23:51 GMT <alfresco-discord> <bhagyas> @dgradecak Just saw the messsages

2019-04-05 12:24:03 GMT <alfresco-discord> <bhagyas> ping @Loftux if you got any Qs on pricing and products 😄

2019-04-05 12:24:23 GMT <alfresco-discord> <bhagyas> ^_^

2019-04-05 12:44:23 GMT <alfresco-discord> <yreg> AFaust do you know if it is normal that I get the a failure when I try to lock a node having a risidual ASPECT ?

2019-04-05 12:44:37 GMT <alfresco-discord> <yreg> Public REST API is doing it, and I think it shouldn't

2019-04-05 12:46:21 GMT <AFaust> yreg: Well, coming from Maven and professional (!) Java development, I am used to fixed versions and believe all stable software should have fixed versions (though not "fixed" like Alfresco, where they may never update a dependency in 10 years of the product), and the whole amateur-ish default in web development of having floating versions just strikes me as extremely naiive, hail-mary, "pray and hope for the best"...

2019-04-05 12:46:58 GMT <AFaust> And yes, I would expect to see problems with residual ASPECTs, because Alfresco can only handle residual properties, not aspects.

2019-04-05 12:48:00 GMT <AFaust> I have also had issues with nodes being completely blocked from any aspect modifications when having a residual aspect (in a dev environment) in some projects years ago, until I cleaned those up in the DB.

2019-04-05 12:49:12 GMT <AFaust> I mean, in proper development, there should never be residual aspects in the first place (or properties, but that is another matter). When you remove an aspect from a model (remember, that is a non-incremental change), you should always do it in two steps. One module version with aspect deprecated and bootstrap component to remove all occurrences from DB, and then the final version with aspect removed from model

2019-04-05 13:02:41 GMT <AFaust> QQ: Did anyone encounter any playback issues with the DevCon recordings? Just now noticed that the recording of one of the Lightning Talk sessions I participated in always hangs at the same time...

2019-04-05 13:03:03 GMT <AFaust> Skipping by just one second and it continues merrily on...

2019-04-05 13:04:01 GMT <AFaust> Argh... it hangs at multiple times...

End of Daily Log

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