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-03-28 07:47:01 GMT <yreg> Good morning good people !

2017-03-28 09:43:53 GMT <Sandy_> Hai Everyone, I need to display document uploaded user ...? is this correct in alfresco using javascript

2017-03-28 09:44:23 GMT <Sandy_> document.properties.user

2017-03-28 09:44:39 GMT <angelborroy> username

2017-03-28 09:44:43 GMT <Sandy_> can anyone help me please

2017-03-28 09:44:57 GMT <angelborroy> document.properties[“username”]

2017-03-28 09:45:03 GMT <angelborroy> document.properties.username

2017-03-28 09:45:12 GMT <Sandy_> document.properties.username like this

2017-03-28 09:45:18 GMT <angelborroy> wait a second

2017-03-28 09:45:35 GMT <angelborroy> nope, you are using “document” as uploaded document, right?

2017-03-28 09:45:50 GMT <Sandy_> yes

2017-03-28 09:46:02 GMT <angelborroy> then document.properties.creator

2017-03-28 09:46:29 GMT <Sandy_> Thank you angelborroy :)-

2017-03-28 10:13:47 GMT <angelborroy> Finally, I’ve lost my battle, AFaust will double my community points by the end of today :)

2017-03-28 10:14:03 GMT <AFaust> Will I?

2017-03-28 10:14:04 GMT *** DragiBus_ is now known as DragiBus

2017-03-28 10:14:07 GMT <angelborroy> sure

2017-03-28 10:14:18 GMT <angelborroy> 12028 vs 6019

2017-03-28 10:15:02 GMT <yreg> AFaust, I think he means ".. will HAVE double .."

2017-03-28 10:15:18 GMT <yreg> or ".. will REACH double .."

2017-03-28 10:15:23 GMT <angelborroy> murfs

2017-03-28 10:15:39 GMT <AFaust> I understood that to mean "will have double" - not that I will actually collect double the points.

2017-03-28 10:15:39 GMT <angelborroy> just using a direct Spanish approach to express myself :D

2017-03-28 10:17:02 GMT <yreg> I did never try to get into the rep race

2017-03-28 10:17:21 GMT <AFaust> I find the level progression a bit too steep. Finally reached level 8 yesterday, and in order to reach level 9 I have to basically collect about 3/4 of the points I currently have.

2017-03-28 10:17:22 GMT <yreg> and I am trying to contribute on IRC/SO

2017-03-28 10:18:13 GMT <AFaust> I am not doing it as part of a "rep race". Otherwise I might be inclined to also stalk SO which has an actual "reputation" metric

2017-03-28 10:18:41 GMT <AFaust> Unfortunately, lately the quality of questions on the community platform has reached the general quality of the SO community

2017-03-28 10:19:23 GMT <yreg> You make it sound as if SO questions are that bbad <grin>

2017-03-28 10:31:48 GMT <AFaust> angelborroy: When the big spam wave hit last Thursday I noticed you can easily boost your points by simply being the first to manage the moderation queue. Apparently each rejected message gives you 3 or 4 points (if my math is correct). But I don't know for how long since I did inform Kristen about that...

2017-03-28 10:32:52 GMT <angelborroy> I didn’t notice that operation also gives you points

2017-03-28 10:33:09 GMT <angelborroy> In fact, I’m not aware of that rewarding policy

2017-03-28 10:33:42 GMT <AFaust> I noticed because I suddenly had about +200 daily points and all I did that morning was clear the queue...

2017-03-28 10:33:47 GMT <angelborroy> But it’s funny to see how the first user has double of points than the forth

2017-03-28 10:34:50 GMT <AFaust> Oh - I think I just reached "double your points" after someone marked an answer as correct...

2017-03-28 10:35:13 GMT <angelborroy> damn it!

2017-03-28 10:35:45 GMT <angelborroy> I can develop myself a bot to create and moderate spam just to recover part of the difference :D

2017-03-28 10:36:33 GMT <angelborroy> AFaust BTW a collegue asked me this week about including a screen to ootbe-support-tools including information about repo modules

2017-03-28 10:36:46 GMT <angelborroy> AFaust have you considered this feature yet?

2017-03-28 10:36:58 GMT <angelborroy> AFaust I was thinking bout contributing that in the Hack-a-athon

2017-03-28 10:39:37 GMT <AFaust> angelborroy: Considered since it is part of EE Admin Console, but not yet filed as ticket

2017-03-28 10:39:54 GMT <angelborroy> ok, I’ll take this one if you don’t mind

2017-03-28 10:40:30 GMT <angelborroy> I have to understand your development policy previously, but I think it’s doable in a Hack-a-ton day

2017-03-28 10:49:38 GMT <yreg> angelborroy, that feature is part of Care4Alf

2017-03-28 10:49:52 GMT <yreg> to be presented during BeeCon this year

2017-03-28 10:50:37 GMT <yreg> angelborroy, check https://bitbucket.org/xenit/care4alf

2017-03-28 10:50:39 GMT <alfbot> Title: xenit / care4alf — Bitbucket (at bitbucket.org)

2017-03-28 10:51:14 GMT <angelborroy> is there any screenshot or so?

2017-03-28 10:51:30 GMT <angelborroy> or even a features list?

2017-03-28 10:52:17 GMT <AFaust> angelborroy: Note - care4alf currently requires use of the Dynamic Extensions addon

2017-03-28 10:53:03 GMT <AFaust> (and will likely continue to do so, unless yreg knows something I don't yet know)

2017-03-28 10:54:20 GMT <yreg> angelborroy, http://imgur.com/a/UdX30 here is a snapshot, feel free to ask about any menu item you find interesting

2017-03-28 10:54:21 GMT <alfbot> Title: Imgur: The most awesome images on the Internet (at imgur.com)

2017-03-28 10:55:09 GMT <yreg> AFaust, it does, and probably will continue to do so...

2017-03-28 10:55:26 GMT <angelborroy> yreg wow… I’ll wait to BeeCon to know more about that, looks promising

2017-03-28 10:57:02 GMT <yreg> But we are probably to address the few issues causing AFaust to be reluctant about dynamic-extensions

2017-03-28 10:58:12 GMT <AFaust> "few"

2017-03-28 10:58:25 GMT <fwu> hello all!

2017-03-28 10:59:21 GMT <AFaust> Some of issues with dynamic-extensions you will definitely not address, because it would mean limiting the scope of that addon...

2017-03-28 11:02:40 GMT <yreg> AFaust, such as ?

2017-03-28 11:04:11 GMT <AFaust> Reliance on annotation-based, non-standard components

2017-03-28 11:04:33 GMT <AFaust> Reliance on 3rd party libraries solely for developer comfort

2017-03-28 11:04:54 GMT <yreg> how is that an issue ?

2017-03-28 11:05:30 GMT <yreg> as for reliance on annotation, both options : annotations and context.xml are possible

2017-03-28 11:05:52 GMT <AFaust> I think we talked about my viewpoint before. The issues I pointed out to you (that you think let me be reluctant about DE) are functional issues that can actually cause bugs.

2017-03-28 11:06:40 GMT <yreg> Yes, and those are the ones, XeniT is going to address soon

2017-03-28 11:06:57 GMT <AFaust> For me, the whole concept of how DE works, what it is meant for and how it forcibly ties the architecture down to that addon as the basis is not acceptable for the generic/simplistic use cases it supports.

2017-03-28 11:07:33 GMT <AFaust> I know and I am glad that XeniT will be doing that. I argued for that earlier this year.

2017-03-28 11:07:45 GMT <AFaust> Just want to avoid the confusion that these issues are the ones that keep me from using it.

2017-03-28 11:08:18 GMT <AFaust> These are the issues that can cause real problems, but even if they are fixed I will not be using DE...

2017-03-28 11:09:30 GMT <AFaust> As for "context.xml" being possible - not really, because then you loose about 80% of the features that DE claims and then it is even less worth adding these extra libraries...

2017-03-28 11:12:41 GMT <AFaust> You know, that is also the reason why I did the "subsystem with isolated classloader" task in my Utility project - so I would have an option that is not as heavy as DE and that addresses the main use case that I actually agree with: classloader isolation

2017-03-28 11:21:03 GMT <bhagyas> I don't get all the hate towards Dynamic extensions

2017-03-28 11:21:22 GMT <bhagyas> it makes things super simple for most of the Alfresco customisation use cases

2017-03-28 11:22:08 GMT <bhagyas> I would've loved to see the same functionality embedded in the core- but as an extension it does its job

2017-03-28 11:24:02 GMT <AFaust> bhagyas: You have to distinguish between "hate" and simple, conscious choice not to use it.

2017-03-28 11:24:34 GMT <bhagyas> AFaust: :D

2017-03-28 11:25:05 GMT <bhagyas> I'm not saying you're a hateful person, but I mean the general dislike towards annotations and methods to improve developer productivity is a little disheartening :/

2017-03-28 11:25:20 GMT <AFaust> I am not saying it should die. I mean I evaluated it with as much open a mind I could offer and reported the issues I see to XeniT so they can consider addressing them.

2017-03-28 11:25:39 GMT <AFaust> But at the end of the day it just is not something that I can accept for use by myself...

2017-03-28 11:26:27 GMT <AFaust> I also am all for increasing "developer productivity" - my point of view is just that developer productivity should never impact the production runtime...

2017-03-28 11:27:36 GMT <AFaust> Or at least not without some really good, convincing benefits that outweigh any limitations that may also be introduced...

2017-03-28 11:29:52 GMT <bhagyas> AFaust: Are there any objective measures to your convincing benefits?

2017-03-28 11:30:05 GMT <bhagyas> Something like 25% increase in productivity et al

2017-03-28 11:30:12 GMT <qwebirc9598> Hi, I have configured alfresco to run in https and everything seems to be working fine except for solr indexing, the search is not retieving any results and few of the dashlets are displaying error loading content. After some investigation I cam to know that we need to import the self signed certificate in alfresco keystore. I am really confused where to begin. Any Idea where I should start ?

2017-03-28 11:30:27 GMT <bhagyas> or cutting down the getting started or cutting the learning curve?

2017-03-28 11:31:02 GMT <AFaust> bhagyas: You can't objectively measure increases in developer productivity in the first place

2017-03-28 11:31:34 GMT <bhagyas> in terms of time you can

2017-03-28 11:31:37 GMT <bhagyas> and the LOC

2017-03-28 11:31:42 GMT <AFaust> Nope - not objectively...

2017-03-28 11:31:52 GMT <bhagyas> with DE, you basically can get a webscript without all the config drama

2017-03-28 11:32:04 GMT <bhagyas> and cuts down the time quite a lot

2017-03-28 11:32:39 GMT <bhagyas> its probably a threefold increase in dev time utilisation

2017-03-28 11:32:44 GMT <bhagyas> or more

2017-03-28 11:32:47 GMT <AFaust> You would have to find a set of twins that have had the exact same education and developer experience, and have them compete against another with exactly the same requirement and external support. Only then would the result be objective enough

2017-03-28 11:32:59 GMT <bhagyas> AFaust: Do you have a twin?

2017-03-28 11:33:00 GMT <bhagyas> :p

2017-03-28 11:34:21 GMT <AFaust> But again... If you present me from a tooling that adds these boosts of productivity you consider DE to provide that does not impact the runtime with added libraries that are only needed to make life easier for the developers, I am open to use it.

2017-03-28 11:34:55 GMT <bhagyas> AFaust: If you think Alfresco is not bloated with a bunch of unwanted libraries already, I don't think how it can be an overload

2017-03-28 11:35:15 GMT <AFaust> Just look at the mess of libraries that are already bundled with Alfresco. Quite a lot of crazy JARs are only included there because some developer tried to make his life easier...

2017-03-28 11:35:17 GMT <bhagyas> I think we both can agree it suffers from a un-upgradability problem and has a large number of obsolete/legacy libs

2017-03-28 11:35:43 GMT <bhagyas> AFaust: I don't think the dev is to be blamed, its the process that stopped him from upgrading them

2017-03-28 11:36:46 GMT <bhagyas> AFaust: Have you read the Camundas blog post on how they reengineerd the persistance layer

2017-03-28 11:36:47 GMT <bhagyas> ?

2017-03-28 11:37:15 GMT <bhagyas> It gives a really good viewpoint on how Alfresco's political and organisation is too broken to improve tech

2017-03-28 11:38:57 GMT <AFaust> My point of view is: If we complain about too many of these old / non-updateable libraries, we should be very considerate to not add to that ourselves just for our comfort or due to our "political views" / organisation.

2017-03-28 11:39:45 GMT <bhagyas> exhibit 1: http://www.bpm-guide.de/wp-content/uploads/2016/10/openhub-1.png

2017-03-28 11:40:06 GMT <AFaust> My goal will always be to provide the most added functional value with the least amount of unrelated baggage. This simply means dev tooling has to stay within the dev environment / build chains and not pollute the runtime.

2017-03-28 11:42:13 GMT <bhagyas> AFaust: So you'd not make any strides towards improving anyting significant?

2017-03-28 11:42:19 GMT <bhagyas> anything*

2017-03-28 11:42:51 GMT <AFaust> You are completely misunderstanding the point of my statements.

2017-03-28 11:43:23 GMT <bhagyas> :/

2017-03-28 11:43:26 GMT <AFaust> Or interpreting them in a way that you can continue the discussion into an area that is not really related to the original point.

2017-03-28 11:44:29 GMT <bhagyas> I'm not sure how runtime is being polluted by new libraries- that's basically how you can extend *any* system

2017-03-28 11:44:37 GMT <bhagyas> including your own libraries

2017-03-28 11:45:44 GMT <bhagyas> you can find plenty of dev tooling and libraries within any system

2017-03-28 11:45:51 GMT <AFaust> Again, the point is that the runtime should only be expanded / extended by libraries that provide tangible, functional enhancements (visible to the end user) and that do not only exist to allow developers to feel comfy or be lazy in their design / architecture...

2017-03-28 11:46:26 GMT <bhagyas> AFaust: So not even Apache Commons?

2017-03-28 11:46:32 GMT <bhagyas> or Spring Framework?

2017-03-28 11:46:47 GMT <bhagyas> I don't understand where this thinking is coming from

2017-03-28 11:47:01 GMT <AFaust> Yes, I actually do include Apache Commons in that, if the only thing you are using it for is StringUtils.isBlank() checks...

2017-03-28 11:47:29 GMT <bhagyas> *facepalm*

2017-03-28 11:49:11 GMT * AFaust thinks he should probably generate an meme image about "Include all the JARs"...

2017-03-28 11:58:38 GMT <AFaust> Oh - and regarding "where this thinking is coming from": I don't want to unnecessarily cause other people the same library conflict / version headaches that Alfresco is causing us.

2017-03-28 12:08:02 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2017-03-28 12:09:14 GMT <yreg> bhagyas, I've gone down that road, and believe me.. whatever you might do, AFaust position towards DE will not change <grin>

2017-03-28 12:10:55 GMT <AFaust> The question is: Do you at least understand my arguments / reasoning?

2017-03-28 12:11:51 GMT <yreg> AFaust, I do understand it, I respect it but I do not support it

2017-03-28 12:12:52 GMT <yreg> maybe in a perfect world I would, but in this world, I will sleep tight at night knowing that DE brings to the table way mare than what it takes away

2017-03-28 12:14:53 GMT <yreg> AFaust, by the way, we had a plugin/tool to ampify dynamic-extensions a while back, and I imagine such a tool/plugin shouldn't that hard to develop / maintain, as it would rely on automatic conversions of annotations-based config to spring based config (among few other transformations)

2017-03-28 12:17:00 GMT <yreg> but obviously, such a method will take away classpath isolation, hot-reloading

2017-03-28 12:17:03 GMT <yreg> ...

2017-03-28 12:18:55 GMT <qwebirc9598> Hi, I have configured alfresco to run in https and everything seems to be working fine except for solr indexing, the search is not retieving any results and few of the dashlets are displaying error loading content. After some investigation I cam to know that we need to import the self signed certificate in alfresco keystore. I am really confused where to begin. Any Idea where I should start ?

2017-03-28 12:19:21 GMT <yreg> any way, I totally believe that it *acceptable* or even *a huge boost* to use dynamic extensions at the condition that developer is well aware of the constraints/limitations around it

2017-03-28 12:19:31 GMT <yreg> /cc bhagyas

2017-03-28 12:22:34 GMT <AFaust> I believe it is totally acceptable that people would use DE after evaluating these constraints / limitations themselves and making an informed decision.

2017-03-28 12:24:12 GMT <AFaust> And I will gladly continue to support these people by pointing out such constraints / limitations, so that they may be addressed in the long run - even if some people may "hate" on me for my personal reasons not to use it...

2017-03-28 12:24:36 GMT <bhagyas> xD

2017-03-28 12:24:43 GMT <bhagyas> you very well know that we all love you ;)

2017-03-28 12:30:22 GMT <yreg> bhagyas, http://www.urbandictionary.com/define.php?term=hate%20on

2017-03-28 12:35:28 GMT <AFaust> yreg. If you are insinuating what I think you are, ewww

2017-03-28 12:38:28 GMT <yreg> I do not know what you are thinking, but I was referring to the common denominator between most/all interpretations : Jealousy / envy

2017-03-28 12:41:27 GMT <yreg> AFaust, If you were suspecting : "When it feels good to be pissed off, because you're on a self-righteous rant or because you're totally in the right and the other person is an utter nutjob."

2017-03-28 12:42:03 GMT <yreg> you totally got me wrong

2017-03-28 12:43:27 GMT <AFaust> No - I was not

2017-03-28 12:44:01 GMT <AFaust> As always, Urban Dictionary is a very poor choice for understanding the actual meaning in casual conversation

2017-03-28 12:44:19 GMT <AFaust> It is a good source of humour but utterly useless in day-to-day

2017-03-28 12:45:22 GMT <AFaust> When glancing over the page I just noticed various definitions that went into a more "phallic" interpretation of the term...

2017-03-28 12:45:41 GMT <AFaust> So that was the reason for "ewww"

2017-03-28 13:11:48 GMT <osaidi> what can cause this exception net.sf.acegisecurity.providers.ProviderNotFoundException??

2017-03-28 13:12:31 GMT <osaidi> i am solving the problem by a call to AuthenticationUtils.setRunAsUser("admin") for the moment

2017-03-28 13:12:45 GMT <osaidi> but i don't understand why it happens?

2017-03-28 13:14:29 GMT <yreg> Oussama, are you using a debugger ?

2017-03-28 13:14:50 GMT <osaidi> well i'm debugging with eclipse debugger

2017-03-28 13:14:58 GMT <osaidi> but it happens in runtime as well

2017-03-28 13:15:42 GMT <osaidi> the exception is thrown from this exact call authorityService.getShortName(userName);

2017-03-28 13:15:54 GMT <osaidi> inside the constructor of ScriptUser

2017-03-28 13:15:58 GMT <yreg> Well, then I can not help you, but I think marsbard had similar issue in the past !

2017-03-28 13:16:46 GMT <Hiten> Hi Guys

2017-03-28 13:16:59 GMT <yreg> but I think that was related to code being run in multi-tenant env

2017-03-28 13:17:19 GMT <Hiten> I am exploring v1 REST APIs and I have a question

2017-03-28 13:17:35 GMT <AFaust> osaidi: This type of exception can occur whenever a call is made to a permission-secured service when the authentication details of the current user are not set / have been reset. This can happen in debugging use cases or when a service with incomplete security configuration has been called...

2017-03-28 13:17:44 GMT <osaidi> well like i said it's easily solvable by setting runAsUser but i don't wanna do it at every turn :/

2017-03-28 13:18:09 GMT <AFaust> osaidi: Is this some web script that you are running?

2017-03-28 13:18:23 GMT <AFaust> And if yes, does this web script define an <authentication> section in its descriptor?

2017-03-28 13:18:56 GMT <Hiten> in the api-explorer link https://api-explorer.alfresco.com/api-explorer I can see lot of APIs but when I go to my local http://localhost:8080/api-explorer I can see only a handful of them

2017-03-28 13:18:58 GMT <alfbot> Title: Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)

2017-03-28 13:19:40 GMT <yreg> Hiten, which alfresco version are you on ? are you on 5.2

2017-03-28 13:19:42 GMT <osaidi> <AFaust> actually it's a class extending BaseScopableProcessorExtension i'm writing

2017-03-28 13:19:59 GMT <marsbard> yreg, osaidi, I remember the exception but I don't remember the cause or the fix :-/

2017-03-28 13:20:07 GMT <osaidi> when i call new ScriptUser inside of it i get this exception

2017-03-28 13:20:12 GMT <Hiten> like shared-links, nodes etc are not visible in my local

2017-03-28 13:20:28 GMT <Hiten> yreg : Yes, I am using 5.2

2017-03-28 13:20:33 GMT <osaidi> <marsbard> well the fix i have it but i just don't like it

2017-03-28 13:21:03 GMT <yreg> osaidi, any way, you should never hardcode stuff to admin, if you need to execute something with elevated rights use system

2017-03-28 13:21:09 GMT <AFaust> osaidi: It isn't really a good approach to call Script API classes in Java code - it is typically better to use the Java API services.

2017-03-28 13:21:38 GMT <AFaust> But that in itself should not be the cause of the issue

2017-03-28 13:21:46 GMT <osaidi> but i need to return a ScriptUser to my javascript code

2017-03-28 13:21:52 GMT <yreg> AFaust, I bet osaidi is creating a new root scoped JS object, and he is using ScriptNode for return values

2017-03-28 13:22:23 GMT <yreg> probably to use in javascript listeners in activiti

2017-03-28 13:22:49 GMT <osaidi> no no not that

2017-03-28 13:23:22 GMT <tiazma> hi everyone

2017-03-28 13:23:24 GMT <osaidi> it is not for a listener in activiti

2017-03-28 13:23:32 GMT <osaidi> it's actually a webscript

2017-03-28 13:24:27 GMT <bhagyas> Hiten: Just noticed a new API called networks

2017-03-28 13:24:31 GMT <bhagyas> ""subscriptionLevel": "Free",

2017-03-28 13:24:31 GMT <bhagyas> "quotas": [

2017-03-28 13:24:31 GMT <bhagyas> {

2017-03-28 13:24:31 GMT <bhagyas> "id": "string",

2017-03-28 13:24:31 GMT <bhagyas> "limit": 0,

2017-03-28 13:24:31 GMT <bhagyas> "usage": 0

2017-03-28 13:24:31 GMT <bhagyas> }"

2017-03-28 13:24:43 GMT <bhagyas> I don't think I've seen that one with the built in core API

2017-03-28 13:25:26 GMT <AFaust> Returning script objects is perfectly fine. But I have often seen people create a script object only to call its operations and then discard it without returning, which is kind of a dirty hack. It may also be quite inefficient since the script object maps some values from Java to JavaScript, and your use case might have to map it back to Java...

2017-03-28 13:25:58 GMT <tiazma> short CMIS 1.1-oriented question: is there a way to update properties AND content in the same request ?

2017-03-28 13:26:15 GMT <bhagyas> yreg: now you can't create ScriptNode objects using Java - there is a new check that fails if you created a ScriptNode without a scope

2017-03-28 13:26:23 GMT <bhagyas> might work in older versions

2017-03-28 13:27:35 GMT <tiazma> we used to do so with Alfresco 4.2, with a unique xml-atom enveloppe

2017-03-28 13:31:23 GMT <yreg> bhagyas, I doubt osaidi would be using a recent version of alfresco, last I checked, they were still working with a 4.2.c fork

2017-03-28 13:31:43 GMT <osaidi> i'm working on 5.0.d actually

2017-03-28 13:32:04 GMT <Hiten> bhagyas: Sorry, I have just started exploring the v1 REST APIs so, not sure :)

2017-03-28 13:32:25 GMT <osaidi> <yreg> we changed, i started working on it when you were just leaving

2017-03-28 13:32:36 GMT <bhagyas> Hiten: Have you looked at the NodeJS APIs from Alfresco? It really feels like they are secretly building a new client which might very well not be open source

2017-03-28 13:32:58 GMT <bhagyas> and the components are open source - which makes sense for anyone who wants to extend it or to build a completely alternative client

2017-03-28 13:33:01 GMT <yreg> Did you continue my upgrade work, or did you start from scratch ?

2017-03-28 13:33:27 GMT <osaidi> i started from scratch but i used your commons project for license verification purposes

2017-03-28 13:33:31 GMT <bhagyas> but a sad state for the community edition though

2017-03-28 13:33:55 GMT <osaidi> <yreg> and it's all in an amp now :D

2017-03-28 13:35:30 GMT <yreg> did you hack the sdk in order to have you classes outside the jar, or did you endup rewriting classes and packages ?

2017-03-28 13:36:14 GMT <Hiten> bhagyas: are you talking about the new Alfresco JS API which act as a wrapper for REST APIs and is currently used in alfresco ng2 components ??

2017-03-28 13:36:25 GMT <bhagyas> Hiten: yes

2017-03-28 13:36:30 GMT <osaidi> a lot of it was rewritten actually

2017-03-28 13:36:42 GMT <yreg> if it is the latter, I bet you will be having a lot of error with workflows, as activiti was heavily customized ... and not in the orthodox way of things

2017-03-28 13:37:05 GMT <bhagyas> Hiten: It makes sense for them to do that - drop Share completely and re-build a proprietary client with open source extensible components

2017-03-28 13:37:22 GMT <yreg> osaidi, are you using solr now ? which solr ?

2017-03-28 13:38:03 GMT <bhagyas> since the community edition is possibly being seen as the biggest threat to enterprise sales :p

2017-03-28 13:38:17 GMT <osaidi> <yreg> not that much, at the end of the day we had to write our own ScriptDelegate

2017-03-28 13:38:45 GMT <osaidi> it's solr4 nox

2017-03-28 13:38:48 GMT <osaidi> *w

2017-03-28 13:41:41 GMT <Hiten> bhagyas: Can't say anything about that. Coming back to my original question. Why I am seeing less endpoints for REST APIs under Core API in my local than in https://api-explorer.alfresco.com ??

2017-03-28 13:41:43 GMT <alfbot> Title: Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)

2017-03-28 13:44:08 GMT <bhagyas> Hiten: because some are related to cloud endpoints

2017-03-28 13:44:08 GMT <bhagyas> like networks (which is something even I hadn't noticed earlier)

2017-03-28 13:44:11 GMT <bhagyas> that is used to manage subscriber network functionality

2017-03-28 13:45:29 GMT <Hiten> but I can't even see the renditions. shared-links, nodes etc in my local running on 5.2

2017-03-28 13:48:22 GMT <Hiten> also if you see the bottom of the page https://api-explorer.alfresco.com it specifies the base url: /alfresco/api/-default-/public/alfresco/versions/1 which is for on-prem

2017-03-28 13:48:24 GMT <alfbot> Title: Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)

2017-03-28 13:53:24 GMT <bhagyas> Hiten: If they are core APIs, I'd expect them to show up soon

2017-03-28 13:53:44 GMT <bhagyas> They were doing a fair bit of refactoring on the modules and have missed out on some

2017-03-28 13:54:29 GMT <Hiten> can it be possible that the ones that are missing in my local are not there because of the version ??

2017-03-28 13:54:48 GMT <Hiten> I mean version of alfresco

2017-03-28 13:55:34 GMT <Hiten> here are the contents of the Read me file of my installer

2017-03-28 13:55:37 GMT <Hiten> Alfresco Community (Build: 201612) =============================== Contains: - Alfresco Platform: 5.2.d - Alfresco Share: 5.2.c

2017-03-28 13:58:18 GMT <bhagyas> could be

2017-03-28 14:40:33 GMT <AFaust> Guys, I need a confirmation that I am not remembering functionality that was never there...

2017-03-28 14:40:56 GMT <AFaust> If you checkout a document for offline editing, should the working copy inherit permissions from the folder?

2017-03-28 14:41:32 GMT <AFaust> For some reason I remember inheritance to be disabled for working copies, but cannot find the code to support that in Alfresco 5.0 and 5.2

2017-03-28 14:42:16 GMT <AFaust> This issue of active inheritance is causing an issue for an EE customer who is still on 5.0 and using the AOS version bundled with it.

2017-03-28 14:48:50 GMT <AFaust> Wow - apparently the working copy has always been accessible by anyone...

2017-03-28 14:48:51 GMT <AFaust> https://issues.alfresco.com/jira/browse/MNT-13006

2017-03-28 14:49:59 GMT <AFaust> That improvement to address the "editable by anyone" has been open since 2008, associated with a (paying) customer support issue and not yet been decided upon...

2017-03-28 14:59:04 GMT <douglascrp> AFaust, wow

2017-03-28 14:59:09 GMT <douglascrp> that is bad

2017-03-28 14:59:34 GMT <douglascrp> I can imagine a director or president editing a top secret document, and that one being accessible for anyone

2017-03-28 15:00:06 GMT <AFaust> Yeah - it doesn't even inherit the permission from the original document (which could have inheritance disabled) but the parent folder...

2017-03-28 15:00:33 GMT <AFaust> So if you offline edit a sensitive document than the sensitive contents may be unintentially visible

2017-03-28 15:00:44 GMT <AFaust> than => then

2017-03-28 15:01:28 GMT <AFaust> And in Share (other than in the good old Explorer) you can't perform a "Checkout to folder" operation

2017-03-28 15:01:40 GMT <AFaust> ... to place the working copy in a secure folder.

2017-03-28 15:01:41 GMT <yreg> AFaust, just checking, are you sure the primary parent association of the edit document is pointing to the folder, not the document being edited ?

2017-03-28 15:01:57 GMT <AFaust> 100% sure

2017-03-28 15:02:08 GMT <AFaust> Verified by experiment and code review

2017-03-28 15:02:13 GMT <yreg> in such case, wouldn't a policy switching the primary parent enough to fix that ?

2017-03-28 15:02:58 GMT <AFaust> That would fix the issue with the sensitive document, but still leave the working copy editable by anyone that has access to the sensitive document itself

2017-03-28 15:03:34 GMT <AFaust> It is perfectly fine to have the primary parent to the folder. Permission inheritance should always be disabled for the working copy...

2017-03-28 15:03:53 GMT <AFaust> The owner is properly set and that should be enough.

2017-03-28 15:04:21 GMT <AFaust> Though I bet that some Share logic to render a banner / unlock action will rely on the working copy being publicly accessible

2017-03-28 15:10:29 GMT <yreg> AFaust, I wouldn't expect it to be that sloppy :-P

2017-03-28 15:11:59 GMT <AFaust> hehe

2017-03-28 15:18:40 GMT <AFaust> So far there seems to be no problem if I disable the permission inheritance. But obviously this is only after spotty, preliminary testing

2017-03-28 15:28:41 GMT <douglascrp> AFaust, I think it is time for us to vote on that issue

2017-03-28 15:28:47 GMT <douglascrp> everybody clicking :D

2017-03-28 15:35:07 GMT <AFaust> Argh damn.... Found a side effect.

2017-03-28 15:35:24 GMT <AFaust> Share will not show the original, locked document for other users if the working copy is not accessible.

2017-03-28 15:36:40 GMT <yreg> LoL

2017-03-28 16:03:18 GMT <AxelFaust> Ah - cm:checkedOut is explicitely treated as an ignored aspect. Great...

2017-03-28 17:18:36 GMT <truelai> p7n3z66!@#@@

2017-03-28 17:46:26 GMT <douglascrp> password detected :D

2017-03-28 19:36:45 GMT <fwu> back

2017-03-28 19:37:12 GMT <fwu> AFaust, are you there?

2017-03-28 19:46:37 GMT <truelai> douglascrp: hero needed :)

2017-03-28 19:47:59 GMT <truelai> I have CIFS enabled. My samba has alfresco CIFS virtual directories mounted ...

2017-03-28 19:48:39 GMT <truelai> There are a bunch of files in there from 2014. I have been writing to this samba CIF mount for years. The writes make it into the repo

2017-03-28 19:48:57 GMT <truelai> But I cannot see the repo files in the samba mount

2017-03-28 19:49:02 GMT <truelai> Only the old 2014 files

2017-03-28 19:49:41 GMT <truelai> any idea what's going on? Why can't i see them in the CIF directory mounted by Samba yet can see them in the repo?

2017-03-28 19:49:55 GMT <truelai> CIFS*

2017-03-28 20:03:33 GMT <truelai> I get the same results using FTP

2017-03-28 20:04:37 GMT <douglascrp> truelai, I can not understand what you mean

2017-03-28 20:05:40 GMT <truelai> I have a bunch of files in a directory in the repo

2017-03-28 20:06:16 GMT <truelai> when I mount that repo's virtual directory via samba/cifs, FTP, or WebDav, I can't see all the files that are actually in that repo

2017-03-28 20:06:22 GMT <truelai> I only see some very old files

2017-03-28 20:06:34 GMT <truelai> But the files exist. I can see them in the repo via GUI

2017-03-28 20:08:11 GMT <truelai> I am the admin user when using FTP and WebDav and getting those results

2017-03-28 20:12:18 GMT <douglascrp> truelai, weird

2017-03-28 20:38:12 GMT <truelai> yes it is

2017-03-28 20:48:07 GMT <truelai> modified date is correct on the CIFS directory as well.

End of Daily Log

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