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-23 09:30:05 GMT <qwebirc33945> Hello, i have a dumb question, why admin console is showing no settings? I tried to configure kerberos, and settings disappered.

2017-10-23 09:31:31 GMT <qwebirc33945> Actually it allows to login to system summary and show only consoles at right

2017-10-23 09:48:33 GMT <AFaust> qwebirc33945: Are you talking about Repository-tier Admin Console in Alfresco Community? That console has no tool to configure Kerberos - only Alfresco Enterprise / Content Services has that..

2017-10-23 09:51:43 GMT <qwebirc33945> There are no other basic settings

2017-10-23 10:40:03 GMT <angelborroy> AFaust I really love your submission, but I don’t think US people will approve that title

2017-10-23 10:40:19 GMT <angelborroy> AFaust Anyway, LOL from my part

2017-10-23 10:40:45 GMT <AFaust> Whatever - they're free to change it if they feel uncomfortable with the result of their product naming convention

2017-10-23 10:40:54 GMT <angelborroy> hehe

2017-10-23 10:43:31 GMT <AFaust> I also considered adding a special tag for this talk: MAGA

2017-10-23 10:43:37 GMT <AFaust> As in: "Make ASS great again"

2017-10-23 10:44:08 GMT <AFaust> That probably might also not have resonated too well with the US people, me thinks...

2017-10-23 11:27:50 GMT <douglascrp> good morning

2017-10-23 11:37:46 GMT <MartinM_> ha "morning" douglascrp

2017-10-23 12:12:08 GMT <Popochon2> Hi guys. I have a folder custom property with Person nodes. And i need to add persons in that property. I tried to add them in JS with + oeprator but y quet 2 arrays [node1, node2][node3, node4]. Any tip to how to add new PErsons to my custom property?

2017-10-23 12:12:12 GMT <Popochon2> thx in advance

2017-10-23 12:12:56 GMT <angelborroy> maybe I’m missing something, but a Person is a noderef

2017-10-23 12:13:20 GMT <angelborroy> so you can add directly an array of noderefs

2017-10-23 12:13:31 GMT <Popochon2> im writing it like that

2017-10-23 12:13:33 GMT <Popochon2> folder.properties["X:t_bla"]=folder.properties["X:t_bla"]+task.getVariable('Y:foo').getNodeReferences()

2017-10-23 12:14:04 GMT <angelborroy> wow

2017-10-23 12:14:17 GMT <angelborroy> so

2017-10-23 12:14:28 GMT <angelborroy> you have X:t_bla which is a list of noderefs

2017-10-23 12:14:29 GMT <angelborroy> right?

2017-10-23 12:14:37 GMT <Popochon2> yes

2017-10-23 12:15:03 GMT <angelborroy> and you want to append a list of noderefs represented by task.getVariable(“Y;foo”).getNodeReferences

2017-10-23 12:15:05 GMT <angelborroy> ok

2017-10-23 12:15:11 GMT <Popochon2> yes

2017-10-23 12:15:30 GMT <angelborroy> Probably you need to iterate

2017-10-23 12:15:50 GMT <angelborroy> as I don’t know which kind of object is returning “X:t_bla”

2017-10-23 12:16:04 GMT <angelborroy> have you checked which kind of object is this one?

2017-10-23 12:16:51 GMT <angelborroy> probably “concat” will work

2017-10-23 12:16:55 GMT <angelborroy> but I’m not sure

2017-10-23 12:17:09 GMT <Popochon2> <type>d:noderef</type>

2017-10-23 12:17:18 GMT <angelborroy> yep

2017-10-23 12:17:23 GMT <angelborroy> this is the content model

2017-10-23 12:17:29 GMT <angelborroy> and including a multiple=true

2017-10-23 12:17:51 GMT <angelborroy> but I don’t know which JavaScript object is returning “folder.properties["X:t_bla”]”

2017-10-23 12:18:02 GMT <angelborroy> ?

2017-10-23 12:18:16 GMT <Popochon2> an array

2017-10-23 12:18:24 GMT <angelborroy> so you can use "concat"

2017-10-23 12:18:44 GMT <angelborroy> folder.properties["X:t_bla”].concat(task.getVariable('Y:foo').getNodeReferences())

2017-10-23 12:18:57 GMT <angelborroy> if “task…” is also an array

2017-10-23 12:19:10 GMT <Popochon2> i will try

2017-10-23 12:19:13 GMT <Popochon2> thx a lot

2017-10-23 12:19:29 GMT <Popochon2> i will come back in a while with notices :)

2017-10-23 12:48:28 GMT <hiten> Hi All

2017-10-23 12:48:43 GMT <hiten> I am trying to override the users.js file in SDK 3

2017-10-23 12:48:49 GMT <hiten> but it doesn't seems to be picking up

2017-10-23 12:49:07 GMT <hiten> according to the docs it should be put under web folder

2017-10-23 12:49:25 GMT <hiten> in src/main/assembly

2017-10-23 12:50:07 GMT <hiten> and then further under components/console

2017-10-23 12:50:17 GMT <hiten> but it is not working

2017-10-23 12:51:11 GMT <hiten> although if I put the same under META-INF

2017-10-23 12:51:19 GMT <hiten> components/console/users.js

2017-10-23 12:51:25 GMT <hiten> then it seems to be working fine

2017-10-23 12:59:30 GMT <douglascrp> hiten, are you talking about deploying the generated AMP in an alfresco installation or trying to replace the file in the project and use it while executing the project using maven?

2017-10-23 13:01:39 GMT <douglascrp> hiten, I am asking this, because I know about this SDK issue https://github.com/Alfresco/alfresco-sdk/issues/430

2017-10-23 13:01:40 GMT <alfbot> Title: Problems trying to include client side resources with SDK 3 beta 5 · Issue #430 · Alfresco/alfresco-sdk · GitHub (at github.com)

2017-10-23 13:01:57 GMT <douglascrp> hiten, it is not going to work the way you want it to work if you are trying to execute the project

2017-10-23 14:22:45 GMT <david_____> greetings

2017-10-23 14:24:17 GMT <david_____> any hints on how to configure SOlr 6 in cluster with Community 5.2.1?

2017-10-23 14:28:41 GMT <david_____> I have 2 alfresco servers with a shared alf_data through NFS

2017-10-23 14:32:29 GMT <angelborroy> Community 5.2.1 is not a version

2017-10-23 14:32:35 GMT <angelborroy> Community 201707 is

2017-10-23 14:32:59 GMT <david_____> OK, 201707, sorry

2017-10-23 14:33:47 GMT <angelborroy> Probably you can start reading this: https://docs.alfresco.com/5.2/concepts/solr-replication.html

2017-10-23 14:33:49 GMT <alfbot> Title: Solr replication | Alfresco Documentation (at docs.alfresco.com)

2017-10-23 14:33:55 GMT <angelborroy> It should be replicable in Community

2017-10-23 14:34:34 GMT <angelborroy> david____ but I’m curious on how are you clustering Alfresco repo

2017-10-23 14:34:45 GMT <angelborroy> as having a shared NFS is not enough for that

2017-10-23 14:35:01 GMT <david_____> okay, thanks for the link! :-)

2017-10-23 14:35:07 GMT <angelborroy> I’m leaving now, but I’ll check the chat later

2017-10-23 14:44:46 GMT <david_____> back... sorry, my connection dropped

2017-10-23 15:05:37 GMT <qwebirc95850> Hi

2017-10-23 15:06:57 GMT <AFaust> david____: As angelborroy already asked, how are you clustering Alfresco Repository? Community Edition does not support clustering and having shared alf_data is not sufficient to guarantee correct behaviour....

2017-10-23 15:07:09 GMT <qwebirc95850> I have been using the hotswap agent to run alfresco and avoid some restarting

2017-10-23 15:07:21 GMT <qwebirc95850> I've added

2017-10-23 15:07:33 GMT <qwebirc95850> -XXaltjvm=dcevm -javaagent:library/hotswap-agent-1.0.jar

2017-10-23 15:07:58 GMT <qwebirc95850> the problem is that the server becomes very slow

2017-10-23 15:08:03 GMT <qwebirc95850> and often it crashes

2017-10-23 15:08:13 GMT <qwebirc95850> is it something that you have experienced as well ?

2017-10-23 15:16:40 GMT <AFaust> qwebirc95850: I am not using the RAD / hotswap feature out of principle. But can you elaborate on your crashes so that others who do use it may give some insight?

2017-10-23 15:17:47 GMT <AFaust> So far it sounds like potential memory management / garbage collection overhead issues, which would not really be surprising to me when using RAD...

2017-10-23 15:37:40 GMT <qwebirc95850> Thanks AFaust. Sorry for the late reply. It's the JVM that crashes. I haven't investigated what happens.

2017-10-23 15:37:51 GMT <qwebirc95850> and I cannot say much more than this.

2017-10-23 15:47:50 GMT <sujaypillai> @AFaust - Is the deadline for CFP extended?

2017-10-23 15:48:21 GMT <sujaypillai> I see it as Oct 31 on website

2017-10-23 15:49:28 GMT <AFaust> Yes

2017-10-23 15:49:56 GMT <AFaust> https://t.co/lZrIZ2dOPx

2017-10-23 15:49:58 GMT <alfbot> Title: Update on DevCon submissions and new deadline | Alfresco Community (at community.alfresco.com)

2017-10-23 16:02:33 GMT <hiten> Hi douglascrp

2017-10-23 16:02:41 GMT <hiten> Sorry for the late reply

2017-10-23 16:03:12 GMT <hiten> saw your response and my png was indeed getting corrupted and I was able to solve it as suggested by you

2017-10-23 16:03:53 GMT <hiten> but here the case is different. I am trying to override the users.js client side javascript file

2017-10-23 16:04:06 GMT <hiten> under components/console

2017-10-23 16:04:40 GMT <douglascrp> ah, so I think I sent the wrong link to you

2017-10-23 16:04:43 GMT <douglascrp> but still related

2017-10-23 16:05:06 GMT <douglascrp> Lanre (the darkstar user) also faced the problem you were describing, like, 2 weeks ago

2017-10-23 16:05:29 GMT <hiten> I am putting the file in the location specified in the doc under src/main/assembly/web/components/console/users.js

2017-10-23 16:05:34 GMT <hiten> ok

2017-10-23 16:05:36 GMT <douglascrp> he was trying to override some preview related files, and that was not happening when executing the project

2017-10-23 16:05:41 GMT <hiten> what is the solution

2017-10-23 16:05:49 GMT <douglascrp> hiten, yes, but it will not work

2017-10-23 16:07:17 GMT <douglascrp> he only was able to have the file replaces when he installed the amp in a server

2017-10-23 16:07:29 GMT <douglascrp> inside the SDK project, it was not working at all

2017-10-23 16:07:39 GMT <hiten> hmm

2017-10-23 16:08:05 GMT <douglascrp> and even more, SDK is not generating the minified file, which is the one used when you run the application

2017-10-23 16:08:29 GMT <douglascrp> in that case, even though the file got replaced, share won't deliver your custom version, as the minified version is still the OOTB one

2017-10-23 16:08:35 GMT <douglascrp> so, you have two problems there

2017-10-23 16:08:46 GMT <douglascrp> I believe there are issues opened for both cases

2017-10-23 16:08:50 GMT <douglascrp> hiten, ^

2017-10-23 16:09:11 GMT <hiten> ok

2017-10-23 16:09:26 GMT <hiten> thanks for the information

2017-10-23 16:09:46 GMT <douglascrp> try to contact Darkstar when he is online

2017-10-23 16:09:51 GMT <douglascrp> usually, in the morning

2017-10-23 16:10:03 GMT <douglascrp> I don't really know what he did in order to fix that

2017-10-23 16:10:41 GMT <hiten> Thanks for your help douglascrp

2017-10-23 16:10:59 GMT <douglascrp> hiten, https://github.com/Alfresco/alfresco-sdk/issues/423

2017-10-23 16:11:00 GMT <alfbot> Title: SDK3 No minification · Issue #423 · Alfresco/alfresco-sdk · GitHub (at github.com)

2017-10-23 16:12:07 GMT <douglascrp> hiten, here, this is the one I should have posted before https://github.com/Alfresco/alfresco-sdk/issues/255

2017-10-23 16:12:08 GMT <alfbot> Title: Overriding OOTB webscripts and client side javascripts · Issue #255 · Alfresco/alfresco-sdk · GitHub (at github.com)

2017-10-23 16:12:18 GMT <hiten> Though for now, till I am finished with my development, I am putting my overridden users.js under META-INF/components/console/users.js as it seems to be picking up from there

2017-10-23 16:12:21 GMT <douglascrp> see the last comment, that is the one I was talking before

2017-10-23 16:12:35 GMT <douglascrp> so, all 3 are related

2017-10-23 16:13:18 GMT <douglascrp> it would be nice if you added some comments there, in order to let Alfresco know those problems are still present

2017-10-23 16:13:54 GMT <hiten> sure

2017-10-23 16:14:37 GMT <douglascrp> wow, 2015

2017-10-23 16:26:30 GMT <hiten> Hey douglascrp, I have read both the issues and there are two solutions first one is to manually provide the *-min.js file or add the yui compressor plugin as was in SDK 2.2.0

2017-10-23 16:28:50 GMT <douglascrp> hiten, the second one is better, I think

2017-10-23 16:30:52 GMT <hiten> ok

2017-10-23 17:35:10 GMT <douglascrp> has anyone know anything about why Share does not show documents the user is editing when the lock is put by google docs?

2017-10-23 17:36:00 GMT <douglascrp> it is weird, as for users, documents being edit with microsoft office, google docs, or whatever, are "documents being edited"

2017-10-23 17:36:53 GMT <douglascrp> the same thing happens both inside dashlets (site activities) and in the treeview filter inside the document library

2017-10-23 17:37:48 GMT <douglascrp> do you know about any open issue for this? I am trying to find something, but I found nothing so far

End of Daily Log

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