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-08-06 00:24:43 GMT <PlasmaStar20> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 00:24:43 GMT <PlasmaStar20> "All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."

2018-08-06 00:24:43 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 00:39:50 GMT <Victorsueca6> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 00:39:50 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 01:32:20 GMT <Shibe8> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 01:32:21 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 01:45:44 GMT <dodobrain21> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 01:45:44 GMT <dodobrain21> "All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."

2018-08-06 01:45:45 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 01:47:18 GMT <nero29> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 01:47:18 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 01:56:40 GMT <mrdata13> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 01:56:40 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 02:02:46 GMT <heinrich59911> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 02:02:47 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 02:24:17 GMT <modin13> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 02:24:20 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 02:54:14 GMT <fredrikhl> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 02:54:14 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 02:55:02 GMT <sneakyness10> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 02:55:02 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 03:05:47 GMT <GodSkinS14> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 03:05:48 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 03:49:24 GMT <interd0me> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 03:49:25 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 03:51:46 GMT <Guest3871> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 03:51:46 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 04:34:53 GMT <rogue> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 04:34:55 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 04:54:54 GMT <Peng29> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 04:54:54 GMT <Peng29> "All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."

2018-08-06 04:54:54 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 06:10:26 GMT <Bock24> Handshake cryptocurrency scam is operated by Andrew Lee (276-88-0536), the fraudster in chief at Private Internet Access which now owns Freenode

2018-08-06 06:11:15 GMT *** rluders_ is now known as rluders

2018-08-06 06:25:04 GMT <Exagone31313> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 06:25:05 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 07:06:23 GMT <rohan13> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 07:06:26 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 07:19:55 GMT <Mr_Sheesh> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 07:19:55 GMT <Mr_Sheesh> "All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."

2018-08-06 07:19:55 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 07:31:29 GMT <yreg> Good morning everyone !

2018-08-06 07:32:22 GMT <Hobby15> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 07:32:22 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 07:38:10 GMT *** ChanServ sets mode: +o fcorti

2018-08-06 07:38:45 GMT <Loftux> fcorti: Can you disable posting for unregistered users to prevent spam https://nedbatchelder.com//blog/201808/fighting_spam_on_freenode.html

2018-08-06 07:38:46 GMT <alfbot> Title:Ned Batchelder: Fighting spam on freenode (at nedbatchelder.com)

2018-08-06 07:39:05 GMT <A5A> After the acquisition by Private Internet Access, Freenode is now being used to push ICO scams https://www.coindesk.com/handshake-revealed-vcs-back-plan-to-give-away-100-million-in-crypto/

2018-08-06 07:39:06 GMT <alfbot> Title:Handshake Revealed: VCs Back Plan to Give Away $100 Million in Crypto - CoinDesk (at www.coindesk.com)

2018-08-06 07:39:45 GMT *** fcorti changes topic to "Alfresco discussion and collaboration. Stick around a few hours after asking a question. Logs: http://chat.alfresco.com. Please join the Alfresco Community on Discord at https://discordapp.com/invite/f7XntQN"

2018-08-06 07:40:53 GMT <fcorti> Loftux: let me see if I can.

2018-08-06 07:42:39 GMT <Loftux> Double posted on irc, wasn't sure you were going to see it here. Not sure if unregistered users see the MOTD, but add that they need to register if you change

2018-08-06 07:43:13 GMT <AFaust> AFAIK everyone sees the MOTD

2018-08-06 07:43:21 GMT *** fcorti sets mode: +q $~a

2018-08-06 07:45:32 GMT <AFaust> Hmm - I found the approach listed in the comments of that article Loftux linked quite nice.

2018-08-06 07:45:46 GMT <fcorti> Loftux done... let's see

2018-08-06 07:45:47 GMT <AFaust> Mode +mz combined with Sigyn

2018-08-06 07:47:37 GMT <AFaust> Problem is you need a bot to auto-voice people after X seconds, and sounds like they rolled their own

2018-08-06 07:48:15 GMT <yreg> You can join their Chanel and ask for source code for that

2018-08-06 08:47:43 GMT <mbui> Is there a way to apply multiple smart folder templates to a folder?

2018-08-06 09:04:04 GMT <bhagyas> test

2018-08-06 09:04:09 GMT <bhagyas> halloween

2018-08-06 09:04:19 GMT <yreg> bhagyas, not sure if your bot can write to #alfresco

2018-08-06 09:04:32 GMT <bhagyas> yreg: yeah, the bot needs reg

2018-08-06 10:47:33 GMT <mbui> Anyone ever encountered file preview showing the content of the document upside down and inverted?

2018-08-06 11:21:52 GMT <AFaust> @Francesco Corti: Any chance you could get someone involved with the Smart Folders feature to attend next Office Hours?

2018-08-06 11:34:39 GMT <kkore> Hi , tring to add custom content type with CMIS alfresco but getting error like CmisObjectNotFoundException, then come know it's supports only cmis:folder,cmis:document type then If we want to add custom type how we do?? Is it's like we need to custom aspect to cmis:document ??

2018-08-06 11:41:35 GMT <kkore> got it we need to add D: prefix to document type or F: for folders

2018-08-06 12:06:29 GMT <Loftux> AFaust: Note that the discord bot is down since it relied on having non-registered access. So you should probably use fcorti_ to get noticed here

2018-08-06 12:07:50 GMT <AFaust> Ah right, the drawback of +r

2018-08-06 12:08:15 GMT <AFaust> ...or better yet the quiet $~a

2018-08-06 12:45:32 GMT <yreg> AFaust, have you ever had to implement custom sync/auth in APS ?

2018-08-06 12:46:28 GMT <AFaust> I had to customize the default synch to fit the requirements of my one APS customer. So far did not have to implement custom authentication.

2018-08-06 12:46:46 GMT <AFaust> Recently I implemented custom authorisation, i.e. license assignment / revocation

2018-08-06 12:53:47 GMT <yreg> Sounds like fun...

2018-08-06 12:56:02 GMT <AFaust> That part was actually quite easier than expected. Only had to figure out how to develop / bootstrap a custom table to record the user activity / arbitrary user properties

2018-08-06 12:57:06 GMT <yreg> Ok, I will see how fast my custom sync/auth development goes, and I will keep you updated

2018-08-06 13:11:49 GMT <yreg> AFaust, Oddly my use case seems to be documented ... I wouldn't expect it to be common enough to be documented <grin> http://docs.alfresco.com/process-services1.8/topics/custom_identity_synchronization.html

2018-08-06 13:11:51 GMT <alfbot> Title:Custom identity synchronization | Alfresco Documentation (at docs.alfresco.com)

2018-08-06 13:28:16 GMT <fwu2018> hi all

2018-08-06 13:38:58 GMT <fwu2018> ppl, If a task is assigned to a group, shouldnt each person of that group be a candidate for that task?

2018-08-06 13:40:11 GMT <fwu2018> I ask this because the https://api-explorer.alfresco.com/api-explorer/#!/tasks/listTasks to get the tasks, is not returning the tasks assigned to groups.

2018-08-06 13:40:13 GMT <alfbot> Title:Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)

2018-08-06 14:50:42 GMT <fwu2018> using the alfresco rest api I can get task assigner for user or for which the user is a candidate, but how can I get both on the same query? Is it possible?

2018-08-06 14:50:52 GMT <angelborroy> test

2018-08-06 14:51:56 GMT <angelborroy> ~HtmlLogger flushlog

2018-08-06 14:51:56 GMT <alfbot> angelborroy: Woooosh, your log has been flushed...

2018-08-06 14:52:47 GMT <angelborroy> AFaust Have you used ASR?

2018-08-06 14:53:29 GMT <angelborroy> It looks like someone told a customer that you can have Alfresco 5.1 for the inside and ASR 5.2+ for the outside

2018-08-06 14:53:45 GMT <angelborroy> I don’t know if this is possible (and if it works), but it seems dangerous

2018-08-06 14:54:57 GMT <AFaust> I had tried to use it sometime in the 4.x days

2018-08-06 14:55:13 GMT <AFaust> Having different versions is definitely not supported / safe

2018-08-06 14:56:01 GMT <angelborroy> Thanks AFaust!

2018-08-06 14:57:17 GMT <AFaust> Any time... since you are here, you seem like an expert in Java 8 + Lambdas and can certainly explain to me why I am getting a weird error in one of my current projects...

2018-08-06 14:57:29 GMT <angelborroy> you can try...

2018-08-06 14:57:40 GMT <angelborroy> … but I’m still programming using Java 5/6 :D

2018-08-06 14:58:07 GMT <AFaust> 5/6??

2018-08-06 14:58:17 GMT <AFaust> Is there a specific reason?

2018-08-06 14:58:42 GMT <angelborroy> Not really, so lazy to learn new syntax

2018-08-06 14:58:45 GMT <AFaust> And what specifically do you mean by that? Is your compile target set to 5/5?

2018-08-06 14:58:58 GMT <AFaust> ehm, 5/6

2018-08-06 14:59:09 GMT <angelborroy> Nope, but I’m not using lambdas and fashioned loops

2018-08-06 14:59:47 GMT <AFaust> "fashioned loops"? You mean those loops that were part of Java 5

2018-08-06 15:00:12 GMT <angelborroy> nope

2018-08-06 15:00:15 GMT <angelborroy> let me find a sample

2018-08-06 15:00:34 GMT <angelborroy> http://www.deadcoderising.com/java-8-no-more-loops/

2018-08-06 15:00:35 GMT <alfbot> Title:Java 8: No more loops (at www.deadcoderising.com)

2018-08-06 15:00:42 GMT <AFaust> I just have never heard the term "fashioned loops", but maybe they have a whole different thing in Spain

2018-08-06 15:01:05 GMT <angelborroy> I mean "stream"

2018-08-06 15:01:10 GMT <AFaust> Ah, streams + lambdas... Sure, that is a given if you don't use lambdas

2018-08-06 15:01:19 GMT <AFaust> And it is precisely here that I have an issue

2018-08-06 15:02:00 GMT <angelborroy> Anyway, test me

2018-08-06 15:02:05 GMT <AFaust> I have two near identical uses of streams + lambdas: myList.stream().forEach(this::mapElement).collect(Collectors.toList())

2018-08-06 15:02:51 GMT <AFaust> the mapElement method basically does this: MyWrapperX wrapper = new MyWrapperX(element); wrapper.doSomething(); return wrapper;

2018-08-06 15:02:58 GMT <AFaust> So simple create + modify + return

2018-08-06 15:03:14 GMT <AFaust> I have two different mapElement variants for two different types of elements and wrappers

2018-08-06 15:03:28 GMT <AFaust> One works flawlessly, the other throws a NoClassDefFoundError

2018-08-06 15:03:52 GMT <AFaust> Specifically, the line with the lambda throws the error for the wrapper class used in the mapElement method

2018-08-06 15:04:48 GMT <angelborroy> You cannot isolate a unit test, right?

2018-08-06 15:05:43 GMT <AFaust> excerpt: https://paste.fedoraproject.org/paste/dG5fBkkcMqDfA-h9DhFLww

2018-08-06 15:05:44 GMT <alfbot> Title:Untitled - Modern Paste (at paste.fedoraproject.org)

2018-08-06 15:06:39 GMT <AFaust> I have not tried doing this in a unit test, but I am almost certain it would not be problem there...

2018-08-06 15:07:26 GMT <angelborroy> LegacyAddressEntity is failing?

2018-08-06 15:07:46 GMT <AFaust> No - SpecificValueMigrationHolder

2018-08-06 15:07:58 GMT <AFaust> Public class in the same package

2018-08-06 15:08:30 GMT <angelborroy> So, NoClass… at line 23

2018-08-06 15:08:54 GMT <angelborroy> ok, you have a comment there :D

2018-08-06 15:09:13 GMT <angelborroy> have you tried with Oracle JDK?

2018-08-06 15:09:22 GMT <AFaust> yes

2018-08-06 15:09:34 GMT <AFaust> I am always running with Oracle JDK locally

2018-08-06 15:10:07 GMT <AFaust> I use OpenJDK only for servers (Linux, not WIndows)

2018-08-06 15:10:23 GMT <angelborroy> Ah, yes, you are using (also) Windows servers...

2018-08-06 15:10:30 GMT <angelborroy> … as you are a brave developer

2018-08-06 15:10:53 GMT <AFaust> No - I am not using these - these customer (sometimes) is

2018-08-06 15:11:10 GMT <AFaust> s/is/are/

2018-08-06 15:11:28 GMT <AFaust> I only use a WIndows on my laptop for my local tests

2018-08-06 15:11:42 GMT <AFaust> and everything else related to local work

2018-08-06 15:11:52 GMT <angelborroy> for me, the only problem could be SpecificValueMigrationHolder constructor

2018-08-06 15:12:07 GMT <angelborroy> Is it more or less the same as AddressMigrationHolder constructor?

2018-08-06 15:12:12 GMT <AFaust> Yes...

2018-08-06 15:12:36 GMT <angelborroy> So ClassNotFound is due to SpecificValueMigrationHolder

2018-08-06 15:12:39 GMT <AFaust> And actually, looks really like an issue with that class, not the lambda. Just tested it with lambda replaced with forEach loop

2018-08-06 15:13:04 GMT <AFaust> I dunno what the issue is though - no details in stacktrace...

2018-08-06 15:13:18 GMT <AFaust> Class compiles and everything looks fine in the decompiler

2018-08-06 15:13:40 GMT <angelborroy> Interesting

2018-08-06 15:13:51 GMT <angelborroy> But I think that I have nothing to help you

2018-08-06 15:15:55 GMT <angelborroy> both “*Holder” classes has the same visibility, right?

2018-08-06 15:16:05 GMT <angelborroy> s/has/have

2018-08-06 15:17:56 GMT <AFaust> Yeah - of course a Unit test calling the constructor works - as I expected...

2018-08-06 15:18:42 GMT <AFaust> I hope I haven't encountered an obscure JVM bug condition here...

2018-08-06 15:18:50 GMT <angelborroy> So it looks a “real” bug

2018-08-06 15:19:45 GMT <angelborroy> if it’s working using a Unit test, then it’s a JDK bug or a library patching

2018-08-06 15:22:10 GMT <AFaust> I am currently trying to cross check. My IDE runs on a different JDK, so trying to use Toolchain to run the unit test in the same JDK version again

2018-08-06 15:22:29 GMT <AFaust> (I have multiple JDK 8s, 9s and 10s locally)

2018-08-06 15:28:04 GMT <AFaust> Yeah, of course. Works in exact same JDK when run as part of the Maven unit test cycle

2018-08-06 15:28:14 GMT <angelborroy> mmm

2018-08-06 15:28:30 GMT <angelborroy> so it does not work when executed inside Alfresco Repository WAR?

2018-08-06 15:28:48 GMT <yreg> AFaust have you tried replacing this::mapSpecificValue with lambda ?

2018-08-06 15:29:32 GMT <AFaust> That is still a lambda, albeit with a method handle instead of inline lambda

2018-08-06 15:29:39 GMT <yreg> Not sure why, but I usually only use that syntax with static methods/references

2018-08-06 15:29:41 GMT <AFaust> I had the inline lambda before

2018-08-06 15:29:49 GMT <yreg> Otherwise I default to lambdas

2018-08-06 15:30:48 GMT <AFaust> Problems were the same with the inline lambda, and since I found https://bugs.openjdk.java.net/browse/JDK-8145964, I move the constructor call outside of the inline lambda into a method

2018-08-06 15:31:08 GMT <AFaust> And I already had the other constellation exactly the same in a working state

2018-08-06 15:32:56 GMT <yreg> I meant use the inline lambda to call that function

2018-08-06 15:32:57 GMT * AFaust is trying something crazy now...

2018-08-06 15:33:56 GMT <AFaust> Ah - already tried that too...

2018-08-06 15:34:39 GMT <AFaust> As I said, I started with the inline lambda. In the way towards the method handle, I extracted more and more. At one point, I had an inline lambda calling the mapSpecificValue method

2018-08-06 15:35:26 GMT <AFaust> Issue persisted the entire time (already spent the last working hours on Friday on this incomprehensible issue)

2018-08-06 15:35:49 GMT <angelborroy> It does not depends on DAO data, isn’t it?

2018-08-06 15:36:12 GMT <AFaust> I feel it is becoming a thing for me to find such annoying, hard to understand issues on a Friday. Just like that "bad substitution" error in my Docker build before (which I have still not fixed, only put on hold)

2018-08-06 15:36:45 GMT <AFaust> angelborroy: In my unit test I am creating the entity manually with data as the DAO should provide

2018-08-06 15:37:18 GMT <yreg> I wouldn't take that should for granted

2018-08-06 15:37:28 GMT <AFaust> Damn - I think I have found the problem

2018-08-06 15:37:33 GMT <yreg> Your debugger should be able to confirm that

2018-08-06 15:39:49 GMT <AFaust> The entity contains only Strings and Longs, which I have set to the value of the first entity on the DB. Don't know what one could mess up there to need verification via debugger...

2018-08-06 15:40:22 GMT <yreg> Nulls for instance

2018-08-06 15:40:22 GMT <angelborroy> So you didn’t find the problem…

2018-08-06 15:41:10 GMT * yreg is apparently not the only one watching IRC logs waiting for a confirmation on the issue /cc angelborroy

2018-08-06 15:42:19 GMT <AFaust> yreg: The issue occurs for all entries of the DB, so taking the first as reference is perfectly fine at this point, even if that does not have any nulls like others might have (they have not, btw)

2018-08-06 15:42:52 GMT <angelborroy> btw AFaust just to take you out of your little nightmare…

2018-08-06 15:42:55 GMT <AFaust> angelborroy:Waiting on my short cron for the rerun of the job. This is an Alfresco CE 4.2 unfortunately, so no OOTBee Support Tools to trigger jobs directly

2018-08-06 15:43:04 GMT <angelborroy> hehe

2018-08-06 15:43:08 GMT <angelborroy> I was thinking on that

2018-08-06 15:43:22 GMT <angelborroy> ootbee support tools work fine in my Alfresco 6

2018-08-06 15:43:29 GMT <AFaust> ... and this project is repository only, so no Share to use JavaScript Console either

2018-08-06 15:43:43 GMT <angelborroy> But Scheduled Jobs

2018-08-06 15:43:51 GMT <angelborroy> Should I open an issue?

2018-08-06 15:43:54 GMT <AFaust> angelborroy: Yes, so far that has been my test impressions also of OOTBee Support Tools on Alfresco 6

2018-08-06 15:43:57 GMT <angelborroy> do you want me to fix that

2018-08-06 15:44:03 GMT <angelborroy> ?

2018-08-06 15:44:04 GMT <yreg> angelborroy, probably due to the upgrade of quartz libs

2018-08-06 15:44:16 GMT <angelborroy> yes, it’s due to Quartz upgrading

2018-08-06 15:44:25 GMT <AFaust> angelborroy: If you tell me what issue with that - it did work fine for me...

2018-08-06 15:44:45 GMT <angelborroy> ok

2018-08-06 15:45:17 GMT <AFaust> Oh - does not work fine on a 2nd, different system (I have a customer demo system up on Alfresco 6)

2018-08-06 15:45:32 GMT <AFaust> Sure - open an issue for that

2018-08-06 15:45:38 GMT <AFaust> And if you like, provide a PR

2018-08-06 15:46:15 GMT <AFaust> Myself I have already planned to do a minor update on our config to account for slight differences in set of caches

2018-08-06 15:47:04 GMT <AFaust> And once you have created an issue / PR, try to get a hold of Bindu and pressure him into reviewing open PRs, or volunteer to become a core maintainer yourself...

2018-08-06 15:47:15 GMT <angelborroy> hehe

2018-08-06 15:47:17 GMT <angelborroy> wow

2018-08-06 15:47:58 GMT <AFaust> I am still waiting on him to review a feature I implemented (suggested by Loftux) back in March...

2018-08-06 15:49:15 GMT <AFaust> Interestingly, there is no error - just an empty list.

2018-08-06 15:49:29 GMT <angelborroy> no error with Alfresco 6?

2018-08-06 15:49:34 GMT <AFaust> So all the APIs are still there, just the lookup returns an empty list

2018-08-06 15:49:44 GMT <angelborroy> ah, sched jobs

2018-08-06 15:49:45 GMT <angelborroy> yes

2018-08-06 15:49:59 GMT <AFaust> I mean, the web script is not failing - and we sure as hell don't catch exceptions like Alfresco does in APS

2018-08-06 15:50:05 GMT <angelborroy> https://github.com/OrderOfTheBee/ootbee-support-tools/blob/master/repository/src/main/amp/config/alfresco/templates/webscripts/org/orderofthebee/support-tools/admin/ootbee-support-tools/scheduled-jobs.lib.js#L31

2018-08-06 15:50:06 GMT <alfbot> Title:ootbee-support-tools/scheduled-jobs.lib.js at master · OrderOfTheBee/ootbee-support-tools · GitHub (at github.com)

2018-08-06 15:50:20 GMT <angelborroy> In fact it’s using Java Scheduler Factory

2018-08-06 15:51:16 GMT <AFaust> Yeah, but there also still seems to be the other one... otherwise that call would throw an error

2018-08-06 15:51:33 GMT <AFaust> So they apparently only did a partially complete upgrade...

2018-08-06 15:53:06 GMT <angelborroy> Alfresco is full of “abandoned” software

2018-08-06 15:53:45 GMT <angelborroy> I guess that now this is the boss: https://github.com/Alfresco/alfresco-repository/blob/27d9cd63ab141f67b0fc7f493ac937f50bb51705/src/main/resources/alfresco/scheduled-jobs-context.xml#L13

2018-08-06 15:53:46 GMT <alfbot> Title:alfresco-repository/scheduled-jobs-context.xml at 27d9cd63ab141f67b0fc7f493ac937f50bb51705 · Alfresco/alfresco-repository · GitHub (at github.com)

2018-08-06 15:53:51 GMT <AFaust> Hmm - I am looking at 6.0 alfresco-repository, and I still see the schedulerFactory there as in the old version

2018-08-06 15:54:29 GMT <angelborroy> yep, but you have an accessor with all the triggers

2018-08-06 15:55:04 GMT <AFaust> That is just a simplification of the registration

2018-08-06 15:57:02 GMT <angelborroy> yep

2018-08-06 15:57:23 GMT <AFaust> Well - different problem for a different time. Now I have to check if I did actually find the cause for my problem

2018-08-06 15:57:29 GMT <angelborroy> yes

2018-08-06 15:57:34 GMT <angelborroy> sorry to disturb you

2018-08-06 15:58:08 GMT <AFaust> .... and of course I did (have to facepalm)

2018-08-06 15:58:43 GMT <AFaust> So.. apparently a deployment of a dependent library on friday failed, but it was successfully deployed in my Maven repository

2018-08-06 15:59:01 GMT <AFaust> So of course everything compiled and looked good, unit tests worked as well

2018-08-06 15:59:26 GMT <AFaust> And since none of the exception messages every pointed to a constant missing, I never checked that library

2018-08-06 16:00:35 GMT <AFaust> Only when I put the code from my unit test in a static initializer block of another class, deployed that to my server and waited for the cron to trigger, then did the JVM provide an exception message saying "hey, about that field you are referencing? It does not exist - just FYI"

2018-08-06 16:02:03 GMT <yreg> Lol, that's the thing about lambdas, they are quite hard to debug due to ambiguous exception messages ....

2018-08-06 16:02:28 GMT <AFaust> Well - it's not a problem with lambdas per-se, because even in regular methods did the JVM not provide proper error messages

2018-08-06 16:03:23 GMT <AFaust> And so far I have had no issues with lambdas and ambiguous messages (and still haven't since this turned out to not be related to / caused by lambdas at all)

2018-08-06 16:05:06 GMT <AFaust> It was just a problem three/four-times removed.... lambda referenced a method referencing the holder class which referenced an enum that referenced an interface with all my model QName constants, and here there was one minor change that did not get deployed.

2018-08-06 16:06:09 GMT * AFaust is happy that he now - finally - has 900 MiB of log output to comb through and fix issues in that job...

2018-08-06 16:07:27 GMT <yreg> Only 900 MiB, you don't have any issues in that job, all you need to do is a graceful try-catch ;-)

2018-08-06 16:08:13 GMT <AFaust> 900 MiB of debug/trace logging for individual value conversions where I have to find any missed corner cases I could not fine via SQL analysis before

2018-08-06 16:08:23 GMT <AFaust> no exceptions at all

2018-08-06 16:08:52 GMT <AFaust> The DB contains about 100 different variants of broken date values stored as text

2018-08-06 16:09:23 GMT <AFaust> ...among other things

2018-08-06 16:14:42 GMT <AFaust> angelborroy: No GitHub issue for OOTBee yet?

2018-08-06 20:50:29 GMT <iwkse> ahah

End of Daily Log

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