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.
2017-09-06 08:54:20 GMT <AFaust> Muaha - switching source projects to GitLab/GitHub has some annoying side-effects for Enterprise customers right now... Customer needs to migrate to 5.2.1 and there is potentially no way to get the sources of all projects in a way that would allow them to build required source-level patches with good amount of confidence
2017-09-06 09:05:46 GMT *** david____ is now known as david_____
2017-09-06 09:06:44 GMT <david_____> hello! when I add users using the CSV file, the email sent to them has the http://localhost:8080/share URI for Alfresco... which template do i have to change so the real DNS name shows up in here?
2017-09-06 09:10:03 GMT <MTielemans> change share.host in alfresco-global.properties to the external DNS name
2017-09-06 09:16:08 GMT <david_____> ah, that's easy... :) thx!
2017-09-06 09:17:59 GMT <david_____> I recall there was a property to force anyone trying to access a shared document via link to first be logged on, but I cannot quite find it now
2017-09-06 09:27:39 GMT <MTielemans> In the docs it says: People with access to the URL can view the file. Those with an Share account have the option of signing in; those without an account can create one. So that should be default behaviour
2017-09-06 09:27:43 GMT <MTielemans> http://docs.alfresco.com/5.2/tasks/library-item-share.html
2017-09-06 09:27:44 GMT <alfbot> Title: Sharing files | Alfresco Documentation (at docs.alfresco.com)
2017-09-06 09:47:22 GMT <david_____> OK, thx
2017-09-06 10:47:34 GMT <micb> Can you downgrade amps/modules without having to execute update queries to the DB?
2017-09-06 11:14:28 GMT <MTielemans> yes, usually a module or amp should not directly alter the database structure.
2017-09-06 13:21:35 GMT *** IanW2 is now known as IanW1
2017-09-06 13:40:19 GMT <micb> In a multi-tenancy setup, the workflows/tasks started in the tenant doesn't have a Process Diagram. Inspecting further in the Activiti Workflow Console it is definitely missing. Is this a known issue?
2017-09-06 13:54:15 GMT <resplin> AxelFaust: Can you explain the problem in more detail? I thought you would just do a Maven build and it would fetch all the sources you need?
2017-09-06 13:54:35 GMT <resplin> The Enterprise sources jars are on the Alfresco Nexus Artifactory.
2017-09-06 13:54:55 GMT <resplin> (We specifically considered that use case, and so if it doesn't work we want to fix it.)
2017-09-06 13:55:14 GMT <resplin> micb: Are you using Content Services multi-tenancy?
2017-09-06 13:55:35 GMT <resplin> Or Process Services / Activiti multi-tenancy?
2017-09-06 13:55:49 GMT <micb> resplin: Content Services MT.
2017-09-06 13:56:10 GMT <resplin> There are a lot of limitations with that implementation, but I'm not aware of that specific one.
2017-09-06 13:56:16 GMT <resplin> What is your use case?
2017-09-06 13:56:52 GMT <resplin> I am the Product Manager for that product, and am considering taking that capability out due to its deficiencies.
2017-09-06 13:57:02 GMT <micb> For some reason WorkflowInstanceDiagramGet returns false on !workflowService.hasWorkflowImage(workflowInstanceId) for my tasks created in the tenant.
2017-09-06 13:57:11 GMT <resplin> https://community.alfresco.com/docs/DOC-1085-alfresco-ecm-product-roadmap#jive_content_id_Deferred_Efforts
2017-09-06 13:57:13 GMT <alfbot> Title: Content Repository Roadmap 2017 | Alfresco Community (at community.alfresco.com)
2017-09-06 13:57:33 GMT <resplin> micb: Do you mind sharing your use case for multi-tenancy?
2017-09-06 13:57:43 GMT <micb> resplin: The bug is simply that all workflows/tasks created in the tenant doesn't get a process diagram.
2017-09-06 13:58:14 GMT <resplin> micb: I understand that. I'm curious what leads you to use multi-tenancy.
2017-09-06 14:00:18 GMT <micb> Not quite 100%, but I think it's to simply have different parts of the organisation and their siblings as their own tenant.
2017-09-06 14:00:40 GMT <resplin> Are you using Alfresco Content Services, or Alfresco Community Edition?
2017-09-06 14:01:12 GMT <micb> We're using enterprise. 4.2.7
2017-09-06 14:01:54 GMT <resplin> multi-tenancy is most valuable for SaaS OEMs. Customers who want to segment between departments usually use sites and permissions to create that segmentation.
2017-09-06 14:02:03 GMT <resplin> I mean repo-level multi-tenancy.
2017-09-06 14:03:30 GMT <micb> resplin: Not sure what all that means, we've implemented tenants on our test servers and the customers are satisfied with the solution. Except one minor bug which is that the process diagrams are not showing in the tenants.
2017-09-06 14:04:27 GMT <resplin> micb: What it means is that you should be cautious going down the repo-level multi-tenancy route for a new solution as it is likely to go away.
2017-09-06 14:05:13 GMT <resplin> If you send me your contact information, we can discuss in more detail.
2017-09-06 14:05:52 GMT <resplin> (I'm keeping a list of customers who want repo-level multi-tenancy as we make our future plans.)
2017-09-06 14:07:05 GMT <resplin> I'm not familiar with the specific bug you are seeing, but I am not surprised by it.
2017-09-06 14:09:29 GMT <micb> resplin: Can you elaborate on "as it's likely to go away" and "but I am not surprised by it"?
2017-09-06 14:09:51 GMT <resplin> See the note on multi-tenancy here: https://community.alfresco.com/docs/DOC-1085-alfresco-ecm-product-roadmap#jive_content_id_Deferred_Efforts
2017-09-06 14:09:53 GMT <alfbot> Title: Content Repository Roadmap 2017 | Alfresco Community (at community.alfresco.com)
2017-09-06 14:10:24 GMT <resplin> The workflow process diagrams are not part of our cloud solution, so I'm not certain that they are tested in a multi-tenant configuration.
2017-09-06 14:13:55 GMT <AxelFaust> resplin: Was in a meeting - did you refer to my mention of the customer migration?
2017-09-06 14:14:21 GMT <resplin> To your mention of the challenge of building source level patches with the new repo organization.
2017-09-06 14:14:37 GMT <AxelFaust> If so, then there is currently no way to access Enterprise sources for 5.2.1 - you can only rely on the Maven source attachment, which is a horrible basis to potentially build a patched JAR
2017-09-06 14:15:24 GMT <AxelFaust> Reply from Support to the customer was essentially "we have switched source systems without considering access questions for our customers / partners and will now have to find a solution for that" (paraphrased)
2017-09-06 14:15:38 GMT <resplin> That's an unfortunate reply.
2017-09-06 14:15:42 GMT <resplin> But that's how support sees it.
2017-09-06 14:16:06 GMT <AxelFaust> It's not like Jens Goldhammer and I have noted that this would be required in a comment to the "Source Code" page on community.alfresco.com in January this year
2017-09-06 14:17:14 GMT <resplin> We considered the use case, but decided it was better to move quickly to GitHub than to wait for IT to figure out external access. In the interim, engineering can manually provide access. I don't know why support didn't request it.
2017-09-06 14:17:17 GMT <resplin> I'll look into that.
2017-09-06 14:18:18 GMT <resplin> But the source jars are available, so you have all the source you need. But you find it painful to unzip the jars to get them into a manageable state. Am I understanding correctly?
2017-09-06 14:19:04 GMT <AxelFaust> It's what the customer has started to do - download the source JARs for each of the projects that they needed to source-level patch before, and put the source files into a local Git project to be included in the build automation...
2017-09-06 14:19:48 GMT <AxelFaust> They'll have to do the same for the static web artifacts (JS / CSS) as well and eliminate the dynamically generated ones so they can generate them again after the changes...
2017-09-06 14:20:18 GMT <resplin> We have an internal process for customers to get access to the Enterprise sources, but it is manual and we haven't used it yet. That's why people are a bit confused at the moment.
2017-09-06 14:20:40 GMT <AxelFaust> And as always, there is no guarantee that the contents of the sources JARs match the state of the released WAR...
2017-09-06 14:20:54 GMT <resplin> They should match . . .
2017-09-06 14:21:14 GMT <AxelFaust> (It is not like there haven't been inconsistencies with Maven artifacts in the past)
2017-09-06 14:53:51 GMT <Tichodroma> is there a Java method with equivalent behaviour to the JS .createNode(name, type, props, assoc, assocName)?
2017-09-06 14:53:58 GMT <Tichodroma> especially the assocName is important
2017-09-06 14:54:45 GMT <AxelFaust> Tichodroma: Ehm - what about NodeService.createNode?
2017-09-06 14:54:53 GMT <Tichodroma> FileFolderService?
2017-09-06 14:56:14 GMT <Tichodroma> OK, NodeService then :)
2017-09-06 14:56:15 GMT <MarkTielemans> Tip: if you don't know how to do something that you do know how to do in JS, check out the Type hierarchy for the BaseProcessorExtension class. This will give you all Java class representations of your JS root scope objects.
2017-09-06 15:01:10 GMT <Tichodroma> the idea of the assocQName is, well, an idea ...
2017-09-06 15:03:41 GMT <MarkTielemans> The FileFolderService's createNode just encapsulates NodeService's createNode anyway
2017-09-06 15:51:52 GMT <david_____> is there any add-on that allows to follow a document as we can follow a user? for 5.2.x
2017-09-06 15:54:23 GMT <AxelFaust> david____: I had co-developed such an addon at my old employer. Unfortunately since I left I doubt it will have been updated for 5.2. Also, it was a commercial one...
2017-09-06 17:37:06 GMT <tfdsimoes> hey guys in community.alfresco.com in FEATURED EVENTS you have this "Office Hours: Hackathon Demo Sept 2, 2017" :) and inside of the event say 29 of September
2017-09-06 17:39:50 GMT <AxelFaust> I rarely check the event dates - looks like Kristen slipped in the calendar month when setting this up
2017-09-06 17:40:11 GMT <AxelFaust> It actually is scheduled for September 29th...
2017-09-06 17:54:11 GMT <AxelFaust> tfdsimoes: It should be corrected hopefully by tomorrow - Kristen is informed
2017-09-06 17:54:24 GMT <resplin> September 29?
2017-09-06 17:54:28 GMT <resplin> I thought it was September 22
2017-09-06 17:54:32 GMT <AxelFaust> Unfortunately I can't edit those events as a moderator
2017-09-06 17:54:36 GMT <resplin> Oh, sorry, the Demo Day.
2017-09-06 17:54:38 GMT <resplin> Whoops.
2017-09-06 17:54:42 GMT <resplin> panic averted
2017-09-06 17:55:01 GMT <AxelFaust> at least you're heart is now beating a couple of bpms higher
2017-09-06 18:06:50 GMT <douglascrp_> ~later tell david_____ https://github.com/ITDSystems/alvex-inform-policy-extension
2017-09-06 18:06:50 GMT <alfbot> douglascrp_: The operation succeeded.
2017-09-06 19:26:06 GMT <xkahn> I'm trying to solve a permissions problem in a async script.
2017-09-06 19:26:17 GMT <xkahn> The problem is that I don't know which script is causing the problem
2017-09-06 19:26:20 GMT <xkahn> 2017-09-06 15:05:14,113 ERROR [repo.action.AsynchronousActionExecutionQueueImpl] [defaultAsyncAction29] Failed to execute asynchronous action: Action[ id=272d7e50-9f4e-40b9-8bf0-850b9886b40a, node=null ]: Access is denied.
2017-09-06 19:26:20 GMT <xkahn> org.alfresco.error.AlfrescoRuntimeException: 08061139634 Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnUpdatePropertiesPolicy.onUpdateProperties(org.alfresco.service.cmr.repository.NodeRef,java.util.Map,java.util.Map) in transaction ff59a182-ce35-4d32-a4a4-9e3b7b4e18d5
2017-09-06 19:26:40 GMT <xkahn> How can I figure out which script is being referenced?
2017-09-06 21:26:52 GMT <xkahn> Don't all speak up at once. Given an access denied message with a Action ID and a transaction, can I find the async script that caused the error?
2017-09-06 21:27:06 GMT <xkahn> I guess I have an identifier as well: [defaultAsyncAction29]
2017-09-06 21:28:21 GMT <resplin> I assume that you already increased the logging on node.NodeServicePolicies?
2017-09-06 21:28:31 GMT * resplin recognizes that he has no idea what he is talking about
2017-09-06 21:51:30 GMT <xkahn> resplin: I... haven't. Although I can ask to have that logging increased.
2017-09-06 21:58:26 GMT <resplin> ~later tell xkahn I'm not certain it would help to increase that logging, but it is an idea.
2017-09-06 21:58:26 GMT <alfbot> resplin: The operation succeeded.
2017-09-06 21:59:06 GMT <resplin> ~later tell xkahn I don't know how a defaultAsyncAction29 would map back to the script.
2017-09-06 21:59:06 GMT <alfbot> resplin: The operation succeeded.
The other logs are at http://esplins.org/hash_alfresco