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

2016-11-29 05:35:08 GMT *** IanW2 is now known as IanW1

2016-11-29 06:09:00 GMT <AmeliaKSES> hi all

2016-11-29 06:10:08 GMT <AmeliaKSES> is there anyone that can assist me with assignee and initiator permissions for a workflow, the assignee musnt be allowed to approve the workflow, just comment, only the initiator must be able to approve the workflow

2016-11-29 07:25:46 GMT <Loftux> AFaust: When using AOS 1.1.4 the edit in My Files started working for one of my clients. There is no download specifically for AOS 1.1.4, but you can get it as part if the installer from nightly builds for Community. Or I can pm you a link to download.

2016-11-29 08:18:48 GMT <yreg_> Morning

2016-11-29 08:22:36 GMT <mrks_js1> morning yreg_! hows it going??

2016-11-29 08:26:33 GMT <yreg_> Hey Markus!

2016-11-29 08:26:53 GMT <yreg_> Perfectly fine, what about you ?

2016-11-29 08:29:10 GMT <AFaust> Loftux: Thanks for offering but I prefer to use a version that has been properly deployed to Alfresco's artifact repository / Maven Central

2016-11-29 08:36:50 GMT <Loftux> AFaust: Well I added AOS to our ow artifact server. Alfresco has been very slow in adding those artifacts that doesn't come from open source builds to their artifact server.

2016-11-29 08:38:41 GMT <Hiten> Hi Guys, I am able to successfully call membership webscipt from share side webscript using remote call but I am not able to fetch the "role" from the json result. Can anyone please let me know how to fetch the result

2016-11-29 08:38:45 GMT <AFaust> Sometimes I really don't understand their build process.

2016-11-29 08:39:01 GMT <Hiten> var userMembershipResponse = remote.call("/api/sites/" + page.url.templateArgs.site + "/memberships/" + encodeURIComponent(user.name));

2016-11-29 08:39:18 GMT <Hiten> How to get role from userMembershipResponse ??

2016-11-29 08:39:42 GMT <AFaust> If I were slanglois all the engineering team would fear my whip and there'd be no corrupt / missing artifacts.

2016-11-29 08:40:36 GMT <angelborroy> Hiten, how about userMembershipResponse.role?

2016-11-29 08:41:10 GMT <AFaust> angelborroy: At that point the response has not been parsed to JSON yet.

2016-11-29 08:41:49 GMT <AFaust> or better yet: It has not been parsed from a JSON string to a native object structure

2016-11-29 08:42:39 GMT <angelborroy> var json = eval (“(“ + userMembershipResponse + “)”;

2016-11-29 08:42:40 GMT <angelborroy> json.role

2016-11-29 08:42:55 GMT <angelborroy> better? :)

2016-11-29 08:47:57 GMT <Hiten> Thanks, Angelborroy. I will try this

2016-11-29 08:48:16 GMT <angelborroy> Hiten Thanks to AFaust also ;-)

2016-11-29 08:50:17 GMT <Hiten> Yes, thanks to both of you :)

2016-11-29 08:50:41 GMT <Hiten> I was looking at documentation and found out this

2016-11-29 08:50:42 GMT <Hiten> http://docs.alfresco.com/5.1/references/api-ws-obj-jsonUtils.html

2016-11-29 08:50:44 GMT <alfbot> Title: jsonUtils | Alfresco Documentation (at docs.alfresco.com)

2016-11-29 08:51:19 GMT <Hiten> are any of these functions useful for my query ??

2016-11-29 08:52:55 GMT <angelborroy> sure

2016-11-29 08:52:57 GMT <AFaust> angelborroy: NEVER do a "eval"

2016-11-29 08:53:06 GMT <angelborroy> you can use jsonUtils.toJSONString(…)

2016-11-29 08:53:11 GMT <AFaust> angelborroy: Since Alfresco 5 you should always do JSON.parse(response)

2016-11-29 08:53:13 GMT <angelborroy> AFaust ups… why?

2016-11-29 08:53:23 GMT <AFaust> It is just insecure / bad practice

2016-11-29 08:53:41 GMT <AFaust> jsonUtils.toJSONString() / jsonUtils.toJSONObject() is also a piece of crap

2016-11-29 08:54:02 GMT <angelborroy> ok, Hiten, so JSON.parse(result.response) or so

2016-11-29 08:54:12 GMT <angelborroy> AFaust thanks for sharing

2016-11-29 08:54:28 GMT <AFaust> problem with jsonUtils: It does not create proper native JavaScript objects

2016-11-29 08:54:37 GMT <AFaust> It really is a pain in the butt

2016-11-29 08:55:12 GMT <AFaust> I think it also does not support the JSON structure to be an array at the top level

2016-11-29 08:55:43 GMT <AFaust> JSON.parse / JSON.stringify are standardized ECMAScript API

2016-11-29 09:01:26 GMT <AFaust> Created https://github.com/AFaust/ootbee-support-tools/issues/18 for an additional Admin Console tool to allow admin to monitor/manage the LibreOffice/OpenOffice process. Would appreciate any addition if someone would like to see additional functionality.

2016-11-29 09:01:27 GMT <alfbot> Title: Add tool for OpenOffice monitoring / management · Issue #18 · AFaust/ootbee-support-tools · GitHub (at github.com)

2016-11-29 09:03:42 GMT <angelborroy> AFaust it will support ooo.host ?

2016-11-29 09:04:09 GMT <AFaust> My reason behind this: Had soffice process cut-out at customer yesterday and looking at current community addons in that area I did not find one I felt comfortable using on its own. E.g. while the watchdog by Contentreich is certainly nice in terms of automation, I always want the admin to have insight / actionable items

2016-11-29 09:04:42 GMT <AFaust> angelborroy: In terms of connection / health checking: yes. In terms of start/stop it might be a bit difficult.

2016-11-29 09:05:07 GMT <Hiten> Thanks angelborroy & AFaust. This is very insightful and helped me learn something new today. JSON.parse(userMembershipResponse) worked for me.

2016-11-29 09:05:25 GMT <AFaust> But you could certainly reference any documentation / tool link you are using for external soffice process management, so it can be considered when designing the tool so that it allows some kind of extension

2016-11-29 09:05:54 GMT <angelborroy> AFaust really I’m just using “ooo.host” property

2016-11-29 09:06:47 GMT <AFaust> ...and simple service / shell scripts to handle the soffice process on the "other" host?

2016-11-29 09:07:08 GMT <angelborroy> yes, I’m using a standard watchdog

2016-11-29 09:07:29 GMT <angelborroy> as I (each) always use RedHat / CentOS 7 for those installations

2016-11-29 09:08:07 GMT <Hiten> I would like to know one more thing. I am trying to log a statement from share webscript using logger.log("Statement") but I am not able to see the statement. I have my client debug set to true in share-config-custom.xml

2016-11-29 09:08:26 GMT <Hiten> Do I need to do something more ??

2016-11-29 09:11:09 GMT <angelborroy> Hiten

2016-11-29 09:11:10 GMT <angelborroy> tomcat/webapps/share/WEB-INF/classes/log4j.properties

2016-11-29 09:11:16 GMT <angelborroy> #log4j.logger.org.alfresco.repo.jscript=debug

2016-11-29 09:11:19 GMT <angelborroy> it should work

2016-11-29 09:15:05 GMT <Hiten> angelborroy: I have this property set to debug in my log4j

2016-11-29 09:15:23 GMT <angelborroy> are you working on the repo or in the share part?

2016-11-29 09:15:25 GMT <Hiten> but I can't see any debug statement from my share webscript

2016-11-29 09:15:30 GMT <Hiten> share

2016-11-29 09:15:35 GMT <angelborroy> it should work

2016-11-29 09:15:51 GMT <angelborroy> log4j.logger.org.alfresco.repo.jscript=debug

2016-11-29 09:15:56 GMT <angelborroy> without #

2016-11-29 09:16:05 GMT <Hiten> yup without #

2016-11-29 09:16:21 GMT <Hiten> I can see repo side logs vut not share side

2016-11-29 09:16:26 GMT <Hiten> *but

2016-11-29 09:16:38 GMT <angelborroy> try log4j.logger.org.alfresco.repo.jscript.ScriptLogger=debug

2016-11-29 09:17:25 GMT <Hiten> I have these two properties

2016-11-29 09:17:25 GMT <Hiten> log4j.logger.org.alfresco.repo.jscript=debug log4j.logger.org.alfresco.repo.jscript.ScriptLogger=debug

2016-11-29 09:18:04 GMT <Hiten> but I can't see the share side logs

2016-11-29 09:18:43 GMT <angelborroy> Try choosing “Debug Logging” from Debug Menu

2016-11-29 10:49:01 GMT <mrks_js1> yregaieg: busy but okay! : )

2016-11-29 10:49:35 GMT <yregaieg> I can see you are busy :D from the delay

2016-11-29 10:51:45 GMT <mrks_js1> :D

2016-11-29 10:51:56 GMT <mrks_js1> running of for lunch now! ttyl

2016-11-29 10:52:00 GMT <mrks_js1> *f

2016-11-29 10:53:31 GMT <twen> hola

2016-11-29 12:49:18 GMT <mrks_js> can anybody recommend an alternative webdav client that is working on win7/10?

2016-11-29 12:57:45 GMT <bhagyas> AFa

2016-11-29 12:57:56 GMT <bhagyas> AxelFaust: Did you get the play with the latest React?

2016-11-29 13:13:33 GMT <AxelFaust> bhagyas: No - I did't "get" to or was otherwise confronted with it

2016-11-29 13:16:31 GMT <bhagyas> okay :)

2016-11-29 13:19:51 GMT <bhagyas> If you are able to spare a couple of minutes, give it a try - felt you might like some of the new features

2016-11-29 13:30:12 GMT <AxelFaust> It's unlikely that I'll have a couple of minutes to spare for that... My "passive agenda" or "backlog of things I'd like to look at" already is a few hundred items long.

2016-11-29 13:30:28 GMT <bhagyas> as you wish :)

2016-11-29 13:30:33 GMT <bhagyas> xD

2016-11-29 13:31:59 GMT <AxelFaust> ok - looking at release notes I can't find anything "significant enough" that has changed

2016-11-29 13:32:13 GMT <bhagyas> the es6 and related simplificaation

2016-11-29 13:32:37 GMT <bhagyas> yesterday, there was a large set of react ui components released by a design agency..was quite impressed

2016-11-29 13:33:26 GMT <AxelFaust> Typical hipster library: Going from 0.14 straight to 15.0

2016-11-29 13:33:42 GMT <bhagyas> I wouldn't call it hipster right now

2016-11-29 13:33:55 GMT <bhagyas> hipster would be vue.js

2016-11-29 13:34:27 GMT <bhagyas> AxelFaust: Have a look at the UI components here

2016-11-29 13:34:27 GMT <bhagyas> https://ant.design/docs/react/introduce

2016-11-29 13:34:28 GMT <AxelFaust> Ok - then typical "trying-to-be-cool-web" library or whatever

2016-11-29 13:34:29 GMT <alfbot> Title: Ant Design - One Design Language (at ant.design)

2016-11-29 13:34:45 GMT <bhagyas> AxelFaust: Can you really call it trying to be cool, when Facebook Web is built with react?

2016-11-29 13:34:59 GMT <bhagyas> also most of the backend applications at alibaba?

2016-11-29 13:35:20 GMT <bhagyas> We can take the chat elsewhere to just discuss if you wish btw

2016-11-29 13:36:08 GMT <AxelFaust> If you can find me a name that better fits the behaviour of unprofessionally jumping from a 0.x version to a xx.0 version

2016-11-29 13:36:23 GMT <bhagyas> I wouldn't judge a library based on their naming or versioning behavior

2016-11-29 13:36:27 GMT <bhagyas> but rather merit

2016-11-29 13:36:39 GMT <bhagyas> usage/adoption/contribution process

2016-11-29 13:36:43 GMT <AxelFaust> ok - so chalk that up as one dismerit

2016-11-29 13:36:57 GMT <bhagyas> yeah, I hope you're using Chrome 1.0

2016-11-29 13:36:57 GMT <bhagyas> :p

2016-11-29 13:37:02 GMT <bhagyas> and Firefox 4?

2016-11-29 13:37:03 GMT <bhagyas> ;p

2016-11-29 13:37:21 GMT <AxelFaust> Not using Chrome at all

2016-11-29 13:37:23 GMT <Loftux> If we are going to bash versioning naming scheme, lets talk about Alfresco…

2016-11-29 13:38:23 GMT <AxelFaust> And yes, I too dislike the ridiculous jump and scheme that Firefox copied from Chrome

2016-11-29 13:38:52 GMT <bhagyas> (Just checked, I'm using Firefox 50 and Chrome 54)

2016-11-29 13:39:10 GMT <AxelFaust> If it is not clear: I am a tech-head and have a strong dislike of marketing-driven versioning, especially if that serves to lull people into thinking something has been around / stable for a long time

2016-11-29 13:39:52 GMT <bhagyas> AxelFaust: When you have a large number of collaborators and better iterations, i think the versioning becomes a build number

2016-11-29 13:40:17 GMT <bhagyas> Most projects now iterate faster, because they have better contribution processes and unit tests

2016-11-29 13:40:39 GMT <Loftux> Lets call a release EA so now one dares to use it. Then on unknown criterias release GA that ends up being worse than EA.

2016-11-29 13:40:40 GMT <bhagyas> from what I saw, react is really thorough with their tests when someone contributes code

2016-11-29 13:40:53 GMT <bhagyas> so, basically nothing breaks if you stick into an older version

2016-11-29 13:41:12 GMT <bhagyas> also the IDE support was also good this time

2016-11-29 13:42:49 GMT <bhagyas> Don't want to evangelise react, but I had a positive experience and wanted to share :)

2016-11-29 13:45:04 GMT <bhagyas> we should always try to explore away from the bubble some of us might be in ;)

2016-11-29 13:45:29 GMT <AxelFaust> Sure...

2016-11-29 13:45:52 GMT <AxelFaust> I only mentioned that I find this kind of marketing stunt unprofessional from a technical perspective

2016-11-29 13:46:23 GMT <bhagyas> AxelFaust: I see it differently now, since I watch the react repo and how stuff gets done over there

2016-11-29 13:46:27 GMT <AxelFaust> And Alfresco at least still has its underlying technical version scheme, despite the mess that EA/GA produced

2016-11-29 13:48:18 GMT <bhagyas> 9,924 Forks and 54,912 Stars

2016-11-29 13:48:32 GMT <bhagyas> and 869 contributors

2016-11-29 13:48:33 GMT <AxelFaust> I largely ignore the EA/GA bundles anyway and pull straight from the artifact repository. My only major complaint is that the 5.1.g WARs ended up being inconsistent, but I chalk that about to systemic errors in build management instead of version scheme

2016-11-29 13:48:52 GMT <bhagyas> one in 12 forks have contributed back to main

2016-11-29 13:50:29 GMT <douglascrp> anyone playing with sdk3 here?

2016-11-29 13:50:45 GMT <AxelFaust> I usually ignore those superficial numbers and investigate myself...

2016-11-29 13:50:48 GMT <douglascrp> what's the recommended way to include a project's log4j.properties file in it?

2016-11-29 13:51:02 GMT <bhagyas> AxelFaust: yup, I only saw it now

2016-11-29 13:51:03 GMT <bhagyas> :D

2016-11-29 13:51:06 GMT <douglascrp> I mean, to have it inside the jar/amp after packaging?

2016-11-29 13:51:26 GMT <bhagyas> I had damn react is big now moment, when I saw the ant.design ui library components

2016-11-29 13:51:30 GMT <bhagyas> yesterday

2016-11-29 13:51:33 GMT <bhagyas> :D

2016-11-29 14:04:53 GMT <IanW1> douglascrp: there's something that should be in beta-6 https://github.com/Alfresco/alfresco-sdk/issues/418 but I'm not sure if/how much that will help

2016-11-29 14:04:54 GMT <alfbot> Title: SDK3 log4j properties for share · Issue #418 · Alfresco/alfresco-sdk · GitHub (at github.com)

2016-11-29 14:05:32 GMT <IanW1> I know beta-6 isn't released yet

2016-11-29 14:05:38 GMT <douglascrp> IanW1, tks

2016-11-29 14:05:44 GMT <douglascrp> how do you use the beta6?

2016-11-29 14:05:59 GMT <douglascrp> I couldn't find a way to update the version and have it working

2016-11-29 14:06:13 GMT <douglascrp> it says it couldn't find the artifact

2016-11-29 14:06:19 GMT <douglascrp> have I missed anything about that?

2016-11-29 14:06:27 GMT <douglascrp> IanW1, ^

2016-11-29 14:06:40 GMT <IanW1> beta-6 not out yet

2016-11-29 14:07:01 GMT <douglascrp> ah, right

2016-11-29 14:07:10 GMT <douglascrp> so I have to grab the source code and package it locally

2016-11-29 14:07:16 GMT <douglascrp> ok.. tks for the info

2016-11-29 14:07:19 GMT <AxelFaust> douglascrp: Question always is: Do you need/want test-level logging or actual module logging configuration?

2016-11-29 14:07:41 GMT <douglascrp> AxelFaust, module

2016-11-29 14:07:41 GMT <IanW1> you could probably work off the sdk-3.0 branch

2016-11-29 14:07:57 GMT <douglascrp> the test-level is there

2016-11-29 14:08:09 GMT <AxelFaust> So I thought.

2016-11-29 14:08:28 GMT <douglascrp> I'm testing the way it was before sdk3, putting the log4j.properties file inside the module/module_id folder

2016-11-29 14:08:32 GMT <douglascrp> I'm testing it right now

2016-11-29 14:08:48 GMT <IanW1> Doesn't work for me...

2016-11-29 14:09:06 GMT <douglascrp> :(

2016-11-29 14:09:21 GMT <AxelFaust> douglascrp: FYI - https://github.com/Acosix/alfresco-utility/ => "Suport for log4j.properties files to be provided by modules (similarily to Repository-tier) and overriden by administrators via a *-log4j.properties in the Tomcat configuration root folder (./shared/classes/alfresco/web-extension/)"

2016-11-29 14:09:22 GMT <alfbot> Title: GitHub - Acosix/alfresco-utility: Project to consolidate abstract utility features that may be reused across functional Alfresco modules (at github.com)

2016-11-29 14:09:28 GMT <douglascrp> IanW1, it worked for me

2016-11-29 14:09:51 GMT <douglascrp> I have just started my batch processor, and I can see all the logs printed ok

2016-11-29 14:09:55 GMT <IanW1> I find it annoying that I have to change the log4j.appender.File.File config to the absolute path whenever I deploy

2016-11-29 14:10:17 GMT <IanW1> share and platform behave differently for logging

2016-11-29 14:10:19 GMT <AmeliaKSES> hi there

2016-11-29 14:10:24 GMT <douglascrp> IanW1, I did nothing... the only line in the log4j.properties is my class's config

2016-11-29 14:10:25 GMT <AxelFaust> IanW1: You don't have to do that. Simply use the ${catalina.base}/logs/ as a container-relative prefix in a generic log4j.properties file

2016-11-29 14:10:44 GMT <douglascrp> IanW1, ah, share, I don't know... I'm talking about repository here

2016-11-29 14:10:54 GMT <IanW1> AxelFaust: thanks - will try that

2016-11-29 14:11:09 GMT <AxelFaust> Obviously that one is Tomcat-specific

2016-11-29 14:11:47 GMT <AxelFaust> Is likely going to mess with an Jetty-based shenanigans of the SDK

2016-11-29 14:12:22 GMT <AmeliaKSES> hope there will be someone that can give me some advise, we have a workflow that works 100%, but we want to set it up that the initiator can not approve the workflow and the assignee can not edit/upload a new version of the documents. Assignee must only give feedback or changes via comment to the initiator. then when the initiator fixed the documen

2016-11-29 14:12:23 GMT <AmeliaKSES> t then the assignee allone can approve the workflow

2016-11-29 14:12:30 GMT <AmeliaKSES> any thoughts?

2016-11-29 14:13:22 GMT <douglascrp> IanW1, check it out http://pastebin.com/nN6XVLFN

2016-11-29 14:13:23 GMT <alfbot> Title: log4j output - Pastebin.com (at pastebin.com)

2016-11-29 14:14:03 GMT <douglascrp> AxelFaust, ah, tks for the link for share logs... I'm going to read it

2016-11-29 14:15:42 GMT <AxelFaust> douglascrp: Yeah - I realized I have misunderstood your current issue after I sent that. I couldn't think of any issue with default Repository-tier module logging config which had always worked with older SDK versions, so I just assumed it was about Share...

2016-11-29 14:15:58 GMT <AxelFaust> Also the link to the SDK issue was about Share...

2016-11-29 14:18:46 GMT <douglascrp> AxelFaust, yes... but no problem

2016-11-29 14:35:52 GMT <DarkStar1> hey douglascrp

2016-11-29 14:42:08 GMT <douglascrp> DarkStar1, hey dude

2016-11-29 15:00:19 GMT <AxelFaust> omg - why the heck is activity stream configuration only possible with include-rules? I just want to exclude a single event type and to achieve that I have to list all others?

2016-11-29 15:03:36 GMT * AxelFaust makes a mental note to develop a "real" filter for activities that prevents them from being written to the DB at all...

2016-11-29 15:03:57 GMT <bhagyas> AxelFaust: are you okay?

2016-11-29 15:04:09 GMT <bhagyas> :D

2016-11-29 15:08:57 GMT <AxelFaust> Just annoyed a bit that to remove a single type of activity from the system there are at least 3 files that need to be changed. And all of this is - as always - not suitable for any modules to contribute to / extend without messing everything up

2016-11-29 15:09:41 GMT <AxelFaust> And all the configuration is just so that those activities do not show up - but they are still recorded and processed in the background.

2016-11-29 15:10:18 GMT <AxelFaust> So from a data privacy rights / labor laws perspective still very much an issue

2016-11-29 15:11:51 GMT <AxelFaust> German labor laws e.g. prohibit an employer to collect data in a manner that could be used to create an extensive profile of the work an employee performs unless control / logging is otherwise warranted by law/regulation

2016-11-29 15:17:19 GMT <bhagyas> can you log, but not display?

2016-11-29 15:17:20 GMT <bhagyas> :P

2016-11-29 15:18:11 GMT <AxelFaust> Ah - looks like one of my fellow nationals already logged this and it turns out in Alfresco 5.1 there is an (undocumented) new property to filter.

2016-11-29 15:18:12 GMT <AxelFaust> https://issues.alfresco.com/jira/browse/ACE-3980

2016-11-29 15:25:39 GMT <qwebirc88265> I set a document undeletable, but now I have checked the document out and can neither cancel the checkout nor upload a new version

2016-11-29 15:27:02 GMT <qwebirc88265> I guess it's because the working copy is also undeletable

2016-11-29 15:30:15 GMT <iblanco> qwebirc88265: How did you set it "undeletable" ? With permissions?

2016-11-29 15:31:17 GMT <qwebirc88265> with P:sys:undeletable

2016-11-29 15:31:47 GMT <qwebirc88265> aspect

2016-11-29 15:35:53 GMT <iblanco> And can't you just remove the aspect to the working copy and to the original node?

2016-11-29 15:40:14 GMT <qwebirc88265> no, I can't edit aspects in share and cmis-workbench tells me to use checkin service

2016-11-29 15:42:02 GMT <iblanco> aren't you admin in the repo?

2016-11-29 15:43:25 GMT <qwebirc88265> I am

2016-11-29 15:43:43 GMT <iblanco> Did you try writing a little javascript script to remove the aspect ?

2016-11-29 15:44:26 GMT <qwebirc88265> I tried

2016-11-29 15:45:14 GMT <qwebirc88265> but seems like it didn't work

2016-11-29 15:47:27 GMT <qwebirc88265> I don't have the js-console deployed, so I think I can trigger scripts only with rules?

2016-11-29 15:48:23 GMT <iblanco> Yes, in older versioons I think that there was some kind of URL to fire scripts but not in recent versions.

2016-11-29 15:49:03 GMT <iblanco> But the script did throw an error or something?

2016-11-29 15:49:57 GMT <qwebirc88265> I'll check

2016-11-29 15:50:52 GMT <iblanco> Check the log. Don't know much about sys:undeletable but in normal circunstances and admin should be able to remove aspects from a node by javascript without any issue.

2016-11-29 15:51:39 GMT <yreg_> iblanco, unless there is some behavior bound to the node preventing any modification

2016-11-29 15:51:50 GMT <angelborroy> associations are still non query-able from CMIS Query, right?

2016-11-29 15:52:47 GMT <iblanco> yreg_: Yes I know, that is why i said "don't know much about sys:undeletable", it might have some kind of restriction but in that case probably the log will show a clear exception stating that the operation is not allowed or something like that.

2016-11-29 15:58:26 GMT <qwebirc88265> oh, just works, the policy disabling stuff I found on google was misguided

2016-11-29 16:02:14 GMT <iblanco> great

2016-11-29 16:02:15 GMT <angelborroy> AFaust, sorry, I’m sure you know the answer: Alfresco native associations are not queryable from CMIS, right?

2016-11-29 16:04:08 GMT <angelborroy> AFaust, ok, I see, the answer is NO (thanks anyway)

2016-11-29 16:13:18 GMT <yreg_> angelborroy, he is actually using a different nick, try using AxelFaust instead of AFaust

2016-11-29 16:13:46 GMT <angelborroy> yreg_ “underscore” thanks for noticing that

2016-11-29 16:13:56 GMT <angelborroy> however I’ve seen that is not queriable

2016-11-29 16:14:29 GMT <angelborroy> I’m trying to see how I can manage that custom associations...

2016-11-29 16:14:46 GMT *** yreg_ is now known as yreg

2016-11-29 16:15:17 GMT *** AxelFaust is now known as AFaust

2016-11-29 16:16:03 GMT * AFaust is online via mobile hotspot, so is re-connecting a couple of times and the original nick isn't always properly reclaimed

2016-11-29 16:16:05 GMT <yreg> angelborroy, have you checked this : https://community.alfresco.com/thread/212983-cmis-association-query ?

2016-11-29 16:16:07 GMT <alfbot> Title: CMIS Association Query | Alfresco Community (at community.alfresco.com)

2016-11-29 16:16:49 GMT <angelborroy> yreg yes, but I’ve seen in the source code that associations are marked as non-queriable

2016-11-29 16:16:55 GMT <AFaust> Associations aren't queryable - period

2016-11-29 16:17:06 GMT <angelborroy> hehe

2016-11-29 16:17:15 GMT <yreg> AFaust, you can easily ghost your nick and reclaim it, you can even configure some IRC clients to do that automatically on connect

2016-11-29 16:17:45 GMT <angelborroy> So I have a problem to solve now (sic!)

2016-11-29 16:19:07 GMT <yreg> OK, sorry, though you were looking for a way to do joins, did not guess that you actually needed the actual associations

2016-11-29 16:22:52 GMT <angelborroy> yreg if it was a simple association, I could replicate nodeRef to make a JOIN

2016-11-29 16:23:34 GMT <angelborroy> yreg but I’m dealing with multiple associations, so I think I have no chance to make a QUERY

2016-11-29 16:24:14 GMT <AFaust> yreg: I have registered both nicks and set AFaust as the primary

2016-11-29 16:24:37 GMT <AFaust> Haven't checked if there is an additional config somewhere to periodically check if it can be switched back to primary again

2016-11-29 16:25:34 GMT <AFaust> angelborroy: Typically, if I need to be able to query certain kinds of associations, I "shadow" those associations with a d:noderef property for query-purposes (kept in synch via a policy)

2016-11-29 16:25:38 GMT <angelborroy> AFaust what about creating a hidden property to store nodeRefs related as redundancy?

2016-11-29 16:25:41 GMT <angelborroy> hehe

2016-11-29 16:25:48 GMT <angelborroy> I’m starting to learn Alfresco

2016-11-29 16:26:11 GMT <angelborroy> Or I’m starting to know how you think :)

2016-11-29 16:27:19 GMT <AFaust> Though in practice I have come avoid modelling associations more and more. They are a nightmare performance-wise because there is literally no caching. Every simple access to associations is going straight to the DB and those simple access queries scale veeeery badly

2016-11-29 16:27:56 GMT <angelborroy> I know, but in this case it was required to store multiple properties associated to a node multiple times

2016-11-29 16:28:29 GMT <angelborroy> So I’m creating nodes with no content and making associations to main document/folder to deal with this

2016-11-29 16:30:24 GMT <douglascrp> angelborroy, wow :D

2016-11-29 16:30:37 GMT <yreg> ~flushlog

2016-11-29 16:30:37 GMT <alfbot> yreg: Woooosh, your log has been flushed...

2016-11-29 16:30:43 GMT <angelborroy> so ugly, but I don’t know any other way to do that

2016-11-29 16:30:50 GMT <angelborroy> I’ll share this (maybe next week)

2016-11-29 16:30:59 GMT <angelborroy> Just to see how are you feeling about :)

2016-11-29 16:31:05 GMT <douglascrp> I have a similar requirement, but in my case, the main object is a folder, so I have a custom type that I use as children of the folder

2016-11-29 16:31:51 GMT <angelborroy> douglascrp that is a nice idea, but I’m having also documents

2016-11-29 16:33:06 GMT <douglascrp> angelborroy, yes, I got it

2016-11-29 16:33:10 GMT <douglascrp> different requirement

2016-11-29 16:33:28 GMT <douglascrp> requires different "creativity"

2016-11-29 16:34:25 GMT <angelborroy> sometimes I’d wish not to be so “creative”

2016-11-29 16:34:29 GMT <AFaust> angelborroy: For that use case you could technically use a custom property datatype that represents a complex structural type. Unfortunately, nothing has changed with regards to custom datatype support since one of my customer PoCs back with Alfresco 3.4

2016-11-29 16:35:00 GMT <angelborroy> AFaust I guess it was not a good experience, right?

2016-11-29 16:35:57 GMT <AFaust> It depends: Are you talking about "out-of-the-box" or "with small, sensible improvements done by AFaust"?

2016-11-29 16:36:05 GMT <angelborroy> hehe

2016-11-29 16:36:14 GMT <oussama> i'm trying to exclude artifact bcprov-1.45 from alfresco repo extension archetype buildpath without sucess any help?

2016-11-29 16:37:08 GMT <angelborroy> oussame: why are you doing such a thing?

2016-11-29 16:37:39 GMT <AFaust> angelborroy: As most of the time, a contribution had little chance of being picked up and was closed after 5 years (https://issues.alfresco.com/jira/browse/ALF-10838)

2016-11-29 16:38:11 GMT <oussama> i'm using another version of bcprov in another dependency which is making a version conflict

2016-11-29 16:38:54 GMT <AFaust> Unfortunately the SOLR integrations are even less extensible then the old Lucene subsystem was, so it will be even harder now to implement proper query support for custom datatypes

2016-11-29 16:38:59 GMT <angelborroy> oussama so you want to override default bcprov from Alfresco WAR with your own?

2016-11-29 16:39:18 GMT <oussama> yes i'm using another version

2016-11-29 16:39:30 GMT <oussama> but the other project is calling alfresco's bcprov

2016-11-29 16:39:40 GMT <angelborroy> AFaust I’ll study this alternative, but duplicating noderef does not seems so bad

2016-11-29 16:39:51 GMT <oussama> when i deleted the jar from under the deployed alfresco it worked

2016-11-29 16:40:09 GMT <angelborroy> oussama are you using Alfresco SDK?

2016-11-29 16:40:11 GMT <AFaust> It definitely is the option with the least amount of hassle compared to an unsupported modification to core...

2016-11-29 16:40:24 GMT <oussama> yes

2016-11-29 16:40:40 GMT <oussama> i tried exclusion from pom.xml but didn't work :/

2016-11-29 16:40:46 GMT <oussama> he still downloads the jars

2016-11-29 16:41:18 GMT <angelborroy> oussama I think you have nothing to do with your pom.xml

2016-11-29 16:41:42 GMT <angelborroy> oussama you have to remove the artifact from your alfresco.war

2016-11-29 16:41:45 GMT <oussama> i thought i'd be able to exclude it from there

2016-11-29 16:41:55 GMT <oussama> i thought i'd be able to exclude it from there

2016-11-29 16:42:02 GMT <angelborroy> oussama BTW it’s not a good idea to override Alfresco default JARs…

2016-11-29 16:42:11 GMT <oussama> since it's a dependency of tika-parsers which is a dependency of repository

2016-11-29 16:42:17 GMT <angelborroy> wow

2016-11-29 16:42:26 GMT <angelborroy> and why are you using another version?

2016-11-29 16:42:37 GMT <angelborroy> At least that new version is greater, right?

2016-11-29 16:42:43 GMT <AFaust> oussama: Your assumption would be correct if you were building the WAR from scratch, but you are building it using a pre-built WAR which already includes all the JARs

2016-11-29 16:42:44 GMT <oussama> there's no way around it as i see it

2016-11-29 16:43:24 GMT <oussama> angelborroy: yes it is

2016-11-29 16:43:25 GMT <AFaust> oussama: Technically you can use <excludes> configuration in the <overlay> for the original WAR to remove/suppress original JARs

2016-11-29 16:44:23 GMT <AFaust> oussama: But as angelborroy pointed out, it is generally not recommended to mess with the JARs unless you are absolutely sure what you are doing and have proper verification/test procedures in place

2016-11-29 16:48:05 GMT <yreg> oussama, I 've gone down that road you know ?

2016-11-29 16:50:20 GMT <yreg_> the solution I came up with was the following : manually remove the jar from an OOTB alfresco.war and then manually install the new war to local maven repo / nexus repository under a different groupId

2016-11-29 16:51:23 GMT <yreg_> once you've done that, you can override the property for alfresco groupId in your project to use the custom alfresco war instead of the OOTB one

2016-11-29 16:51:27 GMT *** yreg_ is now known as yreg

2016-11-29 16:52:32 GMT <yreg> AFaust, which IRC client are you using ?

2016-11-29 16:52:44 GMT <AFaust> HexChat

2016-11-29 16:53:03 GMT <yreg> I just found out that in HexChat I can define commands to be run at server connect

2016-11-29 16:53:11 GMT <yreg> from the network list, edit server

2016-11-29 16:55:07 GMT <AFaust> Hmm - a clean exit and reconnect is maybe not the best test

2016-11-29 16:55:31 GMT <yreg> if you add "GHOST AFaust" and then "NICK AFaust" you should be able to automatically ghost your previous session and switch to your default nick

2016-11-29 16:57:10 GMT <AFaust> We'll see. It is set up now and I'll be at the customer again tomorrow

2016-11-29 17:21:33 GMT <AFaust> yreg: Ok - connect commands are being run, but NickServ is slapping me on the back of my head with "Ewh - you may not ghost yourself - buhuhu"

2016-11-29 17:21:44 GMT <AFaust> (or something like that)

2016-11-29 19:12:35 GMT <qwebirc81642> hi

2016-11-29 19:12:40 GMT <qwebirc81642> anyone can help ?

2016-11-29 19:12:45 GMT <qwebirc81642> I restart the sever

2016-11-29 19:12:55 GMT <qwebirc81642> an then alfresco doesn't authenticate

2016-11-29 19:12:57 GMT <qwebirc81642> it gives

2016-11-29 19:12:58 GMT <qwebirc81642> Your authentication details have not been recognized or Alfresco may not be available at this time

2016-11-29 19:26:09 GMT <qwebirc81642> I restart the sever <qwebirc81642> an then alfresco doesn't authenticate <qwebirc81642> it gives <qwebirc81642> Your authentication details have not been recognized or Alfresco may not be available at this time

2016-11-29 19:56:19 GMT <douglascrp> ~later tell Loftux it seems the oracle java installer is back

2016-11-29 19:56:19 GMT <alfbot> douglascrp: The operation succeeded.

2016-11-29 20:19:34 GMT <digcat> hey douglascrp are you meaning in latest EA installer ?

2016-11-29 20:19:58 GMT <digcat> https://community.alfresco.com/docs/DOC-6467-alfresco-community-edition-201611-ea-release-notes

2016-11-29 20:20:00 GMT <alfbot> Title: Alfresco Community Edition 201611 EA Release Notes | Alfresco Community (at community.alfresco.com)

2016-11-29 20:41:52 GMT <digcat> ~later tell douglascrp hope all well your end, just a wondered what your comment about oracles java installer relates too cheers

2016-11-29 20:41:52 GMT <alfbot> digcat: The operation succeeded.

2016-11-29 23:07:58 GMT <douglascrp> ~later tell digcat no, it's the installer used by ubuntu, with the ppa repository.... oracled had blocked the download some days ago, and now it's working again

2016-11-29 23:07:58 GMT <alfbot> douglascrp: The operation succeeded.

2016-11-29 23:07:59 GMT <alfbot> douglascrp: Sent 2 hours and 26 minutes ago: <digcat> hope all well your end, just a wondered what your comment about oracles java installer relates too cheers

2016-11-29 23:08:10 GMT <douglascrp> ~later tell it wasn't possible to install it using apt-get

2016-11-29 23:08:10 GMT <alfbot> douglascrp: The operation succeeded.

End of Daily Log

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