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-10-09 03:44:19 GMT <alfresco-discord> <binduwavell> @kgastaldo looking for someone to talk with.

2018-10-09 07:31:55 GMT <alfresco-discord> <bhagyas> http://docs.paralleluniverse.co/quasar/#fibers | https://rcoh.me/posts/why-you-can-have-a-million-go-routines-but-only-1000-java-threads/

2018-10-09 07:31:56 GMT <alfbot> Title:Parallel Universe (at docs.paralleluniverse.co)

2018-10-09 07:32:05 GMT <alfresco-discord> <bhagyas> Has anyone played around with this, instead of JVM Threads?

2018-10-09 07:34:24 GMT <alfresco-discord> <bhagyas> and an upcoming proposal: http://cr.openjdk.java.net/~rpressler/loom/Loom-Proposal.html

2018-10-09 07:34:25 GMT <alfbot> Title:Loom Proposal.md (at cr.openjdk.java.net)

2018-10-09 09:44:11 GMT <kkore> hi all , workflow not ending if I create the document and add it to document to bpm_package same wf if I upload the document then it is working fine. Adding created document to packages like this bpm_package.addNode(tempDoc)

2018-10-09 09:46:04 GMT <kkore> checked by adding logs also not able to find the what is causing the workflow not end.

2018-10-09 12:21:23 GMT <alfresco-discord> <dgradecak> hi, any idea what is the "community APS", is it supposed to be the activiti webapp?

2018-10-09 12:21:47 GMT <alfresco-discord> <dgradecak> also, does anyone knows why APS uses elasticsearch instead of SOLR?

2018-10-09 12:32:22 GMT <alfresco-discord> <hiten> Hi Guys

2018-10-09 12:32:44 GMT <alfresco-discord> <hiten> can anyone tell me what is meant by nodeid in the following api requrest for solr

2018-10-09 12:33:02 GMT <alfresco-discord> <hiten> https://docs.alfresco.com/community5.0/references/RESTful-SolrNodecontentGet.html

2018-10-09 12:33:03 GMT <alfbot> Title:Get node property content as text | Alfresco Documentation (at docs.alfresco.com)

2018-10-09 12:33:16 GMT <alfresco-discord> <hiten> API is - GET /alfresco/service/api/solr/textContent?nodeId={nodeId}&propertyQName={propertyQName?}

2018-10-09 12:34:04 GMT <alfresco-discord> <hiten> as far as I know for a noderef - workspace://SpacesStore/aa1c1541-5faa-47ed-a7b2-1210dc636225 nodeID should be aa1c1541-5faa-47ed-a7b2-1210dc636225

2018-10-09 12:34:15 GMT <alfresco-discord> <hiten> but I am getting number format exception in the logs

2018-10-09 12:34:57 GMT <alfresco-discord> <hiten> java.lang.NumberFormatException: For input string: "aa1c1541-5faa-47ed-a7b2-1210dc636225"

2018-10-09 12:53:04 GMT <alfresco-discord> <dgradecak> @hiten it is the db node id

2018-10-09 12:54:18 GMT <alfresco-discord> <dgradecak> what you reference to is the nodref id part, however from a nodeRef you could find the dbnode id via the v1 rest api

2018-10-09 13:00:07 GMT <alfresco-discord> <hiten> ok

2018-10-09 13:00:08 GMT <alfresco-discord> <hiten> thanks

2018-10-09 13:03:18 GMT <alfresco-discord> <hiten> is sys:node-dbid the dbid we are talking here

2018-10-09 13:03:20 GMT <alfresco-discord> <hiten> ??

2018-10-09 13:08:00 GMT <alfresco-discord> <douglascrp> @hiten yes, that is it

2018-10-09 13:16:44 GMT <alfresco-discord> <hiten> Yupp

2018-10-09 13:18:02 GMT <alfresco-discord> <hiten> Thanks a lot

2018-10-09 13:38:36 GMT <alfresco-discord> <kgastaldo> @binduwavell - @ohej suggested Greg and Ray for details. I'll email you and see if we can set something up.

2018-10-09 13:39:08 GMT <alfresco-discord> <dgradecak> @Francesco Corti any clue about this: "hi, any idea what is the "community APS", is it supposed to be the activiti webapp? also, does anyone knows why APS uses elasticsearch instead of SOLR?" or the only way to know that is their giteer channel?

2018-10-09 13:59:23 GMT <alfresco-discord> <kgastaldo> @dgradecak - Yes "community APS" refers to Activiti

2018-10-09 14:13:00 GMT <alfresco-discord> <kgastaldo> And Mario Romano shared this: "APS uses elasticsearch I don’t think I can give a valid reason, was a preference of the APS/Activiti team back in the time for APS 2 and Activiti 7 we have a different design (edited) that will allow SOLR to be plugged in"

2018-10-09 14:35:03 GMT <alfresco-discord> <Francesco Corti> ah... @kgastaldo has been faster

2018-10-09 14:35:07 GMT <alfresco-discord> <Francesco Corti> πŸ˜‰

2018-10-09 14:35:19 GMT <alfresco-discord> <Francesco Corti> thank you @kgastaldo

2018-10-09 14:42:09 GMT <alfresco-discord> <kgastaldo> NP

2018-10-09 14:49:32 GMT <alfresco-discord> <anghelutar> hi all is it possible to have "editor" permission for an authority on a node whose parent has "consumer" permission for the same authority without creating a local permission? (inheritance=on) with a policy or an interceptor

2018-10-09 14:58:52 GMT <alfresco-discord> <dgradecak> @anghelutar "without creating a local permission" probably not

2018-10-09 14:59:24 GMT <alfresco-discord> <dgradecak> as a local permission you would set the editor role and it would do what you want

2018-10-09 15:04:27 GMT <AFaust> @anghelutar This would only be possible using DynamicAuthority

2018-10-09 15:05:22 GMT <AFaust> DynamicAuthority is the concept to give users additional roles apart from the static ACLs based on some logic that evaluates the node in question (e.g. checks for "consumer" permission on the parent)

2018-10-09 15:06:23 GMT <AFaust> Unforunately the concept is not well documented and due to some impractical Spring bean definition in core Alfresco (and lack of proper registration APIs) can only be added by messing with core beans (i.e. via post processors)

2018-10-09 15:06:53 GMT <AFaust> Also, they can be quite critical with regards to performance if their implementation / logic is not "top notch" / trivial

2018-10-09 15:07:30 GMT <AFaust> You should always avoid to have DynamicAuthority for any "Read" or derived permissions, as this would deactivate some of the ACL check optimisations around SOLR...

2018-10-09 16:26:13 GMT <alfresco-discord> <dgradecak> @kgastaldo thank you for being faster than @Francesco Corti πŸ˜‰

2018-10-09 23:47:29 GMT <alfresco-discord> <Erik.whipp> does ScriptNode.addAspect not add the aspect if it is already associated with a node?

End of Daily Log

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