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-02-06 07:03:25 GMT <alfbot> fcorti: Sent 1 day, 7 hours, and 36 minutes ago: <yregaieg> Good news Francesco, I was able to 1- invoke jobs and transformations from within java code, pass parameters to them and detect if there were some errors during the exectution

2017-02-06 07:03:26 GMT <alfbot> fcorti: Sent 1 day, 7 hours, and 35 minutes ago: <yregaieg> Well, now that I have a PoC, I will need to get back to debugging the failing special metadata extraction

2017-02-06 07:03:27 GMT <alfbot> fcorti: Sent 1 day, 7 hours, and 32 minutes ago: <yregaieg> the way, is there any reason why nothing is indexed on the custom metadata records, not even the document ID (After adding a couple dimensions in my cube related to them, it sounded like queries started to take too long, and indexing a couple of fields did really help out... I really think those should be indexed by default)

2017-02-06 07:03:28 GMT <alfbot> fcorti: Sent 8 hours and 26 minutes ago: <yreg> in the job Get custom types and aspects to operational there is 3 initialization of query to '', you need to remove at least the one inside the loop, otherwise only one single custom metadata (the last one) survives this step p;-)

2017-02-06 07:03:29 GMT <alfbot> fcorti: Sent 8 hours and 23 minutes ago: <yreg> probably would want to diffirentiate between null values and empty strings, they are different and they should be treated differently, and they are messing uip with data quality checks

2017-02-06 08:11:51 GMT <yreg> Morning

2017-02-06 09:14:30 GMT <bhagyas> Is it only us or has anyone else noticed that Alfresco has slowly begun removing Alfresco from localisation strings and product in general?

2017-02-06 09:16:46 GMT <yreg> bhagyas, hehe, I see what you mean, although I did not notice that

2017-02-06 09:16:54 GMT <yreg> smart move :D

2017-02-06 09:19:23 GMT <yreg> ~later tell douglascrp ping

2017-02-06 09:19:23 GMT <alfbot> yreg: The operation succeeded.

2017-02-06 09:28:00 GMT <bhagyas> yreg: Any reason why you called it smart?

2017-02-06 09:31:34 GMT <yreg> it would prevent people from easily rebranding the software ?

2017-02-06 09:32:11 GMT <bhagyas> yreg: how would removing the branding make it difficult to rebrand? xD

2017-02-06 09:33:43 GMT <yreg> Oh! Assumed they were replacing it with some hardcoded references as parameters to the localized strings ! isn't that the case ?

2017-02-06 09:35:00 GMT <bhagyas> :D

2017-02-06 09:35:11 GMT <Loftux> Some examples, where it used to say "Alfresco Content Repository" it is now just "Content Repository"

2017-02-06 09:35:22 GMT <bhagyas> example: places where "Alfresco Server' was mentioned, its just 'Server' now

2017-02-06 09:35:31 GMT <bhagyas> what loftux said

2017-02-06 09:38:28 GMT <AFaust> Might just be pre-emptive cleanup to prevent confusion, i.e. when they decide to brand a part of the product "Alfresco Content Repository" (one of their aims is to increase modularisation in the long term)

2017-02-06 09:45:51 GMT <Loftux> AFaust: It is actually "Alfresco Content Services" and where Alfresco remains it is appended with Content Services. But also the "Alfresco Content Services" is only used for Enterprise, at least on the login page where it switches from "Alfresco Community Edition" to "Alfresco Content Services" as a tag line.

2017-02-06 09:46:29 GMT <alfbot> bmejias: Sent 2 days, 21 hours, and 1 minute ago: <DarkStar1> ootb bzz.

2017-02-06 09:47:26 GMT <bmejias> ~later tell DarkStar1 bzz

2017-02-06 09:47:26 GMT <alfbot> bmejias: The operation succeeded.

2017-02-06 09:49:16 GMT <bmejias> ~later tell twen safe back home after FOSDEM?

2017-02-06 09:49:16 GMT <alfbot> bmejias: The operation succeeded.

2017-02-06 10:03:04 GMT <fcorti> bmejias, how was the FOSDEM? do you suggest to Alfresco to be there the next year?

2017-02-06 10:03:15 GMT <fcorti> ~later tell twen how was the FOSDEM? do you suggest to Alfresco to be there the next year?

2017-02-06 10:03:15 GMT <alfbot> fcorti: The operation succeeded.

2017-02-06 10:03:18 GMT <fcorti> :-)

2017-02-06 10:03:40 GMT <bmejias> hi fcorti, yes absolutely

2017-02-06 10:04:02 GMT <bmejias> I've been suggesting that since 2013 =P

2017-02-06 10:04:31 GMT <fcorti> oh... I'm trying to define the events on the ground for Alfreco

2017-02-06 10:04:50 GMT <fcorti> so, I receive (in 2017) your invitation ;-)

2017-02-06 10:04:50 GMT <bmejias> I met twen and he told you gave him the mission to write a completely and detailed report about FOSDEM to know whether Alfresco should be there.

2017-02-06 10:05:05 GMT <fcorti> This is great!

2017-02-06 10:05:29 GMT <bmejias> we should probably schedule a hangout with twen to discuss about FOSDEM

2017-02-06 10:05:32 GMT <fcorti> I mean, it would be great if he will be able to do it

2017-02-06 10:05:43 GMT <bmejias> this was my 12th time over there.

2017-02-06 10:06:03 GMT <fcorti> oh... you are part of the FOSDEM

2017-02-06 10:06:12 GMT <bmejias> helping out the PostgreSQL community, as I also joined Postgresql Europe in November.

2017-02-06 10:06:22 GMT <fcorti> yes, hangout @ FOSDEM is nice!

2017-02-06 10:07:01 GMT <bmejias> no no, I'm not part of FOSDEM, I've presented a couple of time, attended a dozen of times, and this year I was part of the Postgresql staff to help out with the devroom

2017-02-06 10:07:12 GMT <bmejias> 200 people, room full every talk.

2017-02-06 10:07:25 GMT <bmejias> the whole fosdem is about 8k+ people

2017-02-06 10:07:40 GMT <bmejias> that room of 200 is only one of the 15 rooms or so

2017-02-06 10:07:48 GMT <fcorti> wow

2017-02-06 10:09:00 GMT <bmejias> if Alfresco wants to have presence, in my opinion, the best would be: 1) have a booth 2) try to get a talk accepted.

2017-02-06 10:09:27 GMT <bmejias> it would be extremely necessary to focus on the Alfresco Community edition, otherwise the fosdem people won't like it.

2017-02-06 10:09:49 GMT <bmejias> Philippe Dubois made a Lightning Talk some 7 years ago, so, it's possible to get something accepted.

2017-02-06 10:09:50 GMT <fcorti> Why not to attend Alfresco + OOTB?

2017-02-06 10:10:09 GMT <bmejias> Lightning Talks at FOSDEM as not as lightning as in BeeCon, they last 15 minutes.

2017-02-06 10:10:16 GMT <fcorti> Probably the first option would be the best to have structured feedback

2017-02-06 10:10:34 GMT <fcorti> We need to monitor the "results"

2017-02-06 10:10:54 GMT <bmejias> you can count the amount of people attending the talk too :D

2017-02-06 10:11:04 GMT <fcorti> :-D

2017-02-06 10:11:06 GMT <bmejias> having a talk will bring more people to the booth

2017-02-06 10:11:22 GMT <bmejias> having a Alfresco + OOTB booth would be very nice.

2017-02-06 10:11:23 GMT <fcorti> I learnt everything is connected

2017-02-06 10:11:30 GMT <fcorti> yes, why not....

2017-02-06 10:11:51 GMT <bmejias> yes, the fundamental interconnectedness of all things.

2017-02-06 10:11:53 GMT <yreg> Any body here familiar with -XX:+CompressedOops ?

2017-02-06 10:12:13 GMT <bmejias> having the OOTBee together with Alfresco will reinforce the fact that it's a lot about community.

2017-02-06 10:12:19 GMT <yreg> AFaust, have had experimentations with it ?

2017-02-06 10:13:04 GMT <fcorti> exactly! We could have concern in a business event, but in a dev event, I can see only positive thoughts.

2017-02-06 10:13:11 GMT <fcorti> Let's work on it...

2017-02-06 10:13:34 GMT <fcorti> Thank you for the update... looking forward to hear also twen

2017-02-06 10:13:47 GMT <fcorti> ...or other people here attended the FOSDEM

2017-02-06 10:17:59 GMT <yreg> fcorti, community events would definitely extend the reach of Alfresco Marketing, eventually to new developers, enthusiasts and companies... which would probably be reflected in future business events...

2017-02-06 10:19:04 GMT <fcorti> yes, and this part of my job. The real question is: what to do to reach this?

2017-02-06 10:19:12 GMT <fcorti> this is why I asked to suggest events

2017-02-06 10:19:17 GMT <fcorti> initiatives

2017-02-06 10:19:20 GMT <fcorti> idea

2017-02-06 10:19:24 GMT <fcorti> ideas

2017-02-06 10:20:14 GMT <AFaust> yreg: I used it once, yes... I have not included this in my defaults but from the experiment I did it looks worthwhile. But as far as I understand it is also now the default...

2017-02-06 10:20:49 GMT <AFaust> "Compressed oops is supported and enabled by default in Java SE 6u23 and later. In Java SE 7, use of compressed oops is the default for 64-bit JVM processes when -Xmx isn't specified and for values of -Xmx less than 32 gigabytes."

2017-02-06 10:22:02 GMT <bmejias> fcorti, you're welcome. I'm open to schedule a call with twen, you, and whoever you think should participate.

2017-02-06 10:23:05 GMT <fcorti> bmejias deal... we could open the era of the "request for an Alfresco hangout"

2017-02-06 10:23:10 GMT <bmejias> I do have duties with the PostgreSQL Europe community, specially in FOSDEM, but OOTBee is important, so, let's go for it.

2017-02-06 10:23:42 GMT <bmejias> One way of attracting people is this one: https://www.meetup.com/srcd-tech-talks/events/237043683/

2017-02-06 10:23:43 GMT <alfbot> Title: source{d} beer payback - source{d} tech talks (Madrid) | Meetup (at www.meetup.com)

2017-02-06 10:23:56 GMT <bmejias> They just pay beers in a pub to bring people to talk with them

2017-02-06 10:24:14 GMT <bmejias> it's part of the FOSDEM Fringe: https://fosdem.org/2017/fringe/

2017-02-06 10:24:15 GMT <alfbot> Title: FOSDEM 2017 - Fringe (at fosdem.org)

2017-02-06 10:24:24 GMT <fcorti> interesting....

2017-02-06 10:24:55 GMT <fcorti> We'll be awarding extra beers based on your OSS contributions! Stay tuned for the details!

2017-02-06 10:25:00 GMT <bmejias> becoming sponsor of FOSDEM might be even a better idea

2017-02-06 10:25:00 GMT <fcorti> The more contributions... the more beers

2017-02-06 10:25:23 GMT <bmejias> ah yes... nice fellows those of source{d}

2017-02-06 10:25:53 GMT <fcorti> thank you for sharing

2017-02-06 10:25:58 GMT <bmejias> github for instance, gave free coffee during the event too.

2017-02-06 10:26:26 GMT <bmejias> we just need to be careful about how to brand it.

2017-02-06 10:26:45 GMT <fcorti> yes, sure

2017-02-06 10:27:00 GMT <bmejias> For instance, Oracle is not a sponsor, but MySQL is

2017-02-06 10:27:57 GMT <fcorti> Alfresco Community + OOTB could bem probably!

2017-02-06 10:32:36 GMT <bmejias> yeap

2017-02-06 10:46:36 GMT <yreg> AFaust, https://community.oracle.com/message/10019916#10019916

2017-02-06 10:46:37 GMT <alfbot> Title: Warning on Compressed Oops | Oracle Community (at community.oracle.com)

2017-02-06 10:47:39 GMT <yreg> I do not know what is JE cache, and my googling led me no where (I keep hitting french results for "I hide" as in the exact translation of "Je Cache" :P)

2017-02-06 10:47:58 GMT <yreg> Do you think setting it explicitly would differ to alfresco ?

2017-02-06 10:48:29 GMT <AFaust> I would assume that JE Cache might be Java Enterprise Cache...

2017-02-06 10:48:41 GMT <AFaust> Also, that warning is from 2011

2017-02-06 10:49:38 GMT <AFaust> Also, Alfresco uses either simple Google or Hazelcast caches which do not include estimation of object sizes in bytes, so there is no risk of incorrect calculation

2017-02-06 10:50:35 GMT <yreg> Ok, thanks for the insights

2017-02-06 10:50:41 GMT <AFaust> It might be something I have to check for my custom cache implementation though, but AFAIK it uses the serialised size of the objects and does not attempt to "guess" it via calculation

2017-02-06 10:51:04 GMT <yreg> interesting

2017-02-06 10:52:10 GMT <AFaust> And one other point: That post is from the Berkeley DB Java Edition discussion board and thus JE Cache may actually refer to "Java Edition Cache" for that specific product

2017-02-06 10:52:59 GMT <AFaust> Always be careful when following Google results...

2017-02-06 11:22:33 GMT <Vasquez> Hi guys i have a big problem, and would appreciate your help

2017-02-06 11:22:34 GMT <Vasquez> I have got this error: "Error in parsing mail..Failed to update node 9999; nested exception is org.springframework.dao.DeadlockLoserDataAccessException:

2017-02-06 11:22:34 GMT <Vasquez> QLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction"

2017-02-06 11:22:34 GMT <Vasquez> And it was caused in (last trackable line) "nodeService.setProperty(x,y,z)"

2017-02-06 11:22:34 GMT <Vasquez> I cant c/p whole log since I am forbidden to do that. Any kind of advice or direction how to hunt down cause of such error would be more than appreciated. tnx

2017-02-06 11:51:56 GMT <AFaust> ~flushLog

2017-02-06 11:51:56 GMT <alfbot> AFaust: Woooosh, your log has been flushed...

2017-02-06 11:53:01 GMT <AFaust> Vasquez: That kind of error is something that can occur and may not be a hard error. Alfresco should retry the transaction (if a retrying transaction handler / interceptor is used) and usually those kinds of issues tend to sort themselves out in a 2nd attempt

2017-02-06 11:53:36 GMT <AFaust> It usually just means that there have been two nearly-simultaneous write accesses to the same node

2017-02-06 11:55:02 GMT <AFaust> And due to some other write accesses in the transactions there was a deadlock when competing for locks on the DB that could not be resolved other than by killing one transaction

2017-02-06 11:57:01 GMT <Vasquez> i understand most of that, but what is interesting, there are errors saying that there was DeadlockLoserDataAccessException which means some transaction couldnt get write permission for over 50s? Am i right?

2017-02-06 12:00:43 GMT <Vasquez> never the less, i assume that this could be avoided with some kind of synchronization, but also i understand this would affect performance, trouble is this is error which happens in production, and i don;t have direct access to that machine nor i could take those data in order to replicate it in local, this is why my question is so poor

2017-02-06 12:04:45 GMT <AFaust> Vasquez: Alfresco retries a transaction up to 40-times (default configuration) with increasing wait times - this can lead to repeated occurence over a long duraion of times (50s may be reaistic here)

2017-02-06 12:05:44 GMT <AFaust> Since you can't share the full error with its stacktrace it is impossible to pinpoint any operation that may need to be improved in terms of multi-thread coordination/synchronisation

2017-02-06 12:08:32 GMT <Vasquez> iam very well aware of that :(

2017-02-06 12:16:01 GMT <alfbot> DarkStar1: Sent 2 hours and 28 minutes ago: <bmejias> bzz

2017-02-06 12:16:05 GMT <DarkStar1> Afternoon all

2017-02-06 12:16:54 GMT <DarkStar1> bmejias: Hey. Totally forgotten why I wanted to reach you. Will pm you later if I do :)

2017-02-06 12:17:30 GMT <bmejias> DarkStar1 hahaha.... sure, no problem.

2017-02-06 12:17:45 GMT <bmejias> I hope it wasn't because you were attending fosdem

2017-02-06 12:18:52 GMT <DarkStar1> Just a qq which user owns the postgres db installed by the alfresco installation script. I need to drop the db but the alfresco user apparently doesn't own the db and I don't know the default postgre user password

2017-02-06 12:19:01 GMT <DarkStar1> (it's not postgres)

2017-02-06 12:19:43 GMT <DarkStar1> bmejias: No. I just know it was a beecon question just can't remember what at the moment

2017-02-06 12:30:20 GMT <DarkStar1> Aah my bad. must call the script from the alfresco folder itself

2017-02-06 12:54:23 GMT <DarkStar1> Didn't work. :/

2017-02-06 13:06:40 GMT * AFaust hates Google for not finding him https://github.com/i-net-software/jlessc when he was looking for better LESS processor to use with Aikau...

2017-02-06 13:06:41 GMT <alfbot> Title: GitHub - i-net-software/jlessc: Less CSS compiler written in Java (at github.com)

2017-02-06 13:12:11 GMT <yreg> Wow, AFaust seems very interesting project!!

2017-02-06 13:13:16 GMT <bmejias> fellows, I have the following issue

2017-02-06 13:13:33 GMT <bmejias> we have a deployment done with a jar file placed on tomcat/shared/lib/

2017-02-06 13:13:39 GMT <yreg> fcorti, MartinDoyleUK I think this definitely can make lots of issues with aikau performance (especially in dev environment) fade away !

2017-02-06 13:13:41 GMT <bmejias> this is a Alfresco 4.1.x

2017-02-06 13:13:56 GMT <bmejias> originally 4.1.5, now running 4.1.10

2017-02-06 13:14:20 GMT <bmejias> the jar file contains a share-config-custom.xml file

2017-02-06 13:14:35 GMT <AFaust> yreg: Alfresco already has an alternative, optional LESS processer component in Surf. Basically they delegate to an external Node process

2017-02-06 13:14:36 GMT <bmejias> which defines the call to "dologout" as a GET method

2017-02-06 13:14:49 GMT <bmejias> that was OK until 4.1.5, but not for 4.1.10

2017-02-06 13:15:08 GMT <bmejias> what's the best solution here?

2017-02-06 13:15:32 GMT <AFaust> yreg: Also, I believe MartinDoyleUK is no longer with Alfresco... but maybe he can correct me if I am wrong. At least he is no longer working on Aikau project as far as I am aware (there is no full time resource working on it)

2017-02-06 13:16:30 GMT <bmejias> 1. add another share-config-custom.xml to classes/alfresco/web-extension

2017-02-06 13:16:32 GMT <bmejias> or

2017-02-06 13:16:51 GMT <AFaust> yreg: I believe there is no documentation really on how to enable the Node LESS processor... also, since I refuse to use (unstable / bad quality) Node in production it is not an option for me...

2017-02-06 13:17:07 GMT <bmejias> 2. Rebuild the jar with the proper call to method POST for logout

2017-02-06 13:17:14 GMT <bmejias> 1 or 2?

2017-02-06 13:18:00 GMT <bmejias> I don't have the source code of the jar, but I assume unzip, rewrite the share-config-custom.xml file, rezip again, will do.

2017-02-06 13:18:03 GMT <bmejias> Isn't it?

2017-02-06 13:18:35 GMT <AFaust> bmejias: not really the core issue here, but never trust someone who says deployment in tomcat/shared/lib always works...

2017-02-06 13:19:24 GMT <asdf_> is anyone doing the alfresco university trainings? since today the slides aren't displayed and i get just a white screen..

2017-02-06 13:21:41 GMT <bmejias> AFaust that confirms what I said when I requested an amp instead of a jar....

2017-02-06 13:22:08 GMT <bmejias> but well, the project was done like that... little chance to change that now.

2017-02-06 13:22:35 GMT <bmejias> I'll try with the rewrite of the jar and come back with the result here

2017-02-06 13:22:41 GMT <yreg> AFaust, I was aware of the node processor, but I am not that fond of mixing technologies myself, and to be honest, I never thought it worth setting up in my dev environment

2017-02-06 13:22:55 GMT <yreg> any way, thanks for the insights

2017-02-06 13:25:01 GMT <AFaust> yreg: I'll likely integrate that Java LESS processor in my utility module

2017-02-06 13:27:58 GMT <IanW1> bmejias: dologout is a bit of a pet peeve of mine... it keeps changing so the version you're targeting is important

2017-02-06 13:28:28 GMT <yreg> AFaust, interesting

2017-02-06 13:28:36 GMT <bmejias> ok, thanks IanW1. We are upgrading from 4.1.5 to 4.1.10

2017-02-06 13:29:29 GMT <IanW1> There's a logout method in the servlet 3 spec which would be better to use

2017-02-06 13:29:31 GMT <AFaust> yreg: I also hope that LESS processor won't throw up as much as the current one does. Hunting down parse error issues with seemingly valid LESS currently...

2017-02-06 13:30:24 GMT <IanW1> bmejias: Can't remember that far back!

2017-02-06 13:31:21 GMT <AFaust> and just as I write "seamingly" I find some stuff that might be invalid

2017-02-06 13:31:52 GMT <yreg> hehe

2017-02-06 13:52:46 GMT <AFaust> wohoo - consolidated a legacy YUI presentation.css into Surf/Aikau CSS dependency processing with LESS so that for colors&borders all (global) styling now uses LESS variables

2017-02-06 13:53:20 GMT <AFaust> Only need to hunt down any legacy YUI component-level styles not affected by presentation.css

2017-02-06 13:55:21 GMT <AFaust> ...and may need some changes/enhancements to Aikau modules to add or use LESS variables where they are currently not (provided)

2017-02-06 14:00:06 GMT <yreg> AFaust, is this project available publicly ?

2017-02-06 14:00:38 GMT <AFaust> Currently a customer project to simplify the styling for them.

2017-02-06 14:00:49 GMT <AFaust> But I am already considering adding this to my utility project as well

2017-02-06 14:01:03 GMT <AFaust> e.g. provide a "consolidatedLightTheme" Surf theme

2017-02-06 14:01:43 GMT <AFaust> that utility project is already used for this customer - one feature that it provides is the ability to add external CSS as Aikau dependencies via the JSON model

2017-02-06 14:02:31 GMT <AFaust> which then is also processed via LESS - that's how I currently include the theme CSS in LESS

2017-02-06 14:05:26 GMT <AFaust> yreg: So short answer "not yet"

2017-02-06 14:05:46 GMT <Loftux> AFaust: did you do the skin.css too? And even made it nested?

2017-02-06 14:06:40 GMT <AFaust> I have included some overrides to rules from the base.css - so far I have not run into conflicts with skin.css

2017-02-06 14:06:58 GMT <Loftux> We do have a less version that generates bootstrap themes that we plan to make open source, but just haven't got around to do it.

2017-02-06 14:08:27 GMT <AFaust> I think a few of the rules from presentation.css already deal with overriding defaults from skin.css which is why the most apparent issues might already be covered in my case

2017-02-06 14:09:30 GMT <AFaust> But I do see rules that I'll defintely need to handle for my "consolidatedLightTheme"

2017-02-06 14:10:08 GMT <bhagyas> AFaust: Have you seen or tried out our themes?

2017-02-06 14:10:22 GMT <AFaust> Seen yes - tried out, no

2017-02-06 14:10:43 GMT <bhagyas> pm your email, ill set up a demo account on our evaluation server - so you can try some out

2017-02-06 14:11:17 GMT <bhagyas> as Loftux said, we were thinking of open sourcing the theme generator along side the themes

2017-02-06 14:15:33 GMT <bhagyas> AFaust: sent you an invite

2017-02-06 14:16:16 GMT <Loftux> AFaust: The aikau <css-tokens><less-variables> seem to only be used for dashlet now, all other variables got removed, not in 201701GA

2017-02-06 14:16:52 GMT <AFaust> Loftux: defaults.less already contains default values for lightTeme

2017-02-06 14:16:55 GMT <AFaust> lightTheme

2017-02-06 14:17:08 GMT <AFaust> Even those dashlet ones could have been integrated there as well

2017-02-06 14:17:53 GMT <AFaust> Since they updated the Aikau version with 201701 GA they could finally drop the vaiables that have aready been redundant when you updated Aikau

2017-02-06 14:17:59 GMT <AFaust> on 5.0/5.1

2017-02-06 14:21:28 GMT <Loftux> AFaust: so defaults.less is something that is in Aikau? Didn't know of that… What a mess this all is…

2017-02-06 14:22:22 GMT <AFaust> On the Surf / Aikau part not really a mess. It only becomes a mess since Alfresco (management) refuses to migrate the legacy YUI stuff...

2017-02-06 14:22:56 GMT <bhagyas> -= THIS MESSAGE NOT LOGGED =-

2017-02-06 14:23:50 GMT <bhagyas> I think its the developers job to convince the management - since management won't know the difference between h1 and h2

2017-02-06 14:24:08 GMT <AFaust> I also believe it is technically correct... 60-80% of the nuisances with Share customisation originate from the fact that is a hodge-podge

2017-02-06 14:24:08 GMT <bhagyas> but let's not go there today ;)

2017-02-06 14:24:31 GMT <AFaust> <insert Share before "is a hodge-podge">

2017-02-06 14:26:02 GMT <bhagyas> AFaust: What we did for themes was to less-ify all the major CSS files - and then using a script to replace the variables with a mapper less file

2017-02-06 14:26:40 GMT <bhagyas> and use !imports to override and Aikau stuff - since Aikau global styling is chaos

2017-02-06 14:27:21 GMT <bhagyas> and that took quite a lot of time

2017-02-06 14:27:45 GMT <AFaust> !important ? That'd be a red-flag for me and should never be necessary, even for non-ideal base CSS

2017-02-06 14:28:07 GMT <bhagyas> AFaust: Tell that after you try creating a Global style that works with Aikau components

2017-02-06 14:28:08 GMT <bhagyas> ;)

2017-02-06 14:28:39 GMT <Loftux> AFaust: Is there an actual way of using a custom defaults.less per theme basis?

2017-02-06 14:28:43 GMT <bhagyas> Using !important is a crime, but I think making us having use !important is a bigger crime

2017-02-06 14:30:13 GMT <AFaust> Loftux: I tried that in one of the last projects working for PRODYNA, but can't currently remember the details of why it didn't work for us. Of course that was on 5.0 something when things were quite fresh...

2017-02-06 14:32:10 GMT <Loftux> AFaust: The you I guess there is no other way than to override in presentation.css with !important just to do a simple change like the color of the toolbar.

2017-02-06 14:32:41 GMT <Loftux> (strange start of the sentence there…)

2017-02-06 14:33:56 GMT <AFaust> Loftux: With default Alfresco, yes. But this is where I am working on with some components in my utility module, to be able to strip presentation.css of all of the color-related configuration and be able to include a theme-specific CSS file in my Aikau-dependency-processing

2017-02-06 14:40:05 GMT <Loftux> AFaust: Added you to our theme-pack project. In the bootswatch branch you can see the stuff using less to create themes. Lets see if we can make a workable theme generator with a joint effort.

2017-02-06 14:47:35 GMT <bmejias> AFaust IanW1 it worked by changing the "link" by "post" for the logout... unzip, edit xml file, rezip as jar, upload to shared/lib, restart.

2017-02-06 17:04:02 GMT <hasitha_> Hi Guys, Have any one of you come up with a scnario where you change an existing LDAP user groups to AD. Assume that LDAP and AD has same email address and user id's. If you switch the subsystem to point from LDAP to AD, will it initiate a user deletion and re-creation? Or the existing users will be preserved?

2017-02-06 17:15:01 GMT <AFaust> hasitha_: It depends on your authentication chain setup.

2017-02-06 17:15:21 GMT <AFaust> and if you allow for deletions

2017-02-06 17:15:49 GMT <AFaust> If deletions are allowed, then users will be deleted + re-created

2017-02-06 17:16:05 GMT <AFaust> If not, then they will be preserved and simply "moved" to the new subsystem

2017-02-06 17:16:33 GMT <AFaust> But only if the new subsystem is the only active one or ordered before the old subsystem within the chain

2017-02-06 17:17:10 GMT <hasitha_> Deletions are not allowed. But in case of a new users are moved, will they still have the previous permissions and site memberships?

2017-02-06 17:17:20 GMT <AFaust> also be aware that for subsystem association of synchronized users / groups, only the ID of the subsystem, not its type will be referenced

2017-02-06 17:17:43 GMT <AFaust> thus if you have "ldap1:ldap,ldap1:ldap-ad" you can end up with some issues

2017-02-06 17:18:18 GMT <AFaust> hashitha_: Permissions are based solely on the user ID, so if a user is deleted and re-created with the same ID than all previous permissions will still apply.

2017-02-06 17:18:44 GMT <AFaust> Site memberships on the other hand are based on containment and these will be lost during deletion + re-creation

2017-02-06 17:18:55 GMT <AFaust> Thus not allowing deletion is the safest way to handle migration

2017-02-06 17:21:14 GMT <yreg> ~later tell fcorti new bug with AAAR extractions, in "Dimentsion update 8" in table input "stg_workflow_tasks" there is error in the field outcome, the corresponding line should be like this " coalesce(upper(stg_workflow_tasks.outcome),'UNKNOWN') as outcome,"

2017-02-06 17:21:14 GMT <alfbot> yreg: The operation succeeded.

2017-02-06 17:22:16 GMT <hasitha_> Thanks, Axel.

2017-02-06 17:23:03 GMT <yreg> ~later tell fcorti, I really need to note all these changes somewhere in order to be able to reproduce the kettle repo state easily

2017-02-06 17:23:03 GMT <alfbot> yreg: The operation succeeded.

2017-02-06 18:03:43 GMT <AFaust> ~later tell fcorti,kgastaldo: Is it me or does the community.alfresco.com platform replace line delimiters when editing a syntax highlighting block? Line endings get lost that way and it is very annoying to correct these for proper display...

2017-02-06 18:03:43 GMT <alfbot> AFaust: The operation succeeded.

2017-02-06 18:04:20 GMT <kryptynasium> I have questions related to Activiti

2017-02-06 18:07:44 GMT <AFaust> Ask and perhaps someone here has answers

2017-02-06 18:07:47 GMT <kryptynasium> I would like to run an Activiti process in a cron fashion - but really having a hard time on searching for the right API calls. It looks like the answer could either be the timeCycle manipulation in the XML tag - but don't know to set it (programmatically access it) via an API call

2017-02-06 18:08:11 GMT <kryptynasium> The other possibility would be doing a loop based on a timer script. Can someone point me in the right place

2017-02-06 18:08:17 GMT <AFaust> But first tell us: Which Activiti are your referring to? "Alfresco Activiti" (server product) or the "Activiti Engine" (core library)?

2017-02-06 18:08:36 GMT <AFaust> or "Activiti embedded within Alfresco ECM"?

2017-02-06 18:09:12 GMT <kryptynasium> AFaust: I am talking of Activiti Engine

2017-02-06 18:09:34 GMT <AFaust> Ok - and from the sound of it in a standalone deployment / integrated in a custom application

2017-02-06 18:10:08 GMT <kryptynasium> I was trying to access the timeCycle variable from the startEvent tag

2017-02-06 18:10:52 GMT <AFaust> Technically, you should be able to define a process with a timer start event. This can be configured using an ISO8601 period expression to fire at certain times

2017-02-06 18:10:56 GMT <kryptynasium> Like this: Task task = taskService.createTaskQuery().taskDefinitionKey("myKey").singleResult(); String name = task.getName();

2017-02-06 18:11:22 GMT <kryptynasium> That's correct - by setting the timeCycle value - in the BPMN XML file

2017-02-06 18:11:34 GMT <kryptynasium> However - I would like to configure it programmatically

2017-02-06 18:11:40 GMT <AFaust> And you want to change that at runtime?

2017-02-06 18:11:46 GMT <kryptynasium> Correct

2017-02-06 18:11:53 GMT <AFaust> I believe this is not an intended interaction

2017-02-06 18:12:00 GMT <AFaust> It would invalidate the process definition

2017-02-06 18:12:34 GMT <kryptynasium> But taskService was unable to retrieve the timeCycle process variable - probably it is not a task - therefore it was returning me a null

2017-02-06 18:12:35 GMT <AFaust> With the task query you can only get active tasks - not ones that have not been triggered / created yet

2017-02-06 18:13:00 GMT <kryptynasium> I see

2017-02-06 18:13:17 GMT <AFaust> And a timer start event would not be covered by the task service because it is not a task

2017-02-06 18:13:35 GMT <kryptynasium> But how do initiate a BPMN activiti flow - like as a cron job

2017-02-06 18:13:41 GMT <kryptynasium> *how do you

2017-02-06 18:14:40 GMT <AFaust> Such use cases typically require you to use an external job library (like Quartz) to handle your CRON and then trigger the process from within your job implementation

2017-02-06 18:15:20 GMT <AFaust> But again I am wondering why can't you use the timeCycle / why do you think that you have programmatically modify it?

2017-02-06 18:15:40 GMT <kryptynasium> Did you mean: http://www.quartz-scheduler.org/

2017-02-06 18:15:41 GMT <alfbot> Title: Quartz Enterprize Job Scheduler (at www.quartz-scheduler.org)

2017-02-06 18:15:54 GMT <AFaust> Yes, that would be the Quartz I meant

2017-02-06 18:16:51 GMT <kryptynasium> AFaust: the use case is a client will see a list of BPMN activiti - each activiti corresponds to running some SQL query. Client/user can edit each activity (BPMN) - and set the time cycle - like run every hour etc...

2017-02-06 18:17:40 GMT <kryptynasium> So BPMN activiti/y is triggered every set time

2017-02-06 18:18:21 GMT <AFaust> ok - so for that you'd either need to modify+redeploy the process definition upon change by the user or use an external scheduler

2017-02-06 18:20:42 GMT <AFaust> For modifying the process definition the DynamicBpmnService might be an option - but to be honest I have never used it / tried something like that.

2017-02-06 18:21:54 GMT <kryptynasium> Thanks AFaust for clarifying this - appreciate tons - made everything easy

2017-02-06 19:06:45 GMT <KurtK> We have an enterprise license. If we do not renew it, can we continue to use Alfresco Enterprise as-is? If not, is there any documentation on migrating from enterprise to community?

2017-02-06 19:07:14 GMT <AFaust> KurtK: It depends on when you became an Enterprise customer

2017-02-06 19:08:06 GMT <AFaust> There have been some changes to the licensing model in recent years, and this affects the question regarding "subscription termination"

2017-02-06 19:08:34 GMT <KurtK> I want to say, I think, in 2014.

2017-02-06 19:10:52 GMT <KurtK> Yes, Oct 2014.

2017-02-06 19:12:52 GMT <yreg> KurtK, For new subscriptions alfresco continues to run in Read-only mode

2017-02-06 19:13:44 GMT <yreg> AFaust, are you sure they don't make you sign on that clause when you renew your subscription ?

2017-02-06 19:20:01 GMT <KurtK> I see. I guess I'll have to see what we can do.

2017-02-06 19:21:09 GMT <AFaust> yreg: They did not in the last renewals that I was party to

2017-02-06 19:21:55 GMT <AFaust> And we obtained confirmation that all customers that signed on before date X will keep the right to use Enterprise perpetually

2017-02-06 19:22:31 GMT <AFaust> In Germany you can't legally restrict customers that way after they have signed on unless they agree

2017-02-06 19:22:47 GMT <AFaust> So if Alfresco were to force the issue they may face legal challenges here...

2017-02-06 19:23:40 GMT <AFaust> KurtK: I believe Oct 2014 would be too late for the "perpetual use" clause

2017-02-06 19:23:55 GMT <AFaust> I believe that was removed in June of that year...

2017-02-06 19:24:22 GMT <AFaust> But as always - check your paperwork

2017-02-06 19:24:58 GMT <KurtK> Ok, thanks.

2017-02-06 19:25:25 GMT <KurtK> Take care and have a great day.

End of Daily Log

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