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-15 00:25:42 GMT <iwkse> heya do you know any docs where I can understand the magic behind {0} {1} {2} inside of properties files?

2016-11-15 00:25:59 GMT <iwkse> I don't really get where they are defined, I suppose freemarker

2016-11-15 08:03:29 GMT <yreg> Morning !

2016-11-15 08:04:33 GMT <ycoulon> morning yreg

2016-11-15 08:18:54 GMT <AFaust> ~later tell iwkse: if you were asking about I18n properties files, then https://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html is applicable

2016-11-15 08:18:54 GMT <alfbot> AFaust: The operation succeeded.

2016-11-15 08:21:00 GMT <AFaust> ~later tell iwkse: the "magic" of filling in those placeholders is handled in I18NUtil while the values for the placeholders are passed as parameters e.g. to FreeMarker msg(), JavaScript msg.get() or any of the Alfresco Exception constructors that handle I18n-ized messages

2016-11-15 08:21:00 GMT <alfbot> AFaust: The operation succeeded.

2016-11-15 09:30:03 GMT <AFaust> Does anybody know where I can get the _vti_bin.war for AOP 1.1.3? The _vti_bin.war for 1.1 is part of the AOS ZIP download in the 201605 GA (though strangely it is missing in the distribution ZIP of the Community Edition itself, which contains everything else for AOS)

2016-11-15 09:30:44 GMT <AFaust> I cannot find it in artifacts.alfresco.com where AOS module itself is available (used that AMP to install into alfresco.war in customer SDK project)

2016-11-15 09:31:18 GMT <AFaust> docs.alfresco.com contains the incorrect statement that "AMP file [...] deploys the _vti_bin.war file"

2016-11-15 09:31:32 GMT <angelborroy> have you tried with distribution 201609

2016-11-15 09:32:33 GMT <AFaust> Checking just now

2016-11-15 09:32:38 GMT <AFaust> Appears to contain 1.1.3

2016-11-15 09:33:59 GMT <angelborroy> I’ve used this WAR and AMP to install AOS 1.1.3 under 201605

2016-11-15 09:34:21 GMT <angelborroy> it works better than default in 201605 (and it works with Mac also, which was my requirement)

2016-11-15 09:35:52 GMT <AFaust> I just find it a bit strange that _vti_bin.war is still missing from the Alfresco distribution ZIP for 201609 EA...

2016-11-15 09:36:23 GMT <AFaust> It only is contained in the AOS ZIP that needs to be downloaded separately

2016-11-15 09:36:41 GMT <angelborroy> ah, right

2016-11-15 09:36:45 GMT <angelborroy> yes, it was like this

2016-11-15 09:36:47 GMT <AFaust> I don't know what the installer contains since I don't / won't use it...

2016-11-15 09:36:55 GMT <angelborroy> it’s missing in distribution ZIP

2016-11-15 09:37:06 GMT <angelborroy> but it’s included in wizard installer

2016-11-15 09:37:16 GMT <angelborroy> maybe you can raise an issue for that

2016-11-15 09:37:53 GMT <AFaust> Yeah - I dismissed the mention in docs.alfresco.com since we determined that the documentation is incorrect / wrong on other issues too (last week), but today I got curious due to 404s in the access logs

2016-11-15 09:42:00 GMT <AFaust> Also I did not assume anything was missing since edit online worked fine for the users we tested it with so far. Only one user - who already had the problem before the migration - is suffering from an issue that the file is still locked after closing Office...

2016-11-15 09:43:42 GMT <fury2412> goodmorning everyone

2016-11-15 09:44:28 GMT <fury2412> anybodyin?

2016-11-15 09:44:30 GMT <AFaust> fury2412: good morning - and may I ask what your fury is about? ;)

2016-11-15 09:45:09 GMT <fury2412> it's only my nickname xD

2016-11-15 09:45:33 GMT <fury2412> i need to learn about alfresco architecture

2016-11-15 09:46:03 GMT <fury2412> sorry for my bad english...

2016-11-15 09:46:22 GMT <fury2412> i need to create a Workflow in Alfresco Community Edition

2016-11-15 09:46:54 GMT <AFaust> So far the English seems fine... better than some of the requests I have seen in all my time on #alfresco...

2016-11-15 09:47:17 GMT <fury2412> ty so much

2016-11-15 09:47:19 GMT <AFaust> Have you looked at some of the tutorials available for Alfresco?

2016-11-15 09:47:40 GMT <AFaust> i.e. http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html

2016-11-15 09:47:41 GMT <alfbot> Title: Creating Custom Advanced Workflows in Alfresco | ECM Architect | Alfresco Developer Tutorials (at ecmarchitect.com)

2016-11-15 09:47:50 GMT <fury2412> difficult to find theme

2016-11-15 09:48:32 GMT <AFaust> Hmm - shouldn't be difficult to find: Google for "workflow alfresco tutorial" => 2nd result is the tutorial I linked

2016-11-15 09:48:52 GMT <fury2412> lol you right

2016-11-15 09:48:54 GMT <AFaust> better yet: 1st non-sponsored result is the tutorial I linked

2016-11-15 09:49:29 GMT <Vasquez> Good morning AFaust

2016-11-15 09:49:35 GMT <AFaust> Ahoi

2016-11-15 09:49:46 GMT <Vasquez> I was looking at your code on github, https://gist.github.com/AFaust/b83b405998cb4303e77a

2016-11-15 09:49:47 GMT <alfbot> Title: Examples: Using Spring post-processors to modify out-of-the-box (Alfresco) beans without duplicating XML config and caring about load order · GitHub (at gist.github.com)

2016-11-15 09:50:26 GMT <Vasquez> because good people here have directed me to this when i asked hoow to extend ldap, to sync custom properties

2016-11-15 09:51:19 GMT <Vasquez> after few weeks i have made very little progres, could you give me some pointer so i could focus to that direction

2016-11-15 09:51:22 GMT <AFaust> Incidentally I have done the very same for a customer yesterday

2016-11-15 09:52:52 GMT <Vasquez> i dont ask for fast solution, i prefer doing it by myself,, but i just dont know where to begin

2016-11-15 09:52:58 GMT <Vasquez> lol

2016-11-15 09:56:56 GMT <AFaust> I have updated the gist just now with basically the two files I used for enhancing the LDAP mapping of my customer.

2016-11-15 10:00:06 GMT <Vasquez> that was much more than i have expected, thank you very very much

2016-11-15 10:01:17 GMT <AFaust> Well - it wasn't that complex anyway and I had it ready at hand...

2016-11-15 10:02:04 GMT <AFaust> I also have a more complex setup in my MT LDAP module (which can also be used for single tenant use)

2016-11-15 10:02:05 GMT <AFaust> https://github.com/Acosix/alfresco-mt-support/wiki/Multi-Tenant-LDAP-Authentication-and-User-Registry

2016-11-15 10:02:06 GMT <alfbot> Title: Multi Tenant LDAP Authentication and User Registry · Acosix/alfresco-mt-support Wiki · GitHub (at github.com)

2016-11-15 10:02:24 GMT <AFaust> ^^ this supports configuring custom mapping without having to write any XML

2016-11-15 10:02:50 GMT <Vasquez> when you know, nothing is too complex :D

2016-11-15 10:08:35 GMT <AFaust> Vasquez: FYI - over time I will consolidate those common utilities of that gist in a "utility" module (https://github.com/Acosix/alfresco-utility)

2016-11-15 10:08:36 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-15 10:16:12 GMT <yoman> yo everyone

2016-11-15 10:16:30 GMT <yoman> why i can't open the alfresco admin console?

2016-11-15 10:16:57 GMT <angelborroy> yoman which admin console? can you paste here the URL?

2016-11-15 10:17:18 GMT <yoman> http://docs.alfresco.com/4.1/tasks/at-adminconsole-open.html

2016-11-15 10:17:20 GMT <alfbot> Title: Opening the Admin Console | Alfresco Documentation (at docs.alfresco.com)

2016-11-15 10:17:28 GMT <yoman> i can't follow this procedure

2016-11-15 10:18:20 GMT <angelborroy> http://localhost:8080/share

2016-11-15 10:18:36 GMT <angelborroy> are you using Alfresco 4 or 5?

2016-11-15 10:18:37 GMT <yoman> guide tell me to go at this

2016-11-15 10:18:38 GMT <yoman> http://<your-host-name>:<alfresco-port>/alfresco/service/enterprise/admin

2016-11-15 10:18:44 GMT <angelborroy> ah

2016-11-15 10:18:56 GMT <angelborroy> so you are using Enterprise Edition, right?

2016-11-15 10:19:08 GMT <yoman> but this is the answer

2016-11-15 10:19:13 GMT <angelborroy> this console is only available for Enterprise but it’s now available for Community

2016-11-15 10:19:14 GMT <yoman> no...

2016-11-15 10:19:17 GMT <yoman> community

2016-11-15 10:19:19 GMT <angelborroy> now > NOT

2016-11-15 10:19:46 GMT <angelborroy> yoman in docs.alfresco.com you have different docs for Community and Enterprise

2016-11-15 10:19:46 GMT <yoman> for the community ed is there an admin console?

2016-11-15 10:19:51 GMT <angelborroy> no

2016-11-15 10:20:26 GMT <angelborroy> you need to configure subsystems by setting properties in alfresco-global.properties

2016-11-15 10:20:57 GMT <yoman> tnks

2016-11-15 10:21:10 GMT <yoman> have a nice day men

2016-11-15 10:54:50 GMT <alfbot> iwkse: Sent 2 hours and 35 minutes ago: <AFaust> if you were asking about I18n properties files, then https://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html is applicable

2016-11-15 10:54:51 GMT <alfbot> iwkse: Sent 2 hours and 33 minutes ago: <AFaust> the magic of filling in those placeholders is handled in I18NUtil while the values for the placeholders are passed as parameters e.g. to FreeMarker msg(), JavaScript msg.get() or any of the Alfresco Exception constructors that handle I18n-ized messages

2016-11-15 10:55:18 GMT <iwkse> AFaust: thanks, I found it out yesterday in the while :)

2016-11-15 10:58:53 GMT <iwkse> I'm trying to modify the activity_list webscripts which notifies on the share dashlet, I want to add also a link to the folder where the file belongs. As I cannot have access to repo objects in there (search) to get the noderef and find out the parent name and url I was thinking that I have to create a repo webscript which giving the noderef (extracted from the file url) returns me the name and url of the

2016-11-15 10:59:00 GMT <iwkse> parent in json form so that I can call it from the activity webscript. Is this right?

2016-11-15 10:59:35 GMT <iwkse> form/format

2016-11-15 11:02:52 GMT <angelborroy> AFaust after giving 50 points to David Webster (well deserved: https://community.alfresco.com/community/ecm/blog/2016/11/14/rm-pull-request-process) I’ve reached 3,000 points club

2016-11-15 11:02:54 GMT <alfbot> Title: RM Pull Request Process | Alfresco Community (at community.alfresco.com)

2016-11-15 11:04:02 GMT <angelborroy> AFaust now that you and __Dave are targetting to 4,000 :D

2016-11-15 13:45:39 GMT *** yor is now known as yreg

2016-11-15 13:45:59 GMT <yreg> guys, anyone here familiar with SDK ?

2016-11-15 13:46:47 GMT <yreg> AxelFaust, have you had a chance to play with dynamic extensions ?

2016-11-15 14:34:16 GMT <AxelFaust> yreg: No - I will not use dynamic extensions or anything else that promotes trial&error programming or relies heavily on annotation-based wiring that cannot be customized by a third-party (e.g. to correct bugs or provide custom overrides)

2016-11-15 14:35:04 GMT <AxelFaust> ~later tell yreg: No - I will not use dynamic extensions or anything else that promotes trial&error programming or relies heavily on annotation-based wiring that cannot be customized by a third-party (e.g. to correct bugs or provide custom overrides)

2016-11-15 14:35:04 GMT <alfbot> AxelFaust: The operation succeeded.

2016-11-15 14:36:47 GMT <AxelFaust> ah - you changed your name again

2016-11-15 14:37:08 GMT <AxelFaust> yor: previous message was meant for you

2016-11-15 14:38:22 GMT <AxelFaust> angelborroy: Did you encounter any issues with AOS related to Office 2010 (customer still has a few installations of that) and double-URL-encoded paths?

2016-11-15 14:38:46 GMT <angelborroy> Sorry, I have only 2011 and 365 clients

2016-11-15 14:39:00 GMT <angelborroy> 365 = 2016?

2016-11-15 14:42:27 GMT *** yor is now known as yreg

2016-11-15 14:46:20 GMT <yreg> AxelFaust, I respect that, although I do not agree with your statement

2016-11-15 14:46:20 GMT <alfbot> yreg: Sent 11 minutes ago: <AxelFaust> No - I will not use dynamic extensions or anything else that promotes trial&error programming or relies heavily on annotation-based wiring that cannot be customized by a third-party (e.g. to correct bugs or provide custom overrides)

2016-11-15 14:47:01 GMT <yreg> I can not see how it promotes trial and error for 1

2016-11-15 14:47:46 GMT <yreg> and relying heavily on annotations does has some perks, like PRODUCTIVITY for instance

2016-11-15 14:48:35 GMT <AxelFaust> yreg: I only saw the "rapid development" term on the project page and that triggered my aversion to anything remotely close to dynamic bytecode deployment / manipulation, e.g. like JRebel, Spring Loaded or whatnot

2016-11-15 14:50:18 GMT <AxelFaust> Sure, if used appropriately, e.g. proper education, understanding and principles, it can be a very valuable approach. But from experience, most of the time I have seen devs use "rapid development" tools they were primarily developing more in a "trial&error" fashion than really understanding their requirements/problems

2016-11-15 14:50:23 GMT <yreg> AFAIK it is not like that, or at least it is not made for that

2016-11-15 14:50:53 GMT <AxelFaust> yes, it is well intentioned... I just don't trust the majority of devs with such tools

2016-11-15 14:51:10 GMT <yreg> and the OSGi container comes really handy when dealing with multiple versions of dependencies

2016-11-15 14:52:17 GMT <AxelFaust> "multiple versions of dependencies" => is a sign that someone does not properly take care of dependency management tasks

2016-11-15 14:52:53 GMT <yreg> not to mention the ability to upgrade some extension on prod with 0 downtime

2016-11-15 14:54:42 GMT <AxelFaust> how "relevant" is that really? I see production deployments / upgrades as something that only happens every few months...

2016-11-15 14:56:01 GMT <yreg> AxelFaust, Well either that or that some one does not like to mess with 3rd libs, so if a lib depends on a particular version, and it works well with it (tested and maintained) then there is absolutely no gain in trying to allign all 3rd libs to the same lib versions

2016-11-15 14:57:32 GMT <yreg> AxelFaust, that can really relevant in multiple contexts where you have multiple systems interconnected and relying heavily on alfresco (either for bpm or dms component)

2016-11-15 14:57:42 GMT <AxelFaust> "no gain"? Reduced footprint, no need for custom extensions just to deal with different versions...

2016-11-15 15:00:42 GMT <AxelFaust> In 6 years working with Alfresco I never had a use case that would have required having one dependencies included in multiple versions. When I encountered issues with redundant dependencies, the redundancy / conflict could typically be resolved in 30min to an hour.

2016-11-15 15:01:49 GMT <AxelFaust> One reason I rarely if ever run into dependency issues is that I always try to avoid adding external dependencies to my modules.

2016-11-15 15:03:39 GMT <AxelFaust> E.g. in the ootbee-support-tools addon this is something that I typically will pick on with PRs, like I commented in https://github.com/AFaust/ootbee-support-tools/pull/15#issuecomment-257184164

2016-11-15 15:03:40 GMT <alfbot> Title: feat(system information): new system information page by jgoldhammer · Pull Request #15 · AFaust/ootbee-support-tools · GitHub (at github.com)

2016-11-15 15:07:06 GMT <AxelFaust> But after all - it is only my personal preference / opinion and one of my core principles, which is the reason why I feel stronger about this than other topics...

2016-11-15 22:24:19 GMT <nachopants> hi guys

2016-11-15 22:24:30 GMT <nachopants> our SOLR log is being pumped full of the following...

2016-11-15 22:24:31 GMT <nachopants> solr.log.2016-11-04:mismatched input 'K' expecting AMP ([@5,5:5='K',<59>,1:5])

2016-11-15 22:24:31 GMT <nachopants> solr.log.2016-11-04:mismatched input 'K' expecting AMP ([@5,5:5='K',<59>,1:5])

2016-11-15 22:24:32 GMT <nachopants> solr.log.2016-11-04:mismatched input 'AND' expecting AMP ([@5,5:7='AND',<5>,1:5])

2016-11-15 22:24:33 GMT <nachopants> solr.log.2016-11-04:mismatched input 'c' expecting AMP ([@5,5:5='c',<59>,1:5])

2016-11-15 22:24:40 GMT <nachopants> we don't even know where to start, can anyone shed any light on this for us? :(

2016-11-15 23:29:12 GMT <AxelFaust> nachopants: typically this is result of badly written queries...

End of Daily Log

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