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-10-20 05:59:00 GMT <mtsiak> hi all

2017-10-20 05:59:20 GMT <mtsiak> i have a problem connecting to webdav

2017-10-20 05:59:20 GMT <mtsiak> https://pastebin.com/i82m7yhC

2017-10-20 05:59:21 GMT <alfbot> Title: https://mydomain/alfresco/webdav HTTP Status 500 - 09200022 Failed to set cur - Pastebin.com (at pastebin.com)

2017-10-20 06:02:37 GMT <twen> good morning

2017-10-20 07:00:28 GMT <yreg> Morning everyone !

2017-10-20 07:04:21 GMT <mtsiak> what is the difference between the two urls?

2017-10-20 07:04:22 GMT <mtsiak> <endpoint-url>http://docs-staging.it.auth.gr:8080/alfresco/wcs</endpoint-url>

2017-10-20 07:04:22 GMT <mtsiak> <endpoint-url>http://docs-staging.it.auth.gr:8080/alfresco/s</endpoint-url>

2017-10-20 07:04:23 GMT <twen> hey yreg

2017-10-20 07:04:48 GMT <mtsiak> /alfresco/s

2017-10-20 07:04:57 GMT <mtsiak> alfresco/wcs ?

2017-10-20 07:05:38 GMT <twen> mtsiak The problem is that you first need to login to alfresco before requesting webdav with the given token

2017-10-20 07:05:54 GMT <twen> (line 9 of your pastebin)

2017-10-20 07:05:54 GMT <AFaust> mtsiak: /s (short for /service) is the web script endpoint with HTTP Basic authentication, /wcs (short for /wcservice) is the endpoint for SSO support

2017-10-20 07:06:06 GMT <twen> and 3 too :p

2017-10-20 07:07:02 GMT <mtsiak> AFaust thanks

2017-10-20 08:19:02 GMT <Tichodroma> ServiceRegistry.getScriptServer is @deprecated. Any idea what would be a future proof way to reach it?

2017-10-20 08:21:48 GMT <yreg> Tichodroma, I was not aware of script server !

2017-10-20 08:21:57 GMT * yreg looking up what it is and what it does

2017-10-20 08:22:08 GMT <Tichodroma> getScriptService, sorry

2017-10-20 08:26:37 GMT <yreg> Tichodroma, I was just looking up latest repository code from github

2017-10-20 08:26:50 GMT <yreg> and it does not seem to be deprecated

2017-10-20 08:27:19 GMT <Tichodroma> yes, and it has been at least since 5.1

2017-10-20 08:28:00 GMT <Tichodroma> from the JavaDoc: This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.

2017-10-20 08:28:55 GMT <Tichodroma> So if ScriptService will continue exist but not as part of the public API, what would be a way to reach it? Sadly, the @deprecated note does not say anything about this.

2017-10-20 08:29:25 GMT <Tichodroma> But maybe whoever added the deprecation forgot about this plan and things will remain like this for some time.

2017-10-20 08:30:50 GMT <yreg> Tichodroma, can you point me to the line where it is mentioned as deprecated ?

2017-10-20 08:31:24 GMT <Tichodroma> https://github.com/ecm4u/alfresco-ce-repository/blob/master/root/projects/repository/source/java/org/alfresco/service/ServiceRegistry.java#L359

2017-10-20 08:31:25 GMT <alfbot> Title: alfresco-ce-repository/ServiceRegistry.java at master · ecm4u/alfresco-ce-repository · GitHub (at github.com)

2017-10-20 08:33:34 GMT <yreg> Tichodroma, You will still be able to auto-wire the bean directly

2017-10-20 08:33:38 GMT * AFaust is so glad he does not care about ServiceRegistry at all...

2017-10-20 08:33:53 GMT <Tichodroma> or in the SVN history of https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/5.2.g/root/projects/repository/source/java/org/alfresco/service/ServiceRegistry.java

2017-10-20 08:34:02 GMT <yreg> https://github.com/Alfresco/alfresco-repository/commit/620e4d37d5280852df35b53a39eff44aceb19f7e

2017-10-20 08:34:03 GMT <alfbot> Title: ACE-4598: ServiceRegistry exposes services that are not part of the p… · Alfresco/alfresco-repository@620e4d3 · GitHub (at github.com)

2017-10-20 08:34:24 GMT <Tichodroma> sure, beans are always possible

2017-10-20 08:34:30 GMT <yreg> https://issues.alfresco.com/jira/browse/ACE-4598

2017-10-20 08:35:42 GMT <Tichodroma> well, two years have passed and nothing has happend. So it looks save to just use the ServiceRegistry approach until the method is removed. I can always switch to beans later.

2017-10-20 08:54:00 GMT <yreg> @Tichodroma, usually deprecated code is only removed when moving towards a major release, I wouldn't expect them to remove that until we go to version 6.x and more like 7.x if there are enterprise customers using it the way you do.

2017-10-20 09:02:46 GMT <Tichodroma> ok

2017-10-20 10:25:42 GMT <AFaust> Anyone here used the recent Eclipse Oxygen release? Any idea where I can disable the "add curly braces at end of line even if you are currently writing a message format / log pattern" behaviour?

2017-10-20 10:28:44 GMT <yreg> AFaust, here is a better tip: Convert to IntelliJ

2017-10-20 10:40:39 GMT <AFaust> yreg: Let me think... "One feature, that can surely be switched off by a setting I have not found yet" vs. "Complete retraining of IDE-specific productivity shortcuts and having to find workarounds for weird stuff in the new IDE"

2017-10-20 10:44:57 GMT <AFaust> ...and I apparently have found that setting now

2017-10-20 10:46:29 GMT <AFaust> For whom it may concern: Preferences -> Java -> Editor -> Typing -> "Automatically insert at correct position" (that option was there before, but apparently it has become a bit more aggressive)

2017-10-20 10:54:08 GMT <mbui> Some of you guys might find this "Hacktoberfest" interesting. Basically 4 PRs on public github repos during oktober for a free t-shirt https://hacktoberfest.digitalocean.com/

2017-10-20 10:54:09 GMT <alfbot> Title: Hacktoberfest 2017 - DigitalOcean (at hacktoberfest.digitalocean.com)

2017-10-20 10:58:31 GMT <AFaust> mbui: Doing 4 PRs is the easy part. If I'd reserve some time I could probably create a few dozen against Alfresco GitHub repos, but chances are a lot of them would not get merged in, as Alfresco has rejected various fixes / improvements in the past...

2017-10-20 10:59:53 GMT <mbui> The prerequisite is to create the PRs only. So completing the challenge is actually really easy, it's just a fun thing :)

2017-10-20 11:00:12 GMT <mbui> I instantly completed the challenge when I signed up

2017-10-20 11:25:59 GMT <douglascrp> morning

2017-10-20 11:27:34 GMT <yreg> hey douglascrp

2017-10-20 11:27:42 GMT <yreg> I replied in github

2017-10-20 11:28:33 GMT <douglascrp> yreg, yes, I saw that one

2017-10-20 11:28:35 GMT <douglascrp> tks

2017-10-20 11:28:43 GMT <douglascrp> I will try and merge it

2017-10-20 11:54:29 GMT <douglascrp> is it possible to simply change an object's version? let's say, from 1.0 to 4.0, without really changing its content?

2017-10-20 11:54:51 GMT <douglascrp> customers have uploaded some document, and Alfresco put them as 1.0

2017-10-20 11:55:08 GMT <douglascrp> some of those documents should have different version

2017-10-20 12:09:28 GMT <MorganP> Upload them via the Bulk Import and use 4 metadata files :D

2017-10-20 12:09:41 GMT <douglascrp> MorganP, :D

2017-10-20 12:09:54 GMT <MorganP> I never saw an add-on to change the default version though

2017-10-20 12:10:16 GMT <douglascrp> I am reading about version label

2017-10-20 12:10:25 GMT <douglascrp> and I will try to manipulate that via code

2017-10-20 12:21:52 GMT <douglascrp> ah, this is simple: document.properties["cm:versionLabel"] = "4.0";

2017-10-20 12:21:55 GMT <douglascrp> that works

2017-10-20 12:22:25 GMT <douglascrp> as I have never tried to manipulate the existing content's version before, I thought there would be a policy to prevent that

2017-10-20 12:25:44 GMT <douglascrp> well, it seems it is not that simple

2017-10-20 12:25:57 GMT <douglascrp> after that, if I try to upload a new version for this document, I get this: Caused by: org.alfresco.service.cmr.version.VersionServiceException: 09200010 The current version label of the node does not exist in the version history.

2017-10-20 12:26:03 GMT <douglascrp> so, back to my research

2017-10-20 12:33:18 GMT <MorganP> I'm assuming you need to have the hierarchy

2017-10-20 12:33:35 GMT <MorganP> and properties for each versions

2017-10-20 12:37:44 GMT <douglascrp> MorganP, exactly

2017-10-20 12:37:49 GMT <douglascrp> I am already working on that

2017-10-20 12:37:52 GMT <douglascrp> it seems simple

2017-10-20 13:09:48 GMT <yreg> douglascrp, I agree on your suggestion on my PR, but unfortunately I no longer have time to work on it

2017-10-20 13:10:01 GMT <yreg> feel free to play with the code as you see fit

2017-10-20 13:10:18 GMT <yreg> otherwise I will try to reserve some time for it late next week

2017-10-20 14:25:57 GMT <yreg> fcorti, I have a colleague thinking about submitting a lightning talk : "10 reasons why I did not fall for the ADF !"

2017-10-20 14:30:25 GMT <fcorti> yreg, sounds good.

2017-10-20 14:30:30 GMT <fcorti> looking forward to see it

2017-10-20 14:30:40 GMT <fcorti> (the submissions,I mean)

2017-10-20 14:30:50 GMT <fcorti> we need more lightning toalks

2017-10-20 14:31:48 GMT <yreg> He was hesitating that it would be discarded without evaluation and I am convincing him that it would also be interesting for Alfresco to get his insight and his concerns about ADF

2017-10-20 14:33:36 GMT <fcorti> we cannot accept rude or offending talks

2017-10-20 14:33:43 GMT <fcorti> opinions are always welcome

2017-10-20 14:33:48 GMT <fcorti> feedback appreciated

2017-10-20 14:34:35 GMT <fcorti> To the Selection Commitee the last word but the SC is comoposed by Alfresco AND indipendent memebers (OOTBee)

2017-10-20 14:35:19 GMT <yreg> I do not consider the talk to be offending in that wording, but it is definitely strong criticism

2017-10-20 14:35:58 GMT <yreg> fcorti, I know... ;-)

2017-10-20 14:37:14 GMT <fcorti> so probably he will find people not agree with something

2017-10-20 14:37:35 GMT <fcorti> but feedback (expecially if correct from all the points of views) are welcome

2017-10-20 14:38:42 GMT <fcorti> fair talks are welcome (fair does not mean necessarily "positive")

2017-10-20 14:39:19 GMT <yreg> He brought up the React VS Angular thing, the history of Alfresco UI clients (and frameworks and paradigms) along with few other strong arguments

2017-10-20 14:40:10 GMT <fcorti> Me I would like to see it.... the last word to the Selection Committee :-)

2017-10-20 14:40:38 GMT <fcorti> Then I will decide to be agree or not... but this another story

2017-10-20 15:00:55 GMT <AFaust> yreg: I like that lightning talk title... would definitely try to attend...

2017-10-20 15:01:20 GMT <AFaust> ...also glad that I would not have to do it instead...

2017-10-20 15:02:00 GMT <fcorti> :-D

2017-10-20 15:02:11 GMT <fcorti> Can't you see it has sense?

2017-10-20 15:02:14 GMT <AFaust> Mine would have been close to rude / offending...

2017-10-20 15:02:33 GMT <fcorti> lol!!!!

2017-10-20 15:02:50 GMT <AFaust> I mean, "rudely direct and offendingly frank"

2017-10-20 15:03:23 GMT <yreg> AFaust, that was actually a revised title, and the colleague does no longer want to make it (not rude enough - he says)

2017-10-20 15:04:03 GMT <fcorti> so... that's fine!

2017-10-20 15:04:21 GMT <fcorti> oh.. they don't wnat to do it anymore

2017-10-20 15:04:23 GMT <fcorti> noooo....

2017-10-20 15:04:25 GMT <AFaust> It may have sense to some people/customers. I have yet to meet one... and in the meantime, everyone else is held hostage / back by lack of activity on existing UI.

2017-10-20 15:06:24 GMT <douglascrp> yreg, ok, I can do that

2017-10-20 15:08:24 GMT <resplin> yreg: I would suggest a title change to "10 reasons why I am concerned about the ADF". It's more of a conversation than a final statement.

2017-10-20 15:09:03 GMT <yreg> resplin, the guy ruled my wording out for being too soft <grin>

2017-10-20 15:09:44 GMT <resplin> The challenge with a lighning talk like that is that we don't have the opportunity to engage with the audience about the concerns that are raised.

2017-10-20 15:09:50 GMT <yreg> but douglascrp, please feel free to pick that up

2017-10-20 15:10:03 GMT <resplin> I actually think the best way to have the conversation would be for him to moderate a Birds-of-a-feather session on that topic.

2017-10-20 15:10:26 GMT <resplin> We welcome the feedback and want to give him the opportunity to share his views, but don't want it to be the end of the conversation.

2017-10-20 15:14:30 GMT <xoritor> ok, so i am new here... never dealt with this before... any advice on things i should familiarize myself with before trying to implement alfresco?

2017-10-20 15:14:57 GMT * xoritor waits for the n00b roasting to start

2017-10-20 15:16:23 GMT <yreg> xoritor, start by checking out this tutorial : https://ecmarchitect.com/alfresco-developer-series

2017-10-20 15:16:24 GMT <alfbot> Title: About the Alfresco Developer Tutorial Series | ECM Architect (at ecmarchitect.com)

2017-10-20 15:16:59 GMT <xoritor> great thanks looking now

2017-10-20 15:17:36 GMT <yreg> then you should peek at some of the community addons to have an idea on how people develop alfresco extensions

2017-10-20 15:17:54 GMT <resplin> The backlog of Tech Talk Lives is also great.

2017-10-20 15:18:01 GMT <yreg> this page would be a great reference : https://github.com/bhagyas/awesome-alfresco

2017-10-20 15:18:02 GMT <alfbot> Title: GitHub - bhagyas/awesome-alfresco: A curated list of awesome Alfresco projects and add-ons. (at github.com)

2017-10-20 15:18:20 GMT <resplin> https://www.youtube.com/watch?v=qEFHmsEV4bc&list=PLyJdWuUHM3ihfB2LNHTHn7iv61FLrLVCg

2017-10-20 15:18:41 GMT <xoritor> wow! those are great thanks

2017-10-20 15:19:12 GMT <resplin> xoritor: And we hope that see you in this channel more often, and in the social community at http://community.alfresco.com

2017-10-20 15:19:14 GMT <alfbot> Title: Welcome | Alfresco Community (at community.alfresco.com)

2017-10-20 15:20:57 GMT <xoritor> looks like i have a lot of reading and viewing to do

2017-10-20 15:21:00 GMT <xoritor> ;-)

2017-10-20 15:21:30 GMT <douglascrp> xoritor, welcome aboard

2017-10-20 15:21:31 GMT <resplin> We are glad that you are interested in learning.

2017-10-20 15:22:15 GMT <yreg> xoritor, this is a great TTL to start with https://youtu.be/B47dbsydan4

2017-10-20 15:22:33 GMT <xoritor> resplin, if your not learning you are not living! but really thanks everyone

2017-10-20 15:24:50 GMT <resplin> Words to live by.

2017-10-20 15:25:48 GMT <yreg> need to go home now

2017-10-20 15:26:04 GMT * yreg wishes every one here a splendid weekend !

2017-10-20 15:26:19 GMT <resplin> Enjoy!

2017-10-20 15:26:35 GMT <xoritor> thanks for the info! have a great weekend!

2017-10-20 15:26:48 GMT <xoritor> sorry... too much coffee ;-)

End of Daily Log

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