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-08-14 03:40:52 GMT <alfresco-discord> <Loftux> @yreg @AFaust It was by my suggestion that we filter out the ootb bot, the same way we filter out the alfbot not to duplicate messages or expansions of links. When you changed it back it is now mostly bot posts and three-way relays in the channel. Why do we need this? And blaming @bhagyas for not discussing it first, did you discuss the three-way relay before implementing? So why is this three-way
2018-08-14 03:40:53 GMT <alfresco-discord> relay necessary to keep?
2018-08-14 03:46:27 GMT <alfresco-discord> <Loftux> I honestly thought the three-way relay was not intended, and something that we could fix by filtering out the bot. And I see no reason for this three-way to remain, anyone can answer directly in this channel instead of relaying via another channel.
2018-08-14 05:19:10 GMT <alfresco-discord> <Arun> Is there any scanner addon for alfresco process servicde
2018-08-14 05:58:07 GMT <AFaust> @Loftux: There is but a minor difference between adding a voice/nick on IRC and suppressing one (in whatever channel). Since there already was discussion about the bot yesterday afternoon and @yreg adapted it to produce less of an overhead in messages, that thread could have also been continued instead of deciding to "fix" it by blocking.
2018-08-14 06:01:00 GMT <AFaust> Main point is: What rule in which community guidelines was broken by the bot to warrant that? I can't see it hurting anything/anyone, and no disputable content was distributed using it.
2018-08-14 06:01:08 GMT <alfresco-discord> <bhagyas> Godmorgon AFaust
2018-08-14 06:01:29 GMT <alfresco-discord> <bhagyas> AFaust, the bot was relaying messages, and I asked for a webhook so we can have the same messages shown here
2018-08-14 06:01:40 GMT <alfresco-discord> <bhagyas> I don;t understand @yreg has a problem with that
2018-08-14 06:01:58 GMT <AFaust> Because the bot is primarily an IRC bridge
2018-08-14 06:02:05 GMT <alfresco-discord> <bhagyas> He first sets up chat room saying that it is to record history, and a moment later, two users are relaying messages from that room
2018-08-14 06:02:28 GMT <alfresco-discord> <bhagyas> If everyone starts their own servers and want to relay messages from that, webhooks are the way to go
2018-08-14 06:02:44 GMT <alfresco-discord> <bhagyas> not a clusterf*ck of spam like messages
2018-08-14 06:03:39 GMT <alfresco-discord> <bhagyas> I hope you understand my point of view here
2018-08-14 06:04:53 GMT <alfresco-discord> <bhagyas> not two, as I understand it - just him
2018-08-14 06:05:12 GMT <alfresco-discord> <bhagyas> for some reason he is not willing to be on IRC or on the Discord, but rather his own channel
2018-08-14 06:05:41 GMT <alfresco-discord> <Loftux> There has been no suppression of messages. Anyone is welcome to post here. The reason for the bridge is for one user only to not be on this channel and relay via another channel. Why do we need this? If you don't want to be on this channel, one can be on the irc only, it will post here. So again, why do we need to relay anther channel?
2018-08-14 06:05:58 GMT <alfresco-discord> <bhagyas> and now he makes it an issue about an ownership, when it's a discussion about the bridge we have on this channel
2018-08-14 06:06:17 GMT <alfresco-discord> <bhagyas> I have a hard time understanding his motives at this moment
2018-08-14 06:09:54 GMT <alfresco-discord> <Loftux> My view is this: For this Channel we already have an irc bridge. Any other Channel can set up their own irc bridge, I don't have a say in this. But when it is starting to relay messages between channels it gets confusing where discussions actually take place, and lots of bots clutter the channel.
2018-08-14 06:11:15 GMT <alfresco-discord> <Loftux> So if another channel user responds to irc message, it is between that channel and user and the irc user, that chat to be replicated here.
2018-08-14 06:29:21 GMT <alfresco-discord> <Arun> is it possible to scan the documents in alfresco process service
2018-08-14 07:40:54 GMT <alfresco-discord> <Arun> @Francesco Corti is it possible to scan the documents in alfresco process service
2018-08-14 07:46:13 GMT <alfresco-discord> <Francesco Corti> @Arun it requires an integration with external/third party services. Alfresco has partners that may enable this otherwise you can develop you own integration, if required.
2018-08-14 08:10:37 GMT <alfresco-discord> <yreg> Good morning everyone !
2018-08-14 08:20:16 GMT <alfresco-discord> <yreg> To follow up on the discussion I missed this morning, I am not here to start/be part of a flame war
2018-08-14 08:22:57 GMT <alfresco-discord> <yreg> The motivation behind the extra bridged channel are clear : As bhagyas stated, it was with the sole purpose of preserving a complete searchable history of the discussions on IRC, and it is only bridged to the IRC channel (not a 3 way), hence the fact that it doesn't even tag users from relayed messages ...
2018-08-14 08:24:56 GMT <alfresco-discord> <bhagyas> @yreg You do understand that is why we have the Discord, since it is supposed to make a searchable history
2018-08-14 08:25:13 GMT <alfresco-discord> <bhagyas> Just because you wanted to have your own history, doesn't make it okay to confuse users
2018-08-14 08:25:35 GMT <alfresco-discord> <bhagyas> and I'm all in if anyone including you, wanted to have your own channel
2018-08-14 08:26:03 GMT <alfresco-discord> <bhagyas> Also I didn't see the OOTB was informed of your action to create a history either
2018-08-14 08:26:19 GMT <alfresco-discord> <bhagyas> Saw even AFaust being surprised when you did that
2018-08-14 08:26:29 GMT <alfresco-discord> <yreg> hold it for a moment, it's pretty clear that I am not the only one having reservations on content that was deleted from the histrory on the alfresco-discord
2018-08-14 08:26:53 GMT <alfresco-discord> <bhagyas> Anyone on this Discord can delete their own messages
2018-08-14 08:26:54 GMT <alfresco-discord> <yreg> and one antecedent, no matter how minor it is opens doors for more elaborate scenarios
2018-08-14 08:27:00 GMT <alfresco-discord> <bhagyas> and I have seen you flushing the AlfBot Log
2018-08-14 08:27:07 GMT <alfresco-discord> <bhagyas> and you even did that yesterday
2018-08-14 08:27:09 GMT <alfresco-discord> <yreg> (not that I am here to justify my actions)
2018-08-14 08:28:03 GMT <alfresco-discord> <yreg> in any case, the bot was not producing more noise than the noise produced by alfresco-discord on IRC
2018-08-14 08:28:26 GMT <alfresco-discord> <yreg> so it is definitely unfounded to censor/blacklist it from the relay
2018-08-14 08:29:09 GMT <alfresco-discord> <yreg> in any case, I didn't want to make a seen out of it, and simply renamed the bot
2018-08-14 08:29:48 GMT <alfresco-discord> <yreg> and only elaborated on that when AFaust/xkahn remarked/asked about the renaming
2018-08-14 08:29:48 GMT <alfresco-discord> <Loftux> @yreg So what does it add then so we should keep the 3-way?
2018-08-14 08:32:03 GMT <alfresco-discord> <yreg> I don't like to call it a three way, as I said, main purpose is still to keep a complete log view even if someone gets the bright idea of deleting messages
2018-08-14 08:32:10 GMT <alfresco-discord> <yreg> be back after a meeting
2018-08-14 08:32:15 GMT <alfresco-discord> <bhagyas> @yreg as you do with the alfbot?
2018-08-14 08:32:28 GMT <alfresco-discord> <bhagyas> 😉
2018-08-14 08:50:40 GMT <alfresco-discord> <chandu319> Hi @yreg , Can we display attachment names in dynamic table in alfresco process service?
2018-08-14 08:59:51 GMT <iblanco> Good morning/night to everyone
2018-08-14 09:04:24 GMT <iblanco> I reported a little issue (ALF-22009) and a corresponding patch a couple of months ago and was requested to follow the contribution guide in order for it to be considered. Now i found a couple of free hours and have started looking the guide and trying to guess how to procced. But I'm a little overwhelmed and confused so I thoutght that maybe I could clarify some points in the chat.
2018-08-14 09:10:32 GMT <iblanco> During my last years of working with Alfresco if i found and issue I would report it in issues.alfresco.com and point to the problematic code or attach a little patch if I had it. If I patched it for my use I usually did so in a local copy of the full Alfresco that i managed in my own code repository. Then added an additional suffix to the version code (for example 5.2f-bnv01) and package it or reference it from my SDK
2018-08-14 09:10:32 GMT <iblanco> projects.
2018-08-14 09:12:02 GMT <iblanco> But obviously this is not a sensible thing to do in order to contribute a change upstream.
2018-08-14 09:13:30 GMT <iblanco> Now that ACE has been sliced and ported to several projects in Github I know I should fork the implied project, patch it and then make a pull request referencing the issue. But my doubts arise around how to test it before pull requesting.
2018-08-14 09:14:51 GMT <alfresco-discord> <bhagyas> @Iblanco, I'm not exactly sure, but you might be able to do the same with modules - as long as they are compatible
2018-08-14 09:15:40 GMT <iblanco> If I only fork "alfresco-repository", is there a simple way I can run it? I can only think of "mvn install"-ing it and then creating a SDK project that points to that version. Is that the supposed way to go?
2018-08-14 09:17:07 GMT <iblanco> I've tried to simply do the "mvn install" and I got a tone of errors, mostly related to JDBC configuration. Is this because I'm executing it in "standalone" way or there is just some kind of configuration required for each project?
2018-08-14 09:19:44 GMT <AFaust> iblanco: You are supposed to add unit tests to the project you are patching and use the Maven project to run them.
2018-08-14 09:20:36 GMT <alfresco-discord> <chandu319> Can i get any response on that please
2018-08-14 09:21:11 GMT <AFaust> iblanco: These are the tests I added / modified in my branch to add some virtual folder enhancements: https://github.com/AFaust/alfresco-repository/commit/ed9549bb94198f72fcf11161f50f593c03725d81#diff-485fdebfca82d5552e7f35e1cb00664eL58
2018-08-14 09:21:12 GMT <alfbot> Title:Add support of move / lift restriction on filing folder types · AFaust/alfresco-repository@ed9549b · GitHub (at github.com)
2018-08-14 09:21:44 GMT <AFaust> @chandu319: yreg said he was going to a meeting, so since you tagged him directly, you'll have to wait until he is back for any response
2018-08-14 09:22:51 GMT <iblanco> @AFaust: So then you are supposed to just create a test for the change? Not even running it in a real Alfresco to see that it is working properly?
2018-08-14 09:23:36 GMT <AFaust> iblanco: The Maven project unfortunately is a bit cumbersome. The unit tests all rely on an externally setup database that you need to reference via -D flags. And running all unit tests will take a long time, so you need to select the test to run via another -D flag
2018-08-14 09:24:31 GMT <alfresco-discord> <chandu319> Oh! @AFaust, thank you for your information
2018-08-14 09:24:46 GMT <AFaust> Well, of course ideally you should also run it in a real Alfresco to test if it works, but such a test is not easily transferable via a pull request so the Alfresco folks can exactly reproduce it the same way. So the unit tests are the best thing to do, and they should cover all relevant low level scenarios to be as representative as possible
2018-08-14 09:27:11 GMT <AFaust> iblanco: Just took a look at https://issues.alfresco.com/jira/browse/ALF-22009 - that is a hilarious bug and should have been so easy to fix for them
2018-08-14 09:27:45 GMT <AFaust> Though you only reported it last month, not "a couple of months ago"
2018-08-14 09:29:03 GMT <iblanco> @AFaust: Yes, I Know... obviously I'm not doing the effort for that single bug, I just wanted to have some idea of how to proceed in the future.
2018-08-14 09:29:53 GMT <alfresco-discord> <bhagyas> @AFaust @Iblanco is there any better alternatives available for Alfresco Zip Download functionality?
2018-08-14 09:30:00 GMT <iblanco> @AFaust: Are the required maven flags documented somewhere or should I just dig in the POM and find them? And what about testing the change in a running real Alfresco. How do you go about it? You would "mvn install" the project skipping the tests and then create a dummy SDK project to test it?
2018-08-14 09:30:52 GMT <iblanco> @bhagyas it depends what you want to do. When I want a more serious bulk download I usuaully use FTP.
2018-08-14 09:32:19 GMT <iblanco> @bhagyas and if you have millions of documents to download I suspect that "bulk export toool" might be an addon to consider, but I've never used it.
2018-08-14 09:38:07 GMT <alfresco-discord> <bhagyas> @iblanco not really, looking for something better for a REST based ZIP download
2018-08-14 09:38:17 GMT <alfresco-discord> <bhagyas> (HTTP)
2018-08-14 09:39:17 GMT <iblanco> @AFaust: By the way, can SDK projects point to specific SNAPSHOT projects like the curren alfrescro-repository-7.6-SNAPSHOT ? I guess not, so it seems that testing it in a full fledged Alfresco might be quite hard/cumbersome
2018-08-14 09:41:47 GMT <iblanco> @bhagyas I don't know any better alternative if you want to download everything in a single ZIP. What are your issues with the ZIP Dowload? I guess you might be having issues when the downloaded ZIP is too big, but I'm afroid that there is not a much better easy way to do so. If you want then to download in a single ZIP, the ZIP must be build and this takes time
2018-08-14 09:46:28 GMT <alfresco-discord> <bhagyas> yeah
2018-08-14 09:46:58 GMT <alfresco-discord> <bhagyas> no, we had to extend at a few instances - wasn't very fun to do it
2018-08-14 09:57:26 GMT <fwu2018> hello all
2018-08-14 10:00:29 GMT <iblanco> hi
2018-08-14 10:24:30 GMT <AFaust> iblanco: You mean documented like here: https://github.com/Alfresco/alfresco-repository#building-and-testing
2018-08-14 10:24:31 GMT <alfbot> Title:GitHub - Alfresco/alfresco-repository (at github.com)
2018-08-14 10:26:01 GMT <AFaust> And with regards to testing in a running Alfresco: Build the JAR and put it in an Alfresco server, replacing the original JAR... Never use SDK to run Alfresco, so would not be able to tell you how to go about it using that...
2018-08-14 10:31:59 GMT <AFaust> Also note that alfresco-repository-7.6 is way ahead of what is included in 6.0.7-GA - that uses 6.55. 7.6 is likely already part of the next major version iteration development
2018-08-14 10:54:12 GMT <alfresco-discord> <yreg> back
2018-08-14 11:02:12 GMT <iblanco> @AFaust Ouch! Sorry, was looking at CONTRIBUTING.md and missed that one in the README.md. I'm giving a try to building a test, I've never used JUNIT and I guess starting with Alfresco is not going to be a smoot start... but will give a try.
2018-08-14 11:02:23 GMT <iblanco> Thank you very much for your help.
2018-08-14 11:09:33 GMT <AFaust> iblanco: Yeah, those unit tests in Alfresco are really more like integration tests and as such quite heavy. I also had the issue that when I ran the test cycle without selecting my test (i.e. running all tests), a failure in one test would cause other non-related tests to fail. There seemed to be an issue with how database connections are handled in the tests (got issues with exhausted connection pool and such)
2018-08-14 11:24:33 GMT <alfresco-discord> <bhagyas> @iblanco @AFaust Any of you using Mockito?
2018-08-14 11:26:40 GMT <iblanco> nops
2018-08-14 11:27:52 GMT <AFaust> I believe I am using easymock
2018-08-14 11:28:28 GMT <alfresco-discord> <bhagyas> I'm enjoying using Mockito with Alf modules so far
2018-08-14 11:28:35 GMT <alfresco-discord> <bhagyas> but it can only go so far
2018-08-14 11:28:52 GMT <alfresco-discord> <bhagyas> @AFaust any specific reason you picked easymock?
2018-08-14 11:32:33 GMT <AFaust> Looked at it, it was easy to use, and provided all the options / hooks I needed in order to sufficiently flesh out mock functionality to deal with my unit tests without requiring excessive setup...
2018-08-14 11:33:06 GMT <AFaust> Did not want to make a science out of picking a mocking tool
2018-08-14 11:34:05 GMT <AFaust> From the first page of Mockito, it looks like it works quite similar to it
2018-08-14 11:36:00 GMT <AFaust> Verification appears to be a bit different in that you verify all methods you expected to be performed on a mock in one go instead of individually...
2018-08-14 11:40:03 GMT <alfresco-discord> <bhagyas> wasn't Alfresco already having Mockito in its dependencies?
2018-08-14 11:40:27 GMT <alfresco-discord> <bhagyas> yup, they have it
2018-08-14 11:49:02 GMT <AFaust> Sure, but you don't inherit their test dependencies when you link to their JARs, so there is no real argument to use the same if you are already using something else you are comfortable with.
2018-08-14 11:50:56 GMT <AFaust> And just because Alfresco already has a certain dependency is typically not a good reason in itself to use that. I.e. they had been including ANT for a long time because someone used a single class for handling ZIPs from that library.
2018-08-14 11:52:16 GMT <alfresco-discord> <bhagyas> yeah, but there were some tests to understand how they were using it internally, so we can look and imitate how they perform the tests - which made things easier
2018-08-14 11:53:07 GMT <AFaust> As they were not doing real unit tests, their test cases did not qualify in my mind as good examples...
2018-08-14 11:53:34 GMT <alfresco-discord> <bhagyas> I can't imagine how they are testing today though - the dependencies are everywhere and will become different from each module in no time (even though it's the way to go)
2018-08-14 11:53:35 GMT <AFaust> Anyway... to each his own
2018-08-14 11:54:03 GMT <alfresco-discord> <bhagyas> yeah, They might be focusing on load testing and fixing based on benchmarks
2018-08-14 13:58:55 GMT <fwu2018> what? a clone? :)
2018-08-14 14:37:46 GMT <fwu2018> afaust, do you haver used this (rest) service: https://api-explorer.alfresco.com/api-explorer/#!/process-definitions/getProcessDefinitionImage
2018-08-14 14:37:48 GMT <alfbot> Title:Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)
2018-08-14 14:38:21 GMT <fwu2018> how can it be possible to get an image of a process flow using only the processdefinitionid?
2018-08-14 14:38:49 GMT <fwu2018> how the service knows which process instance Im trying to get?
2018-08-14 14:39:05 GMT <AFaust> fwu2018: I am not using any of the new ReST APIs in any current or past project
2018-08-14 14:39:48 GMT <fwu2018> ok, I just ask because this should be similar to old API
2018-08-14 14:42:30 GMT <AFaust> But it sure can get the process image just from the definition - just not with any marks showing the state of a current process...
2018-08-14 14:43:00 GMT <fwu2018> yes, I think Im looking to the wrong documentation
2018-08-14 14:43:16 GMT <fwu2018> there is a bug writing to the disk on windows temp files
2018-08-14 14:43:47 GMT <fwu2018> i was updating that code in the rest api, but I may ask for an image for both definitions and activeprocesses
2018-08-14 14:43:57 GMT <fwu2018> the documentation was not clear
2018-08-14 14:44:26 GMT <fwu2018> so, basically I was chnaging the wrong file
2018-08-14 14:44:41 GMT <fwu2018> thnk you anyway!
2018-08-14 15:27:52 GMT <Tichodroma> Did this change in 5.1/5.2? A normal user can create a secondary in a folder he is collaborator in. But he is denied to remove this secondary.
2018-08-14 15:36:33 GMT <AFaust> Depends on the role of the normal user. If he is a Collaborator / Contributor, he would not have the necessary DeleteChildren on the folder
2018-08-14 15:37:25 GMT <AFaust> That has not changed as far as I know. Problem is always with accounting for the damn "owner" role, which should just go and die in my opinion (after the initial transaction is complete)
The other logs are at http://esplins.org/hash_alfresco