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

2018-08-21 06:06:30 GMT <alfresco-discord> <kkore> Hi all , can we create multiple company_home repo in alfresco ?

2018-08-21 06:19:28 GMT <alfresco-discord> <Loftux> @kore Technically there is support for multi-tenancy in Alfresco, but has some limitations, and may be removed in the future.

2018-08-21 06:27:19 GMT <alfresco-discord> <kore> @Loftux it mean that if we use multi-tenancy it'll create the multi company_home repository ?

2018-08-21 06:28:25 GMT <alfresco-discord> <Loftux> @kore https://docs.alfresco.com/community5.1/concepts/mt-intro.html

2018-08-21 06:28:27 GMT <alfbot> Title:Setting up multi-tenancy | Alfresco Documentation (at docs.alfresco.com)

2018-08-21 07:25:27 GMT <alfresco-discord> <digcat> hey @Francesco Corti do you know anything about https://azuremarketplace.microsoft.com/en-in/marketplace/apps/aad.alfresco?tab=Overview

2018-08-21 07:25:29 GMT <alfbot> Title:Alfresco (at azuremarketplace.microsoft.com)

2018-08-21 07:25:58 GMT <alfresco-discord> <digcat> i didnt see anything about azure so far, but I was asked about this today over here

2018-08-21 07:40:18 GMT <alfresco-discord> <Francesco Corti> mmm... I'm not aware about any similar actions like this. I'm asking internally if it is something known or not.

2018-08-21 08:21:22 GMT <alfresco-discord> <digcat> ahh ok

2018-08-21 08:21:28 GMT <alfresco-discord> <digcat> thankyou,

2018-08-21 10:09:00 GMT <alfresco-discord> <Loftux> I'm trying to debug AOS, setting org.alfresco.officeservices=DEBUG, can't find any documentation, so is there an official AOS debug method?

2018-08-21 10:09:14 GMT <alfresco-discord> <Loftux> Nothing gets logged with this

2018-08-21 10:10:03 GMT <yreg> @Loftux I would unzip the aos sources jar and lookup the main package and use that

2018-08-21 10:10:18 GMT <yreg> Or was that exactly what you have done already ?

2018-08-21 10:10:25 GMT <alfresco-discord> <Loftux> Done that yes

2018-08-21 10:10:52 GMT <alfresco-discord> <bhagyas> Probably a good time to open source AOS in the first place cc: @Francesco Corti

2018-08-21 10:10:58 GMT <yreg> If the request is associated with EE client, you should be able to request source code for AOS through EE portal

2018-08-21 10:11:20 GMT <alfresco-discord> <Loftux> So also added org.alfresco.aos-module, still nothing.

2018-08-21 10:11:22 GMT <yreg> s/EE/Support/

2018-08-21 10:11:55 GMT <alfresco-discord> <Loftux> But at least I hope to find out if there is logging built in to the AOS

2018-08-21 10:12:29 GMT <yreg> Could you use JMX to temporarily set bootlegger to debug level to find the right package to use ?

2018-08-21 10:12:42 GMT <yreg> If any of course

2018-08-21 10:12:57 GMT <yreg> Bytecode surely contain that information

2018-08-21 10:13:14 GMT <alfresco-discord> <Loftux> @yreg This is actually for our own install, had to start playing with MS Office

2018-08-21 10:14:55 GMT <alfresco-discord> <Francesco Corti> @bhagyas I'm not aware about any plan to open source AOS yet.

2018-08-21 10:16:04 GMT <alfresco-discord> <bhagyas> 🤷🏽

2018-08-21 10:20:05 GMT <alfresco-discord> <bhagyas> @Francesco Corti Is there any new product manager for CE since @resplin left?

2018-08-21 10:27:25 GMT <alfresco-discord> <Loftux> AOS debugging: Some jar decompile, and found out that the loggers to add is not full classname, but "aoservices-err" and "aoservices-trc"

2018-08-21 10:28:37 GMT <AFaust> @Loftux: Sounds like you went through what I already went through earlier this year. Too bad I was on lunch break

2018-08-21 10:38:56 GMT <alfresco-discord> <Loftux> @AFaust So far the only thing I've been able to get is "doPut: Updating content of existing document failed."

2018-08-21 10:43:37 GMT <alfresco-discord> <Francesco Corti> @bhagyas Richard was a lot of things inside Alfresco. He was the Product Manager for the Repository Team => There is not a new PM on the repo team yet (but more news will come soon) He was an advocate for the Open Source solutions and offering (CE included) => This commitment has been "splitted" into several roles. For example I'm helping with the ACS CE releases/announcements and other

2018-08-21 10:43:38 GMT <alfresco-discord> roles in the Organisation are covering what Richard did. I hope this helps to understand.

2018-08-21 11:02:49 GMT <AFaust> @Francesco Corti: Since the Share Connector for APS is no longer supported in 6.0 and moving forward, are there any plans to release the module under an Open Source license so that fixing / enhancing it for existing customers becomes easier?

2018-08-21 11:03:20 GMT <AFaust> I am currently dealing with an issue that I am fairly certain Support would classify as "not a bug" due to "not affecting a feature intended to be supported / used", and being "end of support" almost guarantees that there'll be no enhancement to cover this corner case.

2018-08-21 11:05:43 GMT <yreg> @bhagyas Alfresco says they are looking, but none of their openings does match the role

2018-08-21 11:05:55 GMT <yreg> So they are probably looking internally

2018-08-21 11:06:53 GMT <yreg> Sorry missed fcorti replies ..

2018-08-21 11:07:04 GMT <AFaust> I believe I asked almost the identical question (re. resplin "successor") last Office Hours, so yreg is likely citing the response I / we got then...

2018-08-21 11:48:39 GMT <alfresco-discord> <Francesco Corti> @yreg it's a fair answer. I'm aware Alfresco would like to have more PMs, but in the current open positions it is not there.... maybe it will be in the future. ;-) Oh.... Alfresco has more than 30 open positions... check it out here: https://careers.smartrecruiters.com/Alfresco

2018-08-21 11:48:41 GMT <alfbot> Title:Careers at Alfresco (at careers.smartrecruiters.com)

2018-08-21 11:49:59 GMT <alfresco-discord> <Francesco Corti> AFaust good point to release the Share Connector as Open Source. WIll ask to Doug Johnson

2018-08-21 12:01:40 GMT <alfresco-discord> <bhagyas> 16 sales jobs, 4 engineering jobs ;p

2018-08-21 12:02:07 GMT <yreg> Was going to make the same remark :)

2018-08-21 12:02:38 GMT <yreg> Although some of the other positions seems to require technical background, they are mostly sales oriented

2018-08-21 12:03:24 GMT <alfresco-discord> <Loftux> So the AOS amp has a dependency to alfresco-aos-repo-binding jar that is only available in Alfresco Internal...

2018-08-21 12:03:34 GMT <alfresco-discord> <Loftux> AOS 1.2.0 that is

2018-08-21 12:05:41 GMT <alfresco-discord> <bhagyas> 😄

2018-08-21 12:05:58 GMT <yreg> Is it?, I can see it in EE repo

2018-08-21 12:06:14 GMT <AFaust> That is what he meant I believe

2018-08-21 12:06:37 GMT <yreg> I thought there were an other repo meant strictly for internal devs

2018-08-21 12:06:42 GMT <AFaust> But I can understand that - you only need the AMP as a "binary" bundle for CE, since it contains the JAR

2018-08-21 12:06:52 GMT <alfresco-discord> <Loftux> Yes, AOS amp is public, dependency not.

2018-08-21 12:07:02 GMT <AFaust> And until ~2 weeks ago not even the AMP was available publicly

2018-08-21 12:07:32 GMT <alfresco-discord> <Loftux> Yes, but there is a dependency in the pom, and exclusion doesn't help

2018-08-21 12:08:08 GMT <AFaust> Ok... never had an issue using exclusions for this, provided there was not a bad "<parent>" relationship to an EE POM

2018-08-21 12:08:30 GMT <yreg> @Loftux, try enabling debug log for org.alfresco.module.aosmodule

2018-08-21 12:08:46 GMT <yreg> I see that folder structure in the jar

2018-08-21 12:09:22 GMT <alfresco-discord> <Loftux> @yreg Debug is working now, my conclusion is that i need the latest version of AOS,

2018-08-21 12:09:56 GMT <alfresco-discord> <Loftux> Or at least wanted to try

2018-08-21 12:10:19 GMT <alfresco-discord> <Loftux> So just change version number and re-package didn't work.

2018-08-21 12:14:56 GMT <alfresco-discord> <Loftux> It actuall shows here https://artifacts.alfresco.com/nexus/#nexus-search;quick~alfresco-aos, goto version 1.2.0, select amp, select maven dependency amp, hit resolve.

2018-08-21 12:14:58 GMT <alfbot> Title:Nexus Repository Manager (at artifacts.alfresco.com)

2018-08-21 12:16:06 GMT <alfresco-discord> <Loftux> But this should work <dependency> <groupId>org.alfresco.aos-module</groupId> <artifactId>alfresco-aos-module</artifactId> <version>${alfresco.office-services.version}</version> <type>amp</type> <exclusions> <exclusion> <groupId>org.alfresco.aos-module</groupId>

2018-08-21 12:16:06 GMT <alfresco-discord> <artifactId>alfresco-aos-repo-binding</artifactId> </exclusion> </exclusions> </dependency>

2018-08-21 12:16:30 GMT <alfresco-discord> <Loftux> Still trying to download the dependency

2018-08-21 13:52:42 GMT * AFaust is having one of these moments again where only a heavy sigh can express the frustration with Alfresco Process Services implementation quality...

2018-08-21 13:54:38 GMT <AFaust> So, when you are about to start a process which supports attaching files (either from a remote repository or full upload of a local file), APS will create a "temporary" RelatedContent entity while you are still working with the form.

2018-08-21 13:55:00 GMT <AFaust> Only when the form is submitted will this "temporary" RelatedContent be updated with the ID of the process you just started.

2018-08-21 13:56:35 GMT <AFaust> The reason I put the "temporary" in quotation marks is that they are anything but. There is no cleanup of "temporary" RelatedContent entities, so when you decide not to submit your form (or your browser session dies for some reason), these entities (and the binary document content they reference) will live forever in your system

2018-08-21 13:57:18 GMT <AFaust> Though if accumulating garbage was all this did, I would not be frustrated.

2018-08-21 13:58:45 GMT <AFaust> When you reference an existing document in a remote repository (i.e. Alfresco Repository, but I guess even Box and other supported integrations may be affected), APS uses a "source" + "sourceId" to reference the content instead of it being stored on local disk.

2018-08-21 13:59:46 GMT <AFaust> There is a ReST API which lets you query for processes related to a specific document via the source + ID. Of course that breaks when it finds such a "temporary" RelatedContent of an aborted process start form.

2018-08-21 14:00:23 GMT <AFaust> There is no cleanup... there appears to be no API for deleting it. You can never find related processes for a document which had once had a start form aborted. Brilliant...

2018-08-21 14:02:39 GMT <AFaust> Ok, there is an API to delete a RelatedContent by ID, but there is no means to obtain an ID for such "temporary" instances based on the affected document

2018-08-21 19:42:55 GMT <alfresco-discord> <yreg> @AFaust I feel your pain, had only been working with APS for a little time, and I did already witness enough mess to push me away of the product, honestly, jokes aside, I find Activiti CE to be far more robust...

2018-08-21 19:43:49 GMT <AFaust> Are you talking about the core engine or the CE variant of APS? Because the latter should be the same mess as APS itself

2018-08-21 19:44:34 GMT <AFaust> And yes, the core engine is much more well designed / built. The APS stuff just looks like something cobbled together in a short amount of time to make a product out of it without any care for long-term maintenance

2018-08-21 19:52:22 GMT <alfresco-discord> <Erik.whipp> Hey all, I haven't found much information on testing in Alfresco Content Services and was wondering if anyone had any tips/pages for what they do for testing.. or just any advice in general.

2018-08-21 20:16:19 GMT *** CptLuxx_ is now known as CptLuxx

2018-08-21 22:24:39 GMT <alfresco-discord> <Shibak Tensai> oO I guess I'm putting my modifications in the wrong area for the sdk....everytime I compile my files and path disappear.

2018-08-21 22:24:47 GMT <alfresco-discord> <Shibak Tensai> Where should I be putting them?

End of Daily Log

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