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

2019-06-18 03:48:21 GMT <alfresco-discord> <ucing> hallo

2019-06-18 03:48:24 GMT <alfresco-discord> <ucing> how can i reindex manually with last modified parameter in solr query admin?

2019-06-18 09:20:27 GMT <alfresco-discord> <Hiten> Hi Guys

2019-06-18 09:21:46 GMT <alfresco-discord> <Hiten> I am trying to search a document through a field backed by selectmany.ftl in adv search but I am not able to

2019-06-18 09:24:15 GMT <alfresco-discord> <Hiten> This is what I see in the repo logs

2019-06-18 09:24:59 GMT <alfresco-discord> <Hiten> 2019-06-18 14:39:35,193 DEBUG repo.jscript.ScriptLogger Query: TYPE:"cah:testDocument" AND (((cah:property\4:"Title") undefined (cah:property\4:"Title2"))) Sortby:

2019-06-18 09:25:53 GMT <alfresco-discord> <Hiten> when I search via two values

2019-06-18 09:26:10 GMT <alfresco-discord> <Hiten> but when I search via one props I am able to search

2019-06-18 09:26:31 GMT <alfresco-discord> <Hiten> 2019-06-18 14:40:56,947 DEBUG repo.jscript.ScriptLogger Query: TYPE:"ch:testDocument" AND (((ch:property\4:"Title2"))) Sortby:

2019-06-18 09:28:06 GMT <alfresco-discord> <Hiten> why I am getting undefined instead of AND

2019-06-18 09:29:24 GMT <alfresco-discord> <Hiten> when I am searching with two values

2019-06-18 09:42:06 GMT <alfresco-discord> <plus-> question: I have a custom type with parent type cm:objet (which has cm:name <index enabled="true">). I want to keep the name property in my custom type but not index it. I looked at <overrides> but it seems you can't override <index> (You can only override the default value, mandatory parameter, and constraints definitions for a property.)

2019-06-18 09:42:34 GMT <alfresco-discord> <plus-> is there a workaround?

2019-06-18 11:04:03 GMT <Tichodroma> Am I blind? The value of nodeRef in /alfresco/service/foo?nodeRef=... can be retrieved using url.args.nodeRef in the JS controller. Correct?

2019-06-18 11:07:52 GMT <alfresco-discord> <Hiten> shouldn't it be simple args["nodeRef"]

2019-06-18 11:08:21 GMT <Tichodroma> let me try

2019-06-18 11:08:57 GMT <alfresco-discord> <Hiten> BTW I found out the issue that was causing undefined to be send in the search related to two values in the field backed by selectmany ftl

2019-06-18 11:09:21 GMT <alfresco-discord> <Hiten> I was not passing <control-param name="mode">AND</control-param> in the ftl

2019-06-18 11:10:44 GMT <Tichodroma> works, ty

2019-06-18 11:11:07 GMT <Tichodroma> that's a *little* bit confusing given that url.args is the complete query

2019-06-18 12:05:34 GMT <angelborroy> AFaust let me know what do you think about this

2019-06-18 12:05:47 GMT <angelborroy> https://github.com/aborroy/alfresco-docker-installer

2019-06-18 12:05:48 GMT <alfbot> Title:GitHub - aborroy/alfresco-docker-installer: Generator to build Docker Compose templates to deploy Alfresco Community (at github.com)

2019-06-18 12:05:55 GMT <angelborroy> Just a starting point

2019-06-18 12:06:04 GMT <angelborroy> Oriented to help newbies to install Alfresco

2019-06-18 12:07:21 GMT <angelborroy> If you like it, we can include more configurations / addons

2019-06-18 12:07:29 GMT <alfresco-discord> <yreg> angelborroy I love it

2019-06-18 12:07:31 GMT <angelborroy> And we can even add best practices

2019-06-18 12:07:39 GMT <alfresco-discord> <yreg> I just found the name to be long

2019-06-18 12:07:49 GMT <angelborroy> yo alfresco-docker-installer

2019-06-18 12:07:54 GMT <angelborroy> It’s descriptive :)

2019-06-18 12:08:21 GMT <alfresco-discord> <yreg> but I can live with that

2019-06-18 12:08:34 GMT <alfresco-discord> <yreg> yeah, I was talking about npm install --global generator-alfresco-docker-installerthough

2019-06-18 12:08:44 GMT <angelborroy> We can move it to OOTB if you like it

2019-06-18 12:09:39 GMT <angelborroy> wow, AFaust escaped running from this :D

2019-06-18 12:21:23 GMT <alfresco-discord> <dgradecak> nice

2019-06-18 12:21:46 GMT <alfresco-discord> <dgradecak> I did not check, but can LDAP be skipped?

2019-06-18 12:21:55 GMT <angelborroy> it’s optional

2019-06-18 12:22:01 GMT <angelborroy> also smtp

2019-06-18 12:22:13 GMT <alfresco-discord> <dgradecak> --ldap: true or false

2019-06-18 12:22:17 GMT <alfresco-discord> <dgradecak> aha I see

2019-06-18 12:24:41 GMT <angelborroy> ~later tell AFaust your critical point of view will be useful

2019-06-18 12:24:41 GMT <alfbot> angelborroy: The operation succeeded.

2019-06-18 12:26:06 GMT <alfresco-discord> <dgradecak> libreoffice etc? are in the alfresco image?

2019-06-18 12:26:15 GMT <angelborroy> yes

2019-06-18 12:26:30 GMT <angelborroy> it’s Community, you know

2019-06-18 12:26:37 GMT <angelborroy> It’s a “macro-service”

2019-06-18 12:27:29 GMT <alfresco-discord> <dgradecak> no doubt

2019-06-18 14:37:33 GMT <alfbot> AFaust: Sent 2 hours and 12 minutes ago: <angelborroy> your critical point of view will be useful

2019-06-18 14:49:30 GMT <AFaust> angelborroy: It's a good thing that yreg and dgradecak already commented on it. I can take a look at the source later on, but will not be able to run it in any way due to my policy on the required software...

2019-06-18 14:49:52 GMT <angelborroy> You know, this project is not for you

2019-06-18 14:49:57 GMT <angelborroy> It’s for the newbies

2019-06-18 14:50:28 GMT <angelborroy> I’m trying to promote this internally as an “Alfresco Installer” replacement for Community

2019-06-18 14:50:38 GMT <angelborroy> But probably, they will not be interested

2019-06-18 14:50:59 GMT <angelborroy> So it should be good to add the project as an additional OOTB tool

2019-06-18 14:51:03 GMT <Tichodroma> But currently there is nothing like the installer, or is there?

2019-06-18 14:51:09 GMT <angelborroy> Nope

2019-06-18 14:51:25 GMT <angelborroy> And there is no replacement in the roadmap

2019-06-18 14:51:28 GMT <Tichodroma> Why should Alfresco be opposed to something like this project?

2019-06-18 14:51:56 GMT <angelborroy> Because they are not supporting “officially” Docker Compose

2019-06-18 14:52:15 GMT <Tichodroma> Hm, what is the official way to get Community up and running?

2019-06-18 14:52:33 GMT <angelborroy> Components / Kubernetes

2019-06-18 14:52:39 GMT <Tichodroma> overkill?

2019-06-18 14:52:47 GMT <angelborroy> agree

2019-06-18 14:53:23 GMT <AFaust> And not documented at all...

2019-06-18 14:53:26 GMT <Tichodroma> Well, I like your idea and will take a look at it as soon as I have time.

2019-06-18 14:53:58 GMT <AFaust> I mean, sure, there are some helm charts, but they barely work out-of-the-box. No documentation / guides on essential considerations when Alfresco would be run on Kubernetes

2019-06-18 14:55:25 GMT <angelborroy> -= THIS MESSAGE NOT LOGGED =-

2019-06-18 15:06:12 GMT <alfresco-discord> <yreg> That was logged over here 😛

2019-06-18 15:21:08 GMT <alfresco-discord> <plus-> is the alfresco-shared-file-store closed source?

2019-06-18 15:28:57 GMT <angelborroy> it’s open source, but it’s only for enterprise

2019-06-18 15:38:44 GMT <alfresco-discord> <plus-> I can't find the repo anywhere

2019-06-18 15:39:00 GMT <angelborroy> If you are a customer, then you can ask for the code

2019-06-18 15:39:06 GMT <angelborroy> or a partner

2019-06-18 15:39:34 GMT <alfresco-discord> <plus-> oh ok I'll ask then

2019-06-18 17:34:13 GMT <alfresco-discord> <kanat> Hello

2019-06-18 17:34:49 GMT <alfresco-discord> <kanat> Failed to execute script 'Javascript Console Script': null

2019-06-18 17:35:14 GMT <alfresco-discord> <kanat> who met such an error?

2019-06-18 18:37:45 GMT <alfresco-discord> <dgradecak> probably anyone who tried to do something;) Afaust has an issue with JS console on 6.x I think, not sure if it is related, but we would need more info to understand your issue

2019-06-18 19:06:00 GMT <alfresco-discord> <kanat> Oh, if I didn't see it myself

2019-06-18 19:06:42 GMT <alfresco-discord> <kanat> var getterProizvId = function(node) { Packages.org.alfresco.repo.security.authentication.AuthenticationUtil.setRunAsUserSystem(); java.lang.System.out.println(node); //try{ //print(node); var members = node.sourceAssocs['alvexoc:member']; if(members !== null){ return members[0].properties['alvexoc:proizvStrId']; }

2019-06-18 19:06:42 GMT <alfresco-discord> return 0; //}catch (e) { // TODO: handle exception //print("asd"); //return 0; //} };

2019-06-18 19:08:17 GMT <alfresco-discord> <kanat> my error

2019-06-18 19:08:18 GMT <alfresco-discord> <kanat> https://cdn.discordapp.com/attachments/451644531323174914/590618774793748520/unknown.png

2019-06-18 19:09:37 GMT <alfresco-discord> <kanat> but I add row "print(node);", it is worked

2019-06-18 19:09:37 GMT <alfresco-discord> <kanat> https://cdn.discordapp.com/attachments/451644531323174914/590619132895166490/unknown.png

2019-06-18 19:09:39 GMT <alfresco-discord> <kanat> what could be the problem

2019-06-18 19:09:51 GMT <alfresco-discord> <kanat> I use alfresco 5

2019-06-18 22:11:51 GMT <AFaust> kanat: That looks like an older version of JS Console judging from the screenshots

2019-06-18 22:12:56 GMT <AFaust> I am missing one or two additional tabs in the bottom of the screen.

2019-06-18 22:13:40 GMT <AFaust> Also, check the server logs for any more details as the displayed details are too abstract / non-specific

2019-06-18 22:16:33 GMT *** mmccarthy1 is now known as mmccarthy

End of Daily Log

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