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-01-13 00:00:02 GMT <jpotts> It's not clear which web script controller to extend to make that call

2017-01-13 00:00:16 GMT <yreg_> Yes, unless ity's not that showing the QuickShare, MoreInfo widget has hardcoded reference to it too it seems https://github.com/Alfresco/Aikau/blob/450c1f85df00044d49335b2fd663288e9f040029/aikau/src/main/resources/alfresco/renderers/MoreInfo.js#L532

2017-01-13 00:00:17 GMT <alfbot> Title: Aikau/MoreInfo.js at 450c1f85df00044d49335b2fd663288e9f040029 · Alfresco/Aikau · GitHub (at github.com)

2017-01-13 00:01:00 GMT <jpotts> Yes, that's the one I found earlier and saw that it didn't have an ID

2017-01-13 00:01:21 GMT <yreg_> https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search.get.js#L671

2017-01-13 00:01:22 GMT <alfbot> Title: share/faceted-search.get.js at master · Alfresco/share · GitHub (at github.com)

2017-01-13 00:01:53 GMT <yreg_> you can access it with somewhat hacky way by browsing widgets from the more info

2017-01-13 00:01:59 GMT <jpotts> Ah

2017-01-13 00:02:11 GMT <yreg_> note that the MoreInfo does have an ID there

2017-01-13 00:02:26 GMT <jpotts> Yeah, maybe I should just kill the more info widget

2017-01-13 00:03:10 GMT <jpotts> Or you are saying I can grab the more info widget and remove all instances of the quickshare widget from its collection

2017-01-13 00:04:46 GMT <yreg_> Killing more info will take away favourite, like and comment as well

2017-01-13 00:06:31 GMT <jpotts> yreg_: I think that's probably okay in this case

2017-01-13 00:09:47 GMT <yreg_> What I am saying, you can use widgetUtils to find the MoreInfo widget than kill the QuickShare using something like lang.getObject("widgets.0.config.widgets.4.config.widgets.0.config.widgets", moreInfo).pop()

2017-01-13 00:10:30 GMT <yreg_> but as I said, that would be hacky an would probably need some debugging to get it right!

2017-01-13 00:11:02 GMT <jpotts> Okay, cool, thanks for the ideas, I'm going to try that approach

2017-01-13 00:13:20 GMT <eswbitto> AFaust I have looked at every ftl file for email and I can't find anything remotely close to this template. http://tinypic.com/r/6nzbfb/9

2017-01-13 00:13:21 GMT <alfbot> Title: Image - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting (at tinypic.com)

2017-01-13 00:17:40 GMT <yreg_> eswbitto, this file : invite-email.html.ftl seems to have the same body as the email you got

2017-01-13 00:19:36 GMT <AFaust> That sounds like the template I saw at the customer

2017-01-13 00:21:16 GMT <yreg_> Good night everyone !

2017-01-13 00:22:07 GMT <eswbitto> I will have to look at it tomorrow. Just skimming through it again. It doesn't look like the same one.

2017-01-13 00:22:11 GMT <AFaust> yreg_. jpotts: not to be a party-pooper, but you cannot use widgetUtils to modify complex widget contents

2017-01-13 00:23:02 GMT <AFaust> You can only modify the JSON model, and wherever that JSON model only references a complex widget where the composition has been defined inside the client-side module, you are done...

2017-01-13 00:23:14 GMT <jpotts> Ugh

2017-01-13 00:24:43 GMT <AFaust> BeeCon was too long ago - I had to look up at which slide in my presentation I remarked about that...

2017-01-13 00:24:57 GMT <AFaust> Answer: It was slide 9 in http://beecon.buzz/assets/data/files/20160125008/2%20years%20of%20Aikau%20-%20BeeCon%20-%20wide.pdf

2017-01-13 00:26:24 GMT <AFaust> For some complex widgets it can be worked around by duplicating the "widgets" param default value from inside the module into the JSON model and just removing what you don't want, but that works only one a single layer of nesting, not multiple layers...

2017-01-13 00:27:01 GMT <AFaust> Also, it wouldn't be good style and not really upgrade safe (that complex widget might change and you'd have to adapt the copy&pasted code)

2017-01-13 00:28:40 GMT <AFaust> Dave added https://github.com/Alfresco/Aikau/blob/develop/aikau/src/main/resources/alfresco/core/WidgetsOverrideMixin.js in November, which would avoid the duplicated code issue with the first layer of "widgets" customisation, but doesn't help with nesting.

2017-01-13 00:28:41 GMT <alfbot> Title: Aikau/WidgetsOverrideMixin.js at develop · Alfresco/Aikau · GitHub (at github.com)

2017-01-13 00:28:57 GMT <AFaust> It also isn't widely implemented yet in the existing widgets...

2017-01-13 00:32:13 GMT <AFaust> I'll follow yreg_'s shining example and wish you a good night too (1:30 am here)

2017-01-13 08:51:54 GMT * yreg bids you all a good morning !

2017-01-13 08:59:05 GMT * twen greets yreg

2017-01-13 08:59:09 GMT <twen> happy Friday :)

2017-01-13 09:15:54 GMT <angelborroy> fcorti maybe you can open Luis mind

2017-01-13 09:16:09 GMT <angelborroy> fcorti it’s easy to understand that JAR is not the best approach for every scenario

2017-01-13 09:16:29 GMT <fcorti> hi angelborroy

2017-01-13 09:17:03 GMT <fcorti> I don't like to force people thinking ;-)

2017-01-13 09:17:06 GMT <fcorti> I can say

2017-01-13 09:17:09 GMT <fcorti> I like the discussion

2017-01-13 09:17:19 GMT <angelborroy> I know, but Luis is not discussing

2017-01-13 09:17:32 GMT <fcorti> how can we discuss using twitter?

2017-01-13 09:17:34 GMT <angelborroy> it’s just defending his own point of view

2017-01-13 09:17:49 GMT <fcorti> I'm thinking how to organize something more structured to talk abot it

2017-01-13 09:17:52 GMT <angelborroy> I know, I have no time (and maybe capabilities) to explain further the problems

2017-01-13 09:18:18 GMT <angelborroy> but Axel has summarized greatly the points in the post comments

2017-01-13 09:18:31 GMT <fcorti> And I'm happy to hear your opinion, approach and thought... but I think you agree that it's hard using twitter, a chat

2017-01-13 09:18:31 GMT <angelborroy> without any reaction by Luis, I had to admit

2017-01-13 09:18:52 GMT <fcorti> Luis do it for his pleasure (during the flights)

2017-01-13 09:18:56 GMT <fcorti> not for work

2017-01-13 09:19:06 GMT <angelborroy> I know

2017-01-13 09:19:06 GMT <fcorti> I had a chat with him

2017-01-13 09:19:10 GMT <fcorti> this morning

2017-01-13 09:19:12 GMT <angelborroy> but he is an Alfresco employee

2017-01-13 09:19:25 GMT <fcorti> He would like to write and talk more... but the time, you know, is the missing tail

2017-01-13 09:19:31 GMT <angelborroy> and he is posting in Alfresco official tool

2017-01-13 09:19:49 GMT <angelborroy> maybe if that post was published on his own blog…

2017-01-13 09:19:53 GMT <fcorti> He works for Services by the customers

2017-01-13 09:19:59 GMT <angelborroy> obviously this is just my opinion

2017-01-13 09:20:15 GMT <angelborroy> probably I’ll keep on using AMPs with 3.0.0

2017-01-13 09:20:16 GMT <fcorti> the disclaimer is clear, I think

2017-01-13 09:20:38 GMT <fcorti> do you who is missing at the moment?

2017-01-13 09:20:49 GMT <angelborroy> nope

2017-01-13 09:20:57 GMT <fcorti> I would like to have Ole in the discussion

2017-01-13 09:21:06 GMT <angelborroy> righ!

2017-01-13 09:21:08 GMT <fcorti> becasue he is directly involved in the SDK

2017-01-13 09:21:31 GMT <fcorti> but he is not available at the moment (holidays :-) )

2017-01-13 09:21:42 GMT <angelborroy> honeymoon ;-)

2017-01-13 09:21:44 GMT <AFaust> angelborroy: Just looked at the blog post and didn't see your comments...

2017-01-13 09:21:57 GMT <fcorti> exactly

2017-01-13 09:21:58 GMT <angelborroy> No, I was referring to YOUR comments

2017-01-13 09:22:02 GMT <AFaust> That's what I did with my disagreement on the subject

2017-01-13 09:22:09 GMT <AFaust> Ah - ok

2017-01-13 09:22:27 GMT <angelborroy> I’m subscribing every sentence

2017-01-13 09:22:35 GMT <angelborroy> And you know that we not ever agree

2017-01-13 09:22:37 GMT <angelborroy> ;-)

2017-01-13 09:23:08 GMT <AFaust> Well - I didn't do it for starting a discussion with him, but mostly to get my arguments out why this will not solve any issues really and is currently a distraction from more important topics...

2017-01-13 09:23:36 GMT <angelborroy> Maybe “discussion” is a hard word

2017-01-13 09:23:56 GMT <AFaust> And so that other people that drank the "JAR"-coolade may start to think about what the benefits really are if you look at it more than just on the surface...

2017-01-13 09:24:01 GMT <angelborroy> AFaust I agree that is important to note that this is not the end of way, that there are things yet to solve

2017-01-13 09:30:21 GMT <AFaust> angelborroy: I would also caution against equating "using Alfresco official tool" with "Alfresco sponsored contents". I.e. whenever ootbee-support-tools has finally published a first version to Maven Central I will also create a post in that platform (instead of my personal blog) to announce the availability and what it is about.

2017-01-13 09:30:57 GMT <angelborroy> AFaust my point is that you are not an Alfresco employee

2017-01-13 09:31:12 GMT <angelborroy> AFaust so using Alfresco official tools has not the same impact

2017-01-13 09:31:51 GMT <AFaust> angelborroy: You know that, but let me tell you, not everyone looking into these kinds of tools realises that.

2017-01-13 09:32:17 GMT <angelborroy> AFaust +1

2017-01-13 09:32:29 GMT <angelborroy> you should be an Alfresco employee :-P

2017-01-13 09:32:54 GMT <AFaust> I once had to correct an employee of a customer who thought that I was one of the founders of Alfresco after reading through the old forums...

2017-01-13 09:33:21 GMT <AFaust> Maybe "Alfresco Partner" at the time was being confused by some to mean "partner in terms of investment in the company"

2017-01-13 09:33:35 GMT <angelborroy> you were so young in 2007…

2017-01-13 09:34:05 GMT <AFaust> Hey, I'm still young in 2017, thank you very much ;)

2017-01-13 09:34:11 GMT <angelborroy> hehe

2017-01-13 09:53:18 GMT <angelborroy> I have an Alfresco server without Internet connection

2017-01-13 09:53:54 GMT <angelborroy> Every time I access to Share user dashboard I receive this error

2017-01-13 09:53:55 GMT <angelborroy> http://www.alfresco.com/feeds/all

2017-01-13 09:53:57 GMT <alfbot> Title: Alfresco BlogBe the master of your own destiny and achieve faster Time to Value with Alfresco and AWS (at feeds.feedburner.com)

2017-01-13 09:54:09 GMT <angelborroy> sorry, this one Exception calling (GET) http://www.alfresco.com/feeds/all

2017-01-13 09:54:11 GMT <alfbot> Title: Alfresco BlogBe the master of your own destiny and achieve faster Time to Value with Alfresco and AWS (at feeds.feedburner.com)

2017-01-13 09:54:14 GMT <angelborroy> is there any patch for this?

2017-01-13 09:55:08 GMT <angelborroy> just not to include RSS feed?

2017-01-13 09:55:14 GMT <angelborroy> ah, ok

2017-01-13 09:55:18 GMT <angelborroy> this is the problem

2017-01-13 09:55:28 GMT <angelborroy> org/alfresco/components/dashlets/rssfeed.get.config.xml

2017-01-13 09:55:38 GMT <angelborroy> is hardcoding http://www.alfresco.com/feeds/all

2017-01-13 09:55:40 GMT <alfbot> Title: Alfresco BlogBe the master of your own destiny and achieve faster Time to Value with Alfresco and AWS (at feeds.feedburner.com)

2017-01-13 09:59:36 GMT <yreg> angelborroy, why not change presets so that that dashlet does not get added by default to dashboards ?

2017-01-13 10:01:05 GMT <angelborroy> yreg agree

2017-01-13 10:01:20 GMT <angelborroy> is that I didn’t know what was happening

2017-01-13 10:01:26 GMT <angelborroy> but it’s easy to solve

2017-01-13 11:59:08 GMT <DarkStar1> Good <period-of-day> to you all

2017-01-13 11:59:39 GMT <DarkStar1> CristinaMR: Happy New Year!! Been a while ;)

2017-01-13 12:25:46 GMT <DarkStar1> In the document library, certain action buttons are not rendered when using iPad/iPhone devices I'm guessing there's something that applies a useragent filtering only I don't know where this component is located.

2017-01-13 12:26:08 GMT <DarkStar1> for 5.0.d

2017-01-13 12:47:24 GMT <FrancescoSilvani> hiho

2017-01-13 15:24:33 GMT <yreg> FrancescoSilvani, Hello there !

2017-01-13 16:40:14 GMT <fcorti> Loftlux: https://twitter.com/FrkCorti/status/819946839243886595

2017-01-13 16:40:56 GMT <fcorti> Loftlux: This is a feedback on what you asked few time ago (not only you, but you personally asked for an update)

2017-01-13 17:34:02 GMT <AFaust> ~later tell fcorti: Apparently Loftux bugged you more than I did...

2017-01-13 17:34:02 GMT <alfbot> AFaust: The operation succeeded.

2017-01-13 18:55:08 GMT <jpotts> I've got an idea to run past the group…

2017-01-13 18:55:31 GMT <jpotts> I get handed a lot of alfresco installations that have an unknown history

2017-01-13 18:56:05 GMT <jpotts> So I've been thinking it might be useful to have a way to "validate" an installation to figure out what, if anything, has changed

2017-01-13 18:56:46 GMT <jpotts> I was thinking of creating sha or md5 checksums for every file in a pristine install for a given version, then I could easily run a script against an install to see if anything's been touched

2017-01-13 18:57:16 GMT <jpotts> If others might make use of that info I could publish the fingerprints (and the generate/validation script) to github as an open project

2017-01-13 18:58:38 GMT <jpotts> Anyone feel like that would be useful?

2017-01-13 19:25:39 GMT <yreg_> jpotts, I don't seems like lots of unnecessary work

2017-01-13 19:26:19 GMT <yreg_> I would prefer using winmerge / some diff tool for that

2017-01-13 19:26:29 GMT <jpotts> yreg_: It's actually pretty quick to gen the fingerprints and to validate them.

2017-01-13 19:26:44 GMT <jpotts> yreg_: That wouldn't work for binaries.

2017-01-13 19:28:25 GMT <yreg_> never had such problem with winmerge

2017-01-13 19:28:51 GMT <yreg_> I was always able to compare everything including jars, images ...

2017-01-13 19:29:09 GMT <jpotts> Ah, okay, cool. I've never used it. Sounds like a Windows program.

2017-01-13 19:29:44 GMT <yreg_> could even ignore all witespace while comparing text files (among other cool features)

2017-01-13 19:30:19 GMT <yreg_> yes, I used it under windows, but there might be some variants for linux/mac, not sure though

2017-01-13 19:36:24 GMT <AFaust> jpotts: Such a validation will only be useful for the installer-based setups.

2017-01-13 19:36:47 GMT <AFaust> I actually consider these unsuitable for any maintainable, long-term production use

2017-01-13 19:37:26 GMT <jpotts> AFaust: It could validate the contents of the exploded WAR. Those should match even if it was not installed with the installer

2017-01-13 19:37:32 GMT <AFaust> So for me it would mostly come down to fingerprinting / comparing the WARs...

2017-01-13 19:38:10 GMT <AFaust> But in any case you'd still have to investigate everything in tomcat/shared/classes

2017-01-13 19:38:42 GMT <AFaust> And in some cases even those JARs put into tomcat/shared/lib for no good reason...

2017-01-13 19:39:08 GMT <jpotts> For me, comparing the WAR is the critical thing.

2017-01-13 19:39:17 GMT <jpotts> But yes, shared/classes and lib too

2017-01-13 19:39:34 GMT <yreg_> AFaust, You are assuming that the former developer is not sloppy enough to play with files from webap/alfresco/*

2017-01-13 19:40:06 GMT <AFaust> If there is an expanded WAR then the expanded form will have to be fingerprinted too

2017-01-13 19:40:38 GMT <AFaust> It is not just the developer I wouldn't trust. Administrators are also borderline criminal in terms of applying customisations the wrong way...

2017-01-13 19:40:53 GMT <jpotts> I think there's a "how bad is it" kind of assessment which is where some sort of fingerprint analysis can figure out quickly and then there is "exactly what has changed" which is where diff tools come in

2017-01-13 19:41:17 GMT <yreg_> are also ? are the main as far as I know <grin>

2017-01-13 19:41:48 GMT <AFaust> You wouldn't believe the state of the system I am currently looking at (new customer with remote access)

2017-01-13 19:42:08 GMT <AFaust> And they have been supported / managed by a partner.

2017-01-13 19:42:15 GMT <yreg_> I bet you I have seen worse

2017-01-13 19:42:28 GMT <AFaust> I had a moment where I almost saw my dinner again..

2017-01-13 19:43:00 GMT <jpotts> Oh yeah, the fact that a partner has worked on it is no guarantee, that's for sure

2017-01-13 19:43:16 GMT <AFaust> Funny thing is, it's always the Windows-based installs that are in the worst shape...

2017-01-13 19:43:25 GMT <yreg_> At my former employer, it was as if the former team was looking for each and every best practice just to violate it to the full extend of possible <grin>

2017-01-13 19:44:20 GMT <yreg_> AFaust, I have even seen people replacing classes inside a jar (or any other assets :D )

2017-01-13 19:44:33 GMT <jpotts> I came across a Windows install of Alfresco yesterday. First time in ten years

2017-01-13 19:45:03 GMT * AFaust is looking at his pitch fork collection in the corner and mutters under his breath "someday, they'll pay for this..."

2017-01-13 19:46:00 GMT <jpotts> I didn't even know my keyboard had a backslash! :)

2017-01-13 19:46:03 GMT <AFaust> yreg_: I mean, there was a phase during 4.x where I resigned and rebuilt some Alfresco JARs with source-level patches, just like Loftux is doing.

2017-01-13 19:48:11 GMT <jpotts> The other thing that happens is you inherit an install that's a total mess, and you clean up what you can, but you can't get to everything. Then you think, great, I hope AFaust doesn't work on this client after me.

2017-01-13 19:48:30 GMT <yreg_> AFaust, I am not talking about that, I am talking about adding some activiti jar to your classpath, duplicating a source file in your project, make some changes to it, compile it and put the resulting class file back into the jar deleting the only source of it

2017-01-13 19:48:42 GMT <AFaust> jpotts: Wondering when I have had to use backslash the last time on Windows... Usually the normal slash is also supported. Only thing I can think of are some of the option flags in the native CLI commands

2017-01-13 19:49:10 GMT <jpotts> AFaust: I know, I was joking :)

2017-01-13 19:49:21 GMT <yreg_> or madifiying a js file from a jar by extracting the jar, modifying file, recompressing to zip, changing the extension

2017-01-13 19:50:05 GMT <AFaust> yreg_: Oh yeah - those people that don't realize you can just use 7zip or any other archive client on JARs the same way as regular ZIPs

2017-01-13 19:55:14 GMT <AFaust> Great, not even the operating system is of the correct version for that Alfresco version..

2017-01-13 19:56:15 GMT <yregaieg> hehe

2017-01-13 19:56:18 GMT <AFaust> Well - at least once the customer can be convinced to clean that up there won't be anything left from this organically grown mess on the current system

2017-01-13 20:06:26 GMT <eswbitto> So...I upgraded from 4.2.f to 5.1 recently and ever since the upgrade I have been getting this in the logs. http://pastebin.com/RD9xswvr I'm not really sure what to make of it. I have a suspision and could use some clarity.....

2017-01-13 20:06:27 GMT <alfbot> Title: 2017-01-13 11:46:32,583 ERROR [org.springframework.extensions.webscripts.Abstrac - Pastebin.com (at pastebin.com)

2017-01-13 20:07:11 GMT <eswbitto> When I upgraded I had one site that the document library was showing an error in share. The way that I fixed it was I was able to navigate through the repository and download the content and move it to a brand new site.

2017-01-13 20:07:39 GMT <eswbitto> the site in question still exists, but I've removed all access to it. I'm wondering if this error is in relation to that issue.

2017-01-13 20:17:52 GMT <AFaust> Very likely. The web script is trying to resolve a container it expects to exist and due to access permissions it may not be able to find it.

2017-01-13 20:19:01 GMT <eswbitto> With this site in question I've had problems with users keeping documents locked, plus they have used a naming convention on the folders and file names that go beyond the 255 character limit for the complete file path.

2017-01-13 20:20:27 GMT <eswbitto> AFaust so my problem that I'm having with this corrupted site is I tried to delete it and it completely made alfresco unresponsive. I want to get rid of it because it won't be used.

2017-01-13 20:20:47 GMT <eswbitto> I ended up having to restart all the services

2017-01-13 20:21:22 GMT <AFaust> 255 character limit should no longer be a problem with AOS

2017-01-13 20:45:46 GMT <douglascrp> hello guys

2017-01-13 20:45:51 GMT <douglascrp> so, another GA?

2017-01-13 20:46:08 GMT <douglascrp> I haven't noticed anything NEW in the release notes

2017-01-13 20:46:16 GMT <douglascrp> anything I should have noticed?

2017-01-13 21:19:33 GMT <yreg_> ~later tell douglascrp Alfresco public API for example ? doesn't it have major improvements ? Alfresco Search Services & Solr6 ?

2017-01-13 21:19:33 GMT <alfbot> yreg_: The operation succeeded.

2017-01-13 21:20:33 GMT <yreg_> ater tell douglascrp and by the way GA should be an indicatyion for features being mature enough to be considered production ready AFAIK, not a marker for new feature ;-)

2017-01-13 21:20:43 GMT <yreg_> ~later tell douglascrp and by the way GA should be an indicatyion for features being mature enough to be considered production ready AFAIK, not a marker for new feature ;-)

2017-01-13 21:20:43 GMT <alfbot> yreg_: The operation succeeded.

2017-01-13 21:48:26 GMT <eswbitto> AFaust the 255 character limit would that still apply though through webdav? I would think it would.

2017-01-13 21:50:14 GMT <AFaust> On older Windows versions definitely - don't know about Windows 8/10...

2017-01-13 21:51:37 GMT <AFaust> Then again, there might be some update / KB patch for Windows 7 that I don't know that fixes this too. Windows is such mess of services and KBs that you never know how it will behave...

2017-01-13 21:53:09 GMT <eswbitto> would you happen to have any suggestions on how to delete a site without alfresco locking up?

End of Daily Log

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