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-02-22 08:22:45 GMT <twen> hello

2018-02-22 08:37:46 GMT <dgradecak> hi

2018-02-22 08:53:06 GMT <yreg> Morning

2018-02-22 09:46:21 GMT <MorganP> bmejias: I checked again with a document created and modified in 2017. I just removed it and the alf_node.audit_modified is still set to the same date from 2017

2018-02-22 09:46:32 GMT <MorganP> I don't see the deletion date there

2018-02-22 09:46:45 GMT <bmejias> interesting

2018-02-22 09:46:53 GMT <bmejias> what about the store_id? did it change?

2018-02-22 09:47:27 GMT <MorganP> I'm executing this: SELECT n.id AS "Node ID", n.store_id AS "Store ID", round(u.content_size/1024/1024,2) AS "Size (MB)", n.uuid AS "Document ID (UUID)", n.audit_creator AS "Creator", n.audit_created AS "Creation Date", n.audit_modifier AS "Modifier", n.audit_modified AS "Modification Date", p1.string_value AS "Document Name", u.content_url AS "Location" FROM alf_node AS n, alf_node_properties AS p, alf_node_

2018-02-22 09:47:53 GMT <MorganP> formating pretty on the chat but that's only the store id 5 which is my archive

2018-02-22 09:48:27 GMT <MorganP> +isn't pretty

2018-02-22 09:48:50 GMT <MorganP> There were 0 documents before I removed this one, now there is one document, the one I removed

2018-02-22 09:48:56 GMT <MorganP> but the dates didn't change at all

2018-02-22 09:52:37 GMT <bmejias> interesting, and what do you see on Alfresco's trashcan?

2018-02-22 09:52:54 GMT <bmejias> is the deletion date correctly presented there?

2018-02-22 09:57:59 GMT <MorganP> Yes absolutely, it shows: Deleted on Thu 22 Feb 2018 10:44:44 by Morgan

2018-02-22 10:00:14 GMT <MorganP> alfresco=> SELECT audit_modified FROM alf_node WHERE store_id='5' AND type_qname_id='51'; audit_modified -------------------------- 2017-10-04T10:50:08.489Z (1 row)

2018-02-22 10:01:40 GMT <MorganP> Maybe somewhere on the alf_audit_entry table

2018-02-22 10:05:40 GMT * DarkStar1 greets everyone "Gogmorgon"

2018-02-22 10:34:59 GMT <bmejias> MorganP sorry I got busy on another task.

2018-02-22 10:35:14 GMT <angelborroy> hey yreg congrats for your Book about DevCon 2018

2018-02-22 10:35:21 GMT <angelborroy> incredibly amazing!

2018-02-22 10:35:29 GMT <yreg> angelborroy, my book ?!

2018-02-22 10:35:38 GMT <angelborroy> https://t.co/NS543CfgEk

2018-02-22 10:35:43 GMT <angelborroy> Xenit’s book

2018-02-22 10:35:49 GMT <bmejias> I searched on several tables but I don't find anything where the qname_id or type_qname_id was matching the one from alf_qname where local_name = 'deleted'

2018-02-22 10:36:06 GMT <bmejias> MorganP, but I don't find any association on there

2018-02-22 10:36:14 GMT <bmejias> angelborroy let me check that

2018-02-22 10:36:41 GMT <yreg> Ah You mean daniela's initiative I only did the part that talks about my slides

2018-02-22 10:36:46 GMT <yreg> awesome indeed

2018-02-22 10:37:12 GMT <angelborroy> yep, I love the idea and also the result

2018-02-22 10:37:31 GMT <angelborroy> congrats to Daniela then, give it to her from my part

2018-02-22 10:38:36 GMT <bmejias> really nice yreg, pass the word please.

2018-02-22 10:38:55 GMT <bmejias> angelborroy how did you get to the publication? I want to send a not to Ronny (yreg's boss)

2018-02-22 10:39:05 GMT <bmejias> yreg, who's Daniela?

2018-02-22 10:39:16 GMT <angelborroy> it’s on Twitter

2018-02-22 10:39:42 GMT <angelborroy> https://twitter.com/XenitECM/status/966606072713707520

2018-02-22 10:46:34 GMT <bmejias> thanks angelborroy

2018-02-22 10:46:41 GMT <bmejias> MorganP I think I've found it.

2018-02-22 10:47:30 GMT <yreg> bmejias, Daniela is the new Marketing Manager on board and she is doing a lot of great stuff lately !

2018-02-22 10:47:57 GMT <david_____> greetings... has anyone used the alfREST python library to script Alfresco? I cannot manage to get a connection (I always get a 400 Bad Request response) and would appreciate some pointers

2018-02-22 10:48:06 GMT <bmejias> MorganP in alf_node_properties, search for those who match the qname_id with local_name 'archivedDate'

2018-02-22 10:48:52 GMT <bmejias> yreg I can see that. That's a very nice book....

2018-02-22 10:49:32 GMT <bmejias> yreg and I love the fact that is dedicated to a technical event, focused on sharing knowledge. Nice stuff indeed

2018-02-22 10:51:16 GMT <bmejias> MorganP, here is the query:

2018-02-22 10:51:23 GMT <bmejias> select string_value from alf_node_properties where node_id=666 and qname_id = (select id from alf_qname where local_name='archivedDate');

2018-02-22 10:51:51 GMT <bmejias> MorganP of course replace the node_id for the real one you are searching for

2018-02-22 10:52:11 GMT <Tichodroma> Do you know of a JS function that can be used in a WS controller to decode the urlencoded url.templateArgs["foo"]?

2018-02-22 10:52:43 GMT <Tichodroma> if the URL is /path/to/{foo} and the value of foo is urlencoded like some+stuff+for+foo, this is not decoded automatically

2018-02-22 10:53:28 GMT <MorganP> bmejias: it looks like this is it indeed

2018-02-22 10:55:02 GMT <bmejias> MorganP cool.

2018-02-22 11:00:04 GMT <Tichodroma> hm, if I read the HTTP specs correctly, in the path the + sign does *not* represent an encoded space, this is only done in query params

2018-02-22 11:00:22 GMT <MorganP> For my complete query, I therefore needed a 3rd alf_node_properties but now I can get all information I wanted, thanks for the help bmejias

2018-02-22 11:00:55 GMT <bmejias> you're welcome. Note that there are a couple of more 'archived*' qnames

2018-02-22 11:01:19 GMT <bmejias> those probably will tell you the whole story

2018-02-22 11:03:23 GMT <MorganP> yep that's what I was checking

2018-02-22 11:33:22 GMT <Hiten> Hi Guys

2018-02-22 11:33:45 GMT <Hiten> docx files in my alfresco installer is getting previewed as image

2018-02-22 11:34:06 GMT <Hiten> I can see two renditions created in node browser

2018-02-22 11:34:25 GMT <Hiten> one is doclib and other one is imgpreview

2018-02-22 11:34:34 GMT <Hiten> which according to me should be pdf

2018-02-22 11:35:03 GMT <Hiten> it's a plain vanilla 5.2 CE installer

2018-02-22 11:35:35 GMT <angelborroy> when LibreOffice cannot produce a PDF transformation for a document, a “imgpreview” can be assigned to the node

2018-02-22 11:36:02 GMT <angelborroy> if you use Share to access the detail of the document, you’ll see a (big) image from the first page of the DOCx

2018-02-22 11:36:04 GMT <Hiten> ok

2018-02-22 11:36:24 GMT <Hiten> yes that's exactly what I am seeing

2018-02-22 11:36:29 GMT <lufana> hi

2018-02-22 11:36:45 GMT <Hiten> but I can see doc files getting previewed correctly

2018-02-22 11:36:56 GMT <Hiten> they have the expected renditions

2018-02-22 11:36:58 GMT <angelborroy> yep, depends on the file

2018-02-22 11:37:14 GMT <Hiten> ok

2018-02-22 11:37:17 GMT <angelborroy> probably if you use your client LibreOffice that file cannot be saved as PDF

2018-02-22 11:37:59 GMT <lufana> I have designed the workflow using activiti designer eclipse plugin. I got the .bar file generated but how to deploy it into alfresco community?

2018-02-22 11:38:57 GMT <angelborroy> lufana you cannot

2018-02-22 11:39:37 GMT <angelborroy> lufana take a look at https://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html

2018-02-22 11:39:38 GMT <alfbot> Title: Creating Custom Advanced Workflows in Alfresco | ECM Architect | Alfresco Developer Tutorials (at ecmarchitect.com)

2018-02-22 11:39:57 GMT <angelborroy> lufana to understand how an Activiti flow can be deployed in Alfresco

2018-02-22 11:51:36 GMT <Hiten> angelborroy - I tried manually converting the docx to pdf

2018-02-22 11:51:45 GMT <Hiten> the same file and I was able to

2018-02-22 11:52:13 GMT <Hiten> anything that I can check in alfresco

2018-02-22 11:52:46 GMT <angelborroy> so probably your DOCx has exceeded 768 Kb and Alfresco is not picking it to transform

2018-02-22 11:53:19 GMT <Hiten> I did changed that 2 MB

2018-02-22 11:53:29 GMT <Hiten> before running Alfresco

2018-02-22 11:53:42 GMT <angelborroy> and your local LibreOffice is the same version as Alfresco LibreOffice, right?

2018-02-22 11:53:59 GMT <Hiten> let me check that

2018-02-22 11:59:05 GMT <Hiten> there is a diff

2018-02-22 11:59:24 GMT <Hiten> LibreOffice 31dd62db80d4e60af04904455ec9c9219178d620 - this is my installation version

2018-02-22 11:59:34 GMT <Hiten> LibreOffice 40m0(Build:1) - local

2018-02-22 12:23:29 GMT <lufana> angelborroy: thank you ill check it out

2018-02-22 13:08:50 GMT <douglascrp> morning guys

2018-02-22 13:08:58 GMT <douglascrp> angelborroy, hey dude

2018-02-22 13:09:06 GMT <angelborroy> morning Douglas

2018-02-22 13:09:06 GMT <douglascrp> I saw you contributed some changes for this project https://github.com/EisenVault/ev-outlook-plugin-github

2018-02-22 13:09:07 GMT <alfbot> Title: GitHub - EisenVault/ev-outlook-plugin-github: MS Outlook Plugin for Alfresco (at github.com)

2018-02-22 13:09:11 GMT <angelborroy> yep

2018-02-22 13:09:17 GMT <douglascrp> are you using it?

2018-02-22 13:09:21 GMT <angelborroy> a customer of me, yes

2018-02-22 13:09:30 GMT <douglascrp> is it working well?

2018-02-22 13:09:36 GMT <angelborroy> it looks like yes

2018-02-22 13:09:49 GMT <douglascrp> nice... tks for the feedback

2018-02-22 13:09:49 GMT <angelborroy> it’s just a CMIS connector with Alfresco repo

2018-02-22 13:10:11 GMT <angelborroy> I’ve also added a small configuration for Outlook MSG format

2018-02-22 13:10:13 GMT <douglascrp> we tried quickly before, some time before you tried it, and it looked functional back then

2018-02-22 13:10:35 GMT <angelborroy> I just added support for self-signed SSL certificates and Spanish support

2018-02-22 13:10:45 GMT <angelborroy> Spanish messages, I mean

2018-02-22 13:10:48 GMT <douglascrp> cool

2018-02-22 13:12:15 GMT <angelborroy> btw… I’ve always wondered how to throw an Exception from repo (i. e. Behaviour) and to show the original message in Share

2018-02-22 13:12:31 GMT <angelborroy> I’m reading code now, but if someone has faced this before… :)

2018-02-22 13:17:04 GMT <douglascrp> angelborroy, I tried to deal with that a lot of times

2018-02-22 13:17:09 GMT <douglascrp> but I never found an easy way to achieve that

2018-02-22 13:17:12 GMT <angelborroy> yep

2018-02-22 13:17:17 GMT <angelborroy> It’s frustrating

2018-02-22 13:17:55 GMT <douglascrp> not only behaviours, but sometimes I use some javascript throwing exceptions when a folder rule is executed

2018-02-22 13:18:03 GMT <douglascrp> same thing... the message is always part of the stack trace

2018-02-22 13:18:14 GMT <douglascrp> not my friendly message

2018-02-22 13:18:32 GMT <angelborroy> I know

2018-02-22 13:18:45 GMT <angelborroy> I’m inspecting source code just to understand how it works

2018-02-22 13:18:50 GMT <angelborroy> but it’s not that easy

2018-02-22 13:19:13 GMT <douglascrp> angelborroy, AFaust gave me some ideas a long time ago

2018-02-22 13:19:18 GMT <douglascrp> no, it is not

2018-02-22 13:19:32 GMT <douglascrp> if you find a way, please, share the idea with me, and I will for sure try to help you

2018-02-22 13:19:41 GMT <douglascrp> because I am always asked to "fix" this

2018-02-22 13:19:45 GMT <douglascrp> we can work together

2018-02-22 13:19:58 GMT <AFaust> angelborroy: What do you mean by "original message"?

2018-02-22 13:20:00 GMT <douglascrp> let me check some notes

2018-02-22 13:20:10 GMT <angelborroy> i18n from messages

2018-02-22 13:20:19 GMT <angelborroy> new AlfrescoRuntimeException(messageId)

2018-02-22 13:20:39 GMT <AFaust> By default, original message should be displayed, albeit with a number prefix for the extension ID (based on timestamp) + technical class...

2018-02-22 13:21:30 GMT <AFaust> Problem is that various Share actions simply ignore the error response message and display a generic message.

2018-02-22 13:21:43 GMT <angelborroy> Nope, in my case it’s a repo problem

2018-02-22 13:21:53 GMT <angelborroy> Details can be found in the server logs.

2018-02-22 13:22:00 GMT <AFaust> In some instances, Alfresco consciously decided to no longer display the backend message and instead use a "more user-friendly" frontend, generic error message

2018-02-22 13:22:35 GMT <AFaust> ^^ That would be such a generic message

2018-02-22 13:22:46 GMT <angelborroy> yep

2018-02-22 13:22:55 GMT <angelborroy> But I think that this is generated by repo

2018-02-22 13:23:09 GMT <angelborroy> And it does not make sense to me the point where this is thrown

2018-02-22 13:24:56 GMT <angelborroy> https://github.com/Alfresco/alfresco-remote-api/blob/cc4b5108a549f0016931219f8f1423dc27b61d43/src/main/java/org/alfresco/repo/web/scripts/RepositoryContainer.java#L328

2018-02-22 13:24:57 GMT <alfbot> Title: alfresco-remote-api/RepositoryContainer.java at cc4b5108a549f0016931219f8f1423dc27b61d43 · Alfresco/alfresco-remote-api · GitHub (at github.com)

2018-02-22 13:25:14 GMT <angelborroy> I cannot find any other point in the code using this message

2018-02-22 13:25:53 GMT <AFaust> The problem is just that the default config for this new filtering feature is very prohibitive

2018-02-22 13:26:32 GMT <AFaust> The publicExceptions list in that class can be configured via Spring, but by default it only allows ContentLimitViolationException to be exposed

2018-02-22 13:26:47 GMT <angelborroy> I tried also that

2018-02-22 13:26:56 GMT <angelborroy> to throw a Content… but still it does not work

2018-02-22 13:28:03 GMT <AFaust> Ah wait - the publicException list is only relevant if an exception is encountered that is on the nonPublicExceptions list - otherwise all are public

2018-02-22 13:28:47 GMT <angelborroy> Probably I’m going to patch ExceptionStackUtil to understand how it’s working with that

2018-02-22 13:29:57 GMT <AFaust> Hmm - I am wondering. That RepositoryContainer logic only affects web scripts that did not already handle error themselves...

2018-02-22 13:30:13 GMT <AFaust> So might have to check into Surf web script base classes as well

2018-02-22 13:30:16 GMT <angelborroy> I’m just throwing an Exception from inside a behaviour


2018-02-22 13:31:24 GMT <angelborroy> FIRST_EVENT on updateContent

2018-02-22 13:31:29 GMT <angelborroy> updateContentProperty

2018-02-22 13:31:35 GMT <AFaust> Good - TRANSACTION_COMMIT also causes your exceptions to be hidden

2018-02-22 13:31:53 GMT <angelborroy> I know, I’ve learn a pair of things from you in the last years :D

2018-02-22 13:34:49 GMT <angelborroy> I’m just trying to lock content updating while the file is on an external service...

2018-02-22 13:34:57 GMT <angelborroy> … with the minimum effort, you know

2018-02-22 13:37:24 GMT <AFaust> So the AbstractWebScript createStatusException may also be involved in re-wrapping any exception

2018-02-22 13:37:56 GMT <AFaust> Though it is only limited to any exceptions originating from the Rhino engine

2018-02-22 13:38:05 GMT <angelborroy> yep, in fact there are about 20 wrapped exceptions at ExceptionStackUtils

2018-02-22 13:38:13 GMT <AFaust> (ipotentially including transitive ones9

2018-02-22 13:41:06 GMT <douglascrp> AFaust, an old answer from you https://community.alfresco.com/message/822486-re-get-exception-on-action-java-class-and-open-a-popup-dialog-on-share-with-details-of-the-error?commentID=822486#comment-822486

2018-02-22 13:41:08 GMT <alfbot> Title: Get exception on action java class and open a p... | Alfresco Community (at community.alfresco.com)

2018-02-22 13:44:26 GMT <angelborroy> Now reading your suggestion...

2018-02-22 13:44:27 GMT <angelborroy> https://svn.alfresco.com/repos/alfresco-open-mirror/services/surf-webscripts/trunk/spring-webscripts/spring-webscripts/src/main/java/org/springframework/extensions/webscripts/AbstractWebScript.java

2018-02-22 13:44:40 GMT <angelborroy> createStatusException

2018-02-22 13:46:39 GMT <AFaust> douglascrp: that bug is still in current Alfresco as far as I know

2018-02-22 13:47:03 GMT <angelborroy> yes, it is

2018-02-22 13:47:08 GMT <angelborroy> I saw that some days ago

2018-02-22 13:47:11 GMT <angelborroy> in 201707

2018-02-22 13:47:59 GMT <douglascrp> :O

2018-02-22 13:49:23 GMT <douglascrp> angelborroy, let me know if you need help on this

2018-02-22 13:49:23 GMT <angelborroy> the main problem is at AbstractWebScript

2018-02-22 13:49:27 GMT <angelborroy> if (current instanceof WebScriptException)

2018-02-22 13:49:45 GMT <angelborroy> This is the first check, so anything wrapped inside a WebScriptException is hidden

2018-02-22 13:55:56 GMT <angelborroy> Probably the only approach is to patch AbstractWebScript in Surf...

2018-02-22 13:56:09 GMT <angelborroy> … but it looks too much just to send a stupid error message

2018-02-22 13:57:27 GMT <douglascrp> angelborroy, yes, but for the users, that would me really useful

2018-02-22 13:57:54 GMT <angelborroy> in fact this is a patch for the developers, not for the users :D

2018-02-22 13:58:01 GMT <douglascrp> no, lol

2018-02-22 13:58:05 GMT <douglascrp> I am talking about the result

2018-02-22 13:58:27 GMT <douglascrp> being able to show more informative messages for users would be useful

2018-02-22 13:58:30 GMT <douglascrp> that is what I meant

2018-02-22 13:58:37 GMT <angelborroy> I can inform the user even with that feature broken

2018-02-22 13:58:43 GMT <angelborroy> but I have to work more

2018-02-22 13:58:51 GMT <angelborroy> :)

2018-02-22 13:59:05 GMT <angelborroy> Ok, I’m going to try a patch

2018-02-22 13:59:19 GMT <angelborroy> using the deeper WebScriptException and not the outer WebScriptException

2018-02-22 14:19:10 GMT <angelborroy> some is “stealing” my exception on the way...

2018-02-22 14:19:17 GMT <angelborroy> … I have to deal with other layers

2018-02-22 14:19:18 GMT <angelborroy> :(

2018-02-22 14:44:32 GMT <angelborroy> it looks like Rhino is throwing the extension without causes...

2018-02-22 14:44:33 GMT <angelborroy> https://github.com/Alfresco/community-edition-old/blob/master/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js#L437

2018-02-22 14:44:34 GMT <alfbot> Title: community-edition-old/upload.post.js at master · Alfresco/community-edition-old · GitHub (at github.com)

2018-02-22 14:50:19 GMT <AFaust> Well, yes, Rhino is wrapping the exception in a custom way. But the logic in createStatusException is supposed to unwrap that...

2018-02-22 15:12:22 GMT <angelborroy> I give up

2018-02-22 15:12:38 GMT <angelborroy> I suppose there are many different use cases

2018-02-22 15:13:02 GMT <angelborroy> Once reviewed all common classes, can’t find a real bug

2018-02-22 16:09:55 GMT <angelborroy> douglascrp it should be useful to have a NonWrappableException extending AlfrescoRuntimeException that will be delivered directly as repo final Exception?

2018-02-22 16:10:25 GMT <yreg> angelborroy, I really don't see how you would need that

2018-02-22 16:10:49 GMT <yreg> I have been able to communicate exception messages in the UI without prorblems in several projects

2018-02-22 16:10:50 GMT <angelborroy> I want to control content updating on a behaviour

2018-02-22 16:11:12 GMT <angelborroy> so you can throw new RuntimeException in behaviour and it’s delivered in Share?

2018-02-22 16:11:17 GMT <angelborroy> Tell me how!

2018-02-22 16:11:38 GMT <yreg> although I needed to add something somewhere... let me look it up

2018-02-22 16:11:56 GMT <angelborroy> probably it’s in the same point I’m working

2018-02-22 16:11:57 GMT <angelborroy> :D

2018-02-22 16:14:01 GMT <yreg> <bean id="policyBehaviourQueue" class="com.sample.repo.policy.TransactionBehaviourQueueDecorator"></bean>

2018-02-22 16:14:51 GMT <yreg> and for the implementation I catch the runtime exception, and throw a new one with the message of the cause :

2018-02-22 16:15:33 GMT <angelborroy> and it’s delivered directly to Share?

2018-02-22 16:15:34 GMT <angelborroy> really?

2018-02-22 16:15:44 GMT <angelborroy> I’m missing something, for sure

2018-02-22 16:16:18 GMT <yreg> https://pastebin.com/rHLGApVW

2018-02-22 16:16:19 GMT <alfbot> Title: [Java] queue method - Pastebin.com (at pastebin.com)

2018-02-22 16:16:57 GMT <angelborroy> I have the same and the message it’s not delivered

2018-02-22 16:17:17 GMT <angelborroy> probably your stuff is correcting default

2018-02-22 16:18:15 GMT <yreg> com.sample.repo.policy.TransactionBehaviourQueueDecorator is not an OOTB class, you need to extend org.alfresco.repo.policy.TransactionBehaviourQueue and override queue method by the snippet I attached

2018-02-22 16:18:31 GMT <angelborroy> I know

2018-02-22 16:18:47 GMT <angelborroy> just test the same on an updateContentProperty behaviour

2018-02-22 16:20:36 GMT <angelborroy> probably the difference is that my behaviour is executed from a JavaScript WebScript

2018-02-22 16:20:39 GMT <douglascrp> angelborroy, sorry dude, I was not in front of the computer

2018-02-22 16:20:46 GMT <angelborroy> no prob

2018-02-22 16:20:52 GMT <angelborroy> Just trying a weird approach

2018-02-22 16:21:06 GMT <angelborroy> I’m not so happy with it, but it should work

2018-02-22 16:21:39 GMT <angelborroy> yep, it works

2018-02-22 16:22:08 GMT <douglascrp> angelborroy, are you going to share it?

2018-02-22 16:22:20 GMT <angelborroy> I’m not very proud of it :D

2018-02-22 16:22:43 GMT <douglascrp> angelborroy, no problem with that

2018-02-22 16:22:48 GMT <douglascrp> if it works, it is already useful

2018-02-22 16:22:52 GMT <douglascrp> and we can improve it

2018-02-22 16:23:07 GMT <angelborroy> I’m creating a new Exception class and overwriting a method in RepositoryContainer to deliver exceptions from this class

2018-02-22 16:23:21 GMT <douglascrp> so, you really patching it

2018-02-22 16:23:22 GMT <douglascrp> right?

2018-02-22 16:23:24 GMT <angelborroy> yep

2018-02-22 16:23:29 GMT <douglascrp> it is not going to be a simple extension

2018-02-22 16:23:30 GMT <angelborroy> there is no other way

2018-02-22 16:23:39 GMT <yreg> angelborroy, what was off ? it seemed like something obvious to work without any issues, I even got correct error messages from js snippets executed from an embedded activiti bpmn model

2018-02-22 16:23:44 GMT <yreg> without any issues

2018-02-22 16:23:53 GMT <angelborroy> ok, yreg

2018-02-22 16:23:55 GMT <angelborroy> it works for yo

2018-02-22 16:23:58 GMT <angelborroy> for you

2018-02-22 16:24:02 GMT <angelborroy> but it does not work for me

2018-02-22 16:24:14 GMT <angelborroy> Just believe me, it does not work in some cases

2018-02-22 16:24:22 GMT <angelborroy> at least when updating content

2018-02-22 16:24:56 GMT <yreg> I am on EE though, and using a custom exception (not AlfrescoRuntimeException)

2018-02-22 16:25:08 GMT <yreg> actually any custom exception would work AFAIK

2018-02-22 16:26:00 GMT <angelborroy> yreg you are very obstinated,

2018-02-22 16:26:15 GMT <angelborroy> I’ve been working on this for a pair of hours…

2018-02-22 16:26:30 GMT <angelborroy> … and I’m pretty sure that it does not work with Alfresco 201605

2018-02-22 16:30:08 GMT <yreg> angelborroy, I believe you, I must have missed a magic ingredient into the equation ...

2018-02-22 16:32:04 GMT <AFaust> yreg: I already indicated to angelborroy that I too was surprised it did not work for him. Even on CE I typically did not have issues with hidden exception unless the Share UI specifically ignored the data in the status JSON

2018-02-22 16:32:23 GMT <angelborroy> ok, then it’s me

2018-02-22 16:32:28 GMT <angelborroy> I’m going to start again

2018-02-22 16:32:42 GMT <angelborroy> Just a behaviour and throw new AlfrecoRuntimeException()

2018-02-22 16:32:45 GMT <angelborroy> nothing more

2018-02-22 16:34:59 GMT <AFaust> Just today I had a customer (on 5.0d though) where some background logic two (custom) services and three or four behaviours deep failed with an invalid search query, and the low-level message about an invalid use of syntax was properly reported to the user in the Aikau UI.

2018-02-22 16:35:55 GMT <angelborroy> but that was programmed by you…

2018-02-22 16:36:37 GMT * AFaust does not want to know how much effort kgastaldo already put and still has to put into editing the DevCon videos. Judging from the slow pace of upload there is a bunch to do with each video...

2018-02-22 16:37:02 GMT <yreg> hehe, angelborroy no one can beat that argument AFAIK :D

2018-02-22 16:37:18 GMT <yreg> it's like a VETO

2018-02-22 16:46:06 GMT <angelborroy> Ok, just to be sure that I’m not completely insane...

2018-02-22 16:46:07 GMT <angelborroy> https://github.com/angelborroy/test-behaviour-exception

2018-02-22 16:46:08 GMT <alfbot> Title: GitHub - angelborroy/test-behaviour-exception: Simple test (Alfresco 5.1) (at github.com)

2018-02-22 16:46:27 GMT <angelborroy> yreg https://github.com/angelborroy/test-behaviour-exception/blob/master/src/main/java/es/keensoft/behaviour/ContentNotUpdatableBehaviour.java#L26

2018-02-22 16:46:28 GMT <alfbot> Title: test-behaviour-exception/ContentNotUpdatableBehaviour.java at master · angelborroy/test-behaviour-exception · GitHub (at github.com)

2018-02-22 16:46:43 GMT <angelborroy> Now I can go back to my patching

2018-02-22 16:56:55 GMT <yreg> hehe

End of Daily Log

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