[jbpm-dev] canot claim task in 6.1.CR1

Mauricio Salatino salaboy at gmail.com
Wed Jun 25 07:19:27 EDT 2014


Hi thanks for letting us know,
That code is being refactored right now, so I will make sure to include
that fix there.
Thanks a lot


On Wed, Jun 25, 2014 at 12:18 PM, Akila Rathnayake <akila.senarath at gmail.com
> wrote:

> hi all,
>
> i think i solved this problem after doing little modification. :)
> you just need to add refreshTasks() method to the release part
> in actionsColumn() method in TasksListViewImpl.java as mentioned below,
>
> cells.add(new
> ReleaseActionHasCell(ActionsDataGrid.RELEASE.getDescription(), new
> ActionCell.Delegate<TaskSummary>() {
>             @Override
>             public void execute(TaskSummary task) {
>                 currentAction = ActionsDataGrid.RELEASE;
>                 presenter.releaseTasks(Lists.newArrayList(task.getId()),
> identity.getName());
>                * refreshTasks();*
>              }
>         }));
>
> regards,
> Akila
>
>
> On Tue, Jun 24, 2014 at 6:02 PM, Akila Rathnayake <
> akila.senarath at gmail.com> wrote:
>
>> @maciej,
>>
>> ok thanks. we also will try to make a solution for this problem..
>>
>> regards,
>> Akila
>>
>>
>> On Tue, Jun 24, 2014 at 5:53 PM, Maciej Swiderski <mswiders at redhat.com>
>> wrote:
>>
>>> Actually this is known issue with refresh of the tables that will be
>>> addressed soon. For now unfortunately you’ll need to stick to refresh
>>> button or use details form of the task. The backend services does work fine
>>> and thus the error as you cannot claim same task twice.
>>>
>>> Maciej
>>>
>>> On 24 cze 2014, at 14:20, Akila Rathnayake <akila.senarath at gmail.com>
>>> wrote:
>>>
>>> @maciej,
>>>
>>> yes it works after click refresh button.
>>>
>>> but if i click claim icon without refreshing it gives same error...
>>>
>>> what should i do for that...?
>>>
>>> regards,
>>> Akila
>>>
>>>
>>> On Tue, Jun 24, 2014 at 5:29 PM, Maciej Swiderski <mswiders at redhat.com>
>>> wrote:
>>>
>>>> It might be caused by improper refresh of the items in the list - try
>>>> using refresh button after first attempt to claim it and see if that makes
>>>> any difference.
>>>>
>>>> Maciej
>>>> On 24 cze 2014, at 13:53, Akila Rathnayake <akila.senarath at gmail.com>
>>>> wrote:
>>>>
>>>> > hi all,
>>>> >
>>>> > i just built kie wb 6.1.CR1 and testing it.
>>>> > sometimes when i click "Claim" icon, it shows item claimed
>>>> notification but still not show complete icon. also change status ready to
>>>> in progress.
>>>> > it seems like the task locked .but when i click on release icon it
>>>> gives error,
>>>> >
>>>> > Unexpected error encountered :
>>>> org.jbpm.services.task.exception.PermissionDeniedException:User
>>>> '[UserImpl:'krisv']' was unable to execute operation 'Release' on task id 3
>>>> due to a no 'current status' match
>>>> >
>>>> > please check the attached image..
>>>> >
>>>> > regards,
>>>> > Akila
>>>> > <Screenshot from 2014-06-24
>>>> 16:53:41.png>_______________________________________________
>>>> > jbpm-dev mailing list
>>>> > jbpm-dev at lists.jboss.org
>>>> > https://lists.jboss.org/mailman/listinfo/jbpm-dev
>>>>
>>>>
>>>
>>>
>>
>


-- 
 - MyJourney @ http://salaboy.com <http://salaboy.wordpress.com>
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140625/bd6aa7a8/attachment.html 


More information about the jbpm-dev mailing list