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-12-26 10:49:10 GMT <fwu2018> hi all

2018-12-26 10:49:36 GMT <fwu2018> merry christmas to everyone

2018-12-26 14:16:01 GMT <fwu2018> angelborroy, remember the "bug" I talked later. It seems it is a bug.

2018-12-26 14:16:02 GMT <fwu2018> https://issues.alfresco.com/jira/browse/MNT-16063

2018-12-26 14:16:07 GMT <fwu2018> as I thought

2018-12-26 14:16:26 GMT <angelborroy> It looks the same

2018-12-26 14:16:37 GMT <angelborroy> But they say it’s fixed for 5.0.4

2018-12-26 14:17:00 GMT <fwu2018> however, they are saying it was fixed in 5.0.4, but in 5.2 is not working.

2018-12-26 14:17:01 GMT <angelborroy> Probably it’s a hotfix that they’ll never move to main release branch

2018-12-26 14:17:29 GMT <fwu2018> how can I see that?

2018-12-26 14:17:35 GMT <fwu2018> can I get the chnaged code?

2018-12-26 14:17:39 GMT <angelborroy> You can't

2018-12-26 14:17:48 GMT <fwu2018> im compiling my own workflow engine, so....

2018-12-26 14:17:59 GMT <fwu2018> it would be one more chnage

2018-12-26 14:18:09 GMT <angelborroy> But you can make the same test in 5.2 and re-open the issue

2018-12-26 14:18:19 GMT <fwu2018> I already did, and it doesnt work

2018-12-26 14:18:25 GMT <fwu2018> I get the same error

2018-12-26 14:18:59 GMT <angelborroy> so just try to re-open

2018-12-26 14:19:15 GMT <angelborroy> I’m not confident in getting some answer, but it’s an option

2018-12-26 14:20:25 GMT <fwu2018> ok, I will try that

2018-12-26 14:21:38 GMT <angelborroy> “Possible workaround: userTask with a timer boundaryEvent"

2018-12-26 14:22:59 GMT <fwu2018> wait, the affected versions and fixed version is for activiti or Alfresco?

2018-12-26 14:23:09 GMT <angelborroy> Alfresco

2018-12-26 14:23:13 GMT <fwu2018> because maybe the activiti in Alfresco 5.2 is not yet fixed

2018-12-26 14:23:22 GMT <fwu2018> if it is Alfresco, then ok

2018-12-26 14:23:31 GMT <fwu2018> I will reopen

2018-12-26 14:25:33 GMT <angelborroy> Basically the patch is to replace this exception...

2018-12-26 14:25:33 GMT <angelborroy> https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/workflow/activiti/ActivitiWorkflowEngine.java#L780

2018-12-26 14:25:34 GMT <alfbot> Title:alfresco-repository/ActivitiWorkflowEngine.java at master · Alfresco/alfresco-repository · GitHub (at github.com)

2018-12-26 14:25:41 GMT <angelborroy> … by an informative message

2018-12-26 14:30:21 GMT <fwu2018> but where is the correction with the message?

2018-12-26 14:30:35 GMT <angelborroy> It’s on a private repository

2018-12-26 14:30:38 GMT <angelborroy> I have no access

2018-12-26 14:30:46 GMT <angelborroy> I’m just guessing what’s required to fix that

2018-12-26 14:32:18 GMT <fwu2018> but it may need additional changes, or not?

2018-12-26 14:38:30 GMT <angelborroy> Probably

2018-12-26 14:38:37 GMT <angelborroy> but if you can, try only this one

2018-12-26 14:40:08 GMT <angelborroy> just change the “throw new WorkflowException(…”

2018-12-26 14:40:09 GMT <angelborroy> by

2018-12-26 14:40:15 GMT <angelborroy> return new ArrayList<WorkflowTask>();

2018-12-26 14:40:18 GMT <angelborroy> This should work

2018-12-26 14:51:35 GMT <fwu2018> in what jar?

2018-12-26 14:52:09 GMT <angelborroy> alfresco-repository

2018-12-26 14:53:48 GMT <fwu2018> argh... im not chnaging that, only the engine

2018-12-26 14:54:19 GMT <fwu2018> and the remote-api

2018-12-26 14:54:33 GMT <fwu2018> I would need to import another project...

2018-12-26 14:54:55 GMT <fwu2018> but I can give it a try

2018-12-26 14:55:01 GMT <angelborroy> sure

2018-12-26 14:55:16 GMT <angelborroy> you can re-implement every Alfresco module just to get your issues solved :D

2018-12-26 14:55:27 GMT <angelborroy> In the same way ecm4u and Loftux done in the past

2018-12-26 14:57:54 GMT <fwu2018> yes, but im already with my version of remote api and workflow-engine

2018-12-26 14:58:03 GMT <fwu2018> that will be the third module...

2018-12-26 14:58:17 GMT <fwu2018> I was looking to the code, I believe you are right

2018-12-26 14:58:35 GMT <fwu2018> they forget that a process may not have user tasks

2018-12-26 14:59:02 GMT <fwu2018> so the query will not return tasks

2018-12-26 14:59:09 GMT <fwu2018> even if we have service tasks

2018-12-26 14:59:18 GMT <fwu2018> and then throw an error

2018-12-26 15:00:32 GMT <fwu2018> but wait, if execution is null, then it will throw an error on the following code

2018-12-26 15:00:53 GMT <angelborroy> as I told you..

2018-12-26 15:01:00 GMT <angelborroy> replace throw Exception

2018-12-26 15:01:01 GMT <angelborroy> by

2018-12-26 15:01:06 GMT <angelborroy> return new ArrayList...

2018-12-26 15:01:17 GMT <angelborroy> at line 770

2018-12-26 15:01:31 GMT <angelborroy> line 780 (sorry)

2018-12-26 15:04:30 GMT <fwu2018> yes, I understand

2018-12-26 15:04:37 GMT <fwu2018> I will give it a try

2018-12-26 23:41:40 GMT <grendal_prime> ok im on a ubuntu system. also i want this to work on several linux mint workstations.

2018-12-26 23:43:05 GMT <grendal_prime> xdg-open seems to be the issue.

End of Daily Log

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