Alfresco discussion and collaboration. Stick around a few hours after asking a question.
Official support for Enterprise subscribers: support.alfresco.com.
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.
More help is available in this list of resources.
2018-05-18 07:27:05 GMT <arun__> hi
2018-05-18 07:28:11 GMT <arun__> While i am creating custom components in alfresco adf.I am getting error like Error: dryRunSink.commit(...).ignoreElements is not a function dryRunSink.commit(...).ignoreElements is not a function
2018-05-18 07:28:50 GMT <arun__> Can any one tell me the issue
2018-05-18 07:32:31 GMT <arun__> Can i tell me the issue causing
2018-05-18 07:32:52 GMT <arun__> can anyone tell me the issue causing
2018-05-18 07:40:45 GMT <arun__> Now i geeting error like this,TypeError: core_1.PriorityQueue is not a constructor
2018-05-18 07:41:21 GMT <yreg> Good morning everyone
2018-05-18 07:56:47 GMT <MorganP> Morning yreg
2018-05-18 07:57:20 GMT <MorganP> arun__: you might want to check the gitter for ADF questions rather, there are more people that can help you over there
2018-05-18 07:57:49 GMT <yreg> arun__, that's here : https://gitter.im/Alfresco/alfresco-ng2-components
2018-05-18 07:57:50 GMT <alfbot> Title: Alfresco/alfresco-ng2-components - Gitter (at gitter.im)
2018-05-18 08:00:40 GMT *** Tichodroma is now known as Guest16226
2018-05-18 08:00:40 GMT *** Tichodro1a is now known as Tichodroma
2018-05-18 08:01:11 GMT <arun__> Thanks for your answer
2018-05-18 09:44:39 GMT <kkore> I am trying to get the document by using cmis https://bpaste.net/show/37848c12ce75 but getting nullpointer error at the exception
2018-05-18 09:44:40 GMT <alfbot> Title: show at bpaste (at bpaste.net)
2018-05-18 10:16:58 GMT <AxelFaust> rluders: The <import> directive is used in a pre-processor step and simply replaced by the contents of the other file. Only the combined file is passed on to Rhino for execution (and implicit compilation). There is no explicit cache on disk - the cache is mostly a map of the script identifier / location against the compiled Rhino script object
2018-05-18 10:18:20 GMT <AxelFaust> The compiled class files may be cached somewhere on disk, but that would be background / implementation detail level stuff
2018-05-18 10:31:56 GMT <rluders> thank you AxelFaust ... So, with those import directives being combined by the pre-processor step... there's any way to get the correct line number of an error? 'Cause the most part of the time it shows a HUGE line number. I did start to wrote an python script that combine the files and display the right line... but it seems that Alfresco are excluding/including lines when combine the files.
2018-05-18 10:33:03 GMT <yreg> If you have it on when the error occurs, it breakpoint automatically on the exact line ;-)
2018-05-18 10:37:57 GMT <yreg> rluders, I mean this : https://docs.alfresco.com/4.1/tasks/ws-controller-debug.html
2018-05-18 10:37:59 GMT <alfbot> Title: Debugging a controller script | Alfresco Documentation (at docs.alfresco.com)
2018-05-18 10:38:41 GMT <rluders> hummm
2018-05-18 10:39:55 GMT <yreg> That only works on localhost afaik
2018-05-18 10:40:17 GMT <rluders> and that is an issue for me
2018-05-18 10:40:19 GMT <yreg> And you might need to add a couple of arguments to your JVM to get it working
2018-05-18 10:40:57 GMT <yreg> Managed once to have it opened remotely using X11 forwarding, but I couldn't reproduce that afterwords :P
2018-05-18 10:41:58 GMT <AxelFaust> rluders: I once provided a contribution to Alfresco which could have been used to replace those <import> preprocessor directives with proper API calls, and then each individual script would have been compiled, and line numbers would always be identical to source
2018-05-18 10:42:53 GMT <AxelFaust> I am currently working (on-and-off, depending on available time) on an entirely separate, Nashorn based script engine with module support (AMD-/CommonJS-based) that would have proper line numbers as well
2018-05-18 10:43:27 GMT <angelborroy> AxelFaust When you finish your Nashorn migration, Nashorn will be deprecated :D
2018-05-18 10:43:53 GMT <yreg> :D
2018-05-18 10:43:54 GMT <AxelFaust> If you say so...
2018-05-18 10:43:59 GMT <rluders> I'll be very happy if one day it supports typescript or an updated JS version
2018-05-18 10:44:21 GMT <rluders> angelborroy, lol
2018-05-18 10:44:22 GMT <AxelFaust> Nashorn was already used to support TypeScript, though that is not part of the standard JDK
2018-05-18 10:44:33 GMT <yreg> rluders, IMO all JS stuff on the repo side will disappear sooner or later
2018-05-18 10:44:58 GMT <rluders> yreg, so, it'll be only Java?
2018-05-18 10:46:04 GMT <yreg> rluders, if I understand right, the aim for the long run is to externalise all customisations into separate services
2018-05-18 10:46:30 GMT <AxelFaust> Well - they are likely going to extract this (or parts of it) as part of their microservice-crazy approach where behaviours / actions / rules and what-not are supposed to be run out-of-process
2018-05-18 10:46:43 GMT <yreg> but that's for the long run
2018-05-18 10:48:35 GMT <rluders> humm
2018-05-18 10:48:45 GMT <rluders> interesting
2018-05-18 10:49:27 GMT <rluders> well, but since them, I need to solve this issue with the line number... it's being really hard do debug an test my scripts without knowing with line is trowing the error
2018-05-18 10:49:40 GMT <angelborroy> and probably Alfresco Repository for Community will remain together in a BIG microservice
2018-05-18 10:50:43 GMT <yreg> angelborroy, the current image Alfresco ships does indeed cripple CE
2018-05-18 10:51:46 GMT <yreg> But community is more than welcome to fill in that gap, and I already see that keensoft is helping with that (referring to the enhanced docker-compose ... )
2018-05-18 10:51:51 GMT <angelborroy> fcorti said that “well-size” services (like LibreOffice, ImageMagick and PDF Renderer) are only for Enterprise
2018-05-18 10:52:00 GMT <angelborroy> The same criteria is expected for all the others
2018-05-18 10:54:32 GMT <angelborroy> Probably I’m stopping to work with Alfresco in the next weeks, but I’m seeing a Docker Images market for Alfresco 6
2018-05-18 10:54:52 GMT <angelborroy> Similar to addons but for afined Docker images
2018-05-18 10:55:00 GMT <AxelFaust> So no luck ẃith your internal pitches?
2018-05-18 10:55:29 GMT <angelborroy> nope
2018-05-18 10:55:46 GMT <angelborroy> In fact, I’m waiting for my next project in June
2018-05-18 10:55:52 GMT <angelborroy> And it’s not related with Alfresco
2018-05-18 10:56:41 GMT <angelborroy> btw, this makes my (possible) candidature to OOTB hard to be performed
2018-05-18 13:21:31 GMT <mbui> Can people vote for a FreeMarker debugger in IntelliJ? Maybe with enough attraction JetBrains will implement it. https://youtrack.jetbrains.com/issue/IDEABKL-5436#
2018-05-18 13:22:18 GMT <angelborroy> I’m not using even Java debugger… so
2018-05-18 13:22:56 GMT <yreg> mbui, if it was there since 2008 and it hasn't been implemented yet, I doubt it would get more attention now
2018-05-18 13:24:13 GMT <mbui> One can dream, right? ;) Would be nice though, havn't found any tool out there to debug FTL.
2018-05-18 13:34:13 GMT <bhagyas> mbui: You can
2018-05-18 13:35:11 GMT <bhagyas> t
2018-05-18 13:35:12 GMT <bhagyas> :P
2018-05-18 13:35:38 GMT <bhagyas> there are no tools to debug *any* template language for that matter, what you can debug is the parser
2018-05-18 13:42:22 GMT <mbui> Freemarker has implemented a debugging API, but it's in experimental status. I guess creating a debugger for FreeMarker is not impossible. IntelliJ has created "visual debugging" for other template languages: https://blog.jetbrains.com/pycharm/2017/06/template-debugging/
2018-05-18 13:42:23 GMT <alfbot> Title: Template Debugging | PyCharm Blog (at blog.jetbrains.com)
2018-05-18 13:43:21 GMT <angelborroy> mbui, sorry but I not get the point, what exactly do you want to debug in FTL?????
2018-05-18 13:43:29 GMT <angelborroy> The value of a variable or what?
2018-05-18 13:43:38 GMT <angelborroy> I don’t imagine anything else to debug…
2018-05-18 13:47:17 GMT <mbui> Pretty much the same reason you'd want to debug js/java. Variable scope, stepping (see how variables change based on code), watchers, expression evaluators etc would be nice.
2018-05-18 13:51:44 GMT <Loftux> Any idea why alfresco doesn't read umlauts correctly in alfresco-global.properties (a custom setting)? I already have JAVA_OPTS -Dfile.encoding=UTF-8, checked that the alfresco-global.properties is utf-8.
2018-05-18 13:52:28 GMT <Loftux> This is on Ubuntu 14.04 and tomcat
2018-05-18 13:55:48 GMT <mbui> Loftux: Not sure if this helps, but I had similar issue (not alfresco-global.properties) where the culprit was in the server.xml for tomcat. URIEncoding="UTF-8" had to be added to the connector.
2018-05-18 13:56:46 GMT <mbui> Probably doesn't help, since it's URIEncoding haha.
2018-05-18 13:57:50 GMT <Loftux> mbui: Yeah, and checked that I have that. It also happens for the outgoing test email, mail.testmessage.subject=Outbound SMTP to Löfgren (my last name), the ö becomes mangled
2018-05-18 13:58:11 GMT <Loftux> So it is something with the read of the file.
2018-05-18 14:00:31 GMT <mbui> I've noticed in a lot of our config files we've had to encode those characters, such as in the ldap-configuration files (*.properties files).
2018-05-18 14:06:26 GMT <angelborroy> https://community.alfresco.com/community/ecm/blog/2018/05/18/how-to-deploy-acs-6-community-in-real-envs-using-official-docker-compose
2018-05-18 14:06:28 GMT <alfbot> Title: How to deploy ACS 6 Community in real envs usin... | Alfresco Community (at community.alfresco.com)
2018-05-18 14:06:33 GMT <angelborroy> Any feed back is welcomed!
2018-05-18 14:29:07 GMT <yreg> angelborroy, done !
2018-05-18 14:29:50 GMT <angelborroy> Thanks yreg
2018-05-18 14:29:59 GMT <angelborroy> Sadly I don’t understand your first sentence
2018-05-18 14:30:12 GMT <angelborroy> I’m using a default httpd image, but I need to include the proxy inverse
2018-05-18 14:30:18 GMT <angelborroy> Is that what you were referring?
2018-05-18 14:30:29 GMT <yreg> Instead of building http when you run, you just use the one from dockerhub
2018-05-18 14:30:40 GMT <yreg> And mount configuration and certificates as volumes
2018-05-18 14:30:50 GMT <angelborroy> ah, ok
2018-05-18 14:31:32 GMT <yreg> That way you don't have more heat for startup (building the image) and you can change configuration easily without having to rebuild
2018-05-18 14:31:40 GMT <angelborroy> yep
2018-05-18 14:31:57 GMT <angelborroy> I was trying to make something simple, as volumes are created dynamically
2018-05-18 14:32:07 GMT <yreg> Note that with your current approach, even if you do "docker-compose up -d" your image does not always get rebuilt
2018-05-18 14:32:09 GMT <angelborroy> It’s supposed to be used by people with low Docker skills
2018-05-18 14:32:13 GMT <yreg> Unless you specify --build
2018-05-18 14:32:25 GMT <angelborroy> As I said is for Docker newbies
2018-05-18 14:33:47 GMT <angelborroy> Thanks!
2018-05-18 15:01:08 GMT <mmuller_> Hi guys. Have a lovely weekend :)
The other logs are at http://esplins.org/hash_alfresco