Bug 1147757
| Summary: | UnsupportedOperationException when TaskService.getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language, int firstResult, int maxResults) | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Toshiya Kobayashi <tkobayas> |
| Component: | Business Central | Assignee: | Marco Rietveld <mrietvel> |
| Status: | CLOSED NOTABUG | QA Contact: | Ivo Bek <ibek> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1.0 | CC: | alazarot, kverlaen, mbaluch, mrietvel, rrajasek, smcgowan, tkobayas |
| Target Milestone: | ER3 | ||
| Target Release: | 6.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1103970 | Environment: | |
| Last Closed: | 2015-12-09 12:38:34 UTC | Type: | Feature Request |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Toshiya Kobayashi
2014-09-30 03:38:21 UTC
+1 for promoting getTasksAssignedAsPotentialOwnerByStatusByGroup :) Toshiya, this bug is for BPMS 6.1, right? Yes. This BZ is for BPMS 6.1.0. And BZ1103970 is for BPMS 6.0.x. Thank you for changing the version field. This has been fixed in community (the operation has been readded to the TaskService interface) as part of the work for BZ 1120213. Please see that bug for more info. Failed in BPMS 6.1.0.ER3 Let's sum it up: - getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, int firstResult, int maxResults) - is deprecated - paging is now possible through the new query API: https://github.com/mrietveld/droolsjbpm-integration/wiki/jBPM-Rest-Query-API However, I do not see there any parameter to set groupIds, so we could have a replacement for the getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, int firstResult, int maxResults) and make other operations with groupIds. Operations with groupIds are indeed deprecated, as we've been recommending the use of the UserGroupCallback for a long time already (that is responsible for providing the roles for the user). As a result, we are not planning to reintroduce more operations related to groupIds. Introducing support for filtering of the results based on provided groupId(s) would be a good enhancement, especially if the amount of results is large so that paging is necessary, which makes client-side filtering based on groupId(s) difficult. Note that this should only be used to do _additional_ filtering of the results, it would not allow you to avoid the UserGroupCallback and provide roles that otherwise wouldn't already be available by UserGroupCallback. Will look into this as a future feature request. Created a jira here: https://issues.jboss.org/browse/JBPM-4873 |