APAR status
Closed as program error.
Error description
Description: When a Task View in the Task Based UI has a Card configured with an Associate action, on clicking the Associate action button, the grid view does not show all of the associated objects as checked It only shows 10 associated checked objects. In the standard UI, all associated objects are shown. If another object is selected to be associated, it will be associated but the remaining previously associated objects will be disassociated which leads to many orphaned objects. e.g An object has 15 associated child objects When clicking Associate / Disassociate only 10 of the 15 objects are shown as checked and associated All of the child objects available for associated are listed in the grid view If you select another object, it will be associated but 5 of the previously associated objects will be disassociated in the task ui and this is reflected in the standard UI as well. Prerequisites: 1. Create a Business Entity 1. Log into OpenPages as an admin user via a supported browser 2. In the Task UI navigate to top left and select Organization > Business Entities 3. Click the Add New button and give name Chart Test 4. Fill in the mandatory fields and click save 2. Create a Process 1. In the Task UI, navigate to top left and select Organization > Process 2. Click the Add New button and give name Enum test 3. Fill in the mandatory fields 4. In the Primary Business Entity Section click the Select Primary Business Entity button 5. In the Search field type the name of the Business Entity created in Pre-Reqs 1, Chart Test and hit enter 6. From the search results, click the Chart Test business entity to select and click Done 7. Click Save 8. Repeat Steps 1 -7 to create a second Process called Enum test 1 3. Import 45 risks using attached FastMap template ? Export-Risk-48786.xls 1. Log into OpenPages as admin user via supported browser 2. Switch to standard UI 3. Navigate to Reporting > FastMap > FastMap import 4. Click Choose file and find the file above 5. Click Import Data This step will also associate the 45 Risks to the first Process Enum test 4. Create a new Risk manually and associate to second Process 1. Log into OpenPages as admin user via supported browser 2. In the Task UI, navigate to top left and select Assessments > Risks 3. Click the Add New button and give name e.g Enum 4. Fill in the mandatory fields 5. In the Risk Information section click select Process 6. In the Search field type the name of the second Process created in pre-reqs step 2 e.g Enum test1 7. From the search results, click the Enum test 1 process to select and click Done 8. Click Save 5. Create Task View for Process object 1. Log into OpenPages as an admin user via a supported browser 2. In the Task UI navigate to Settings > Manage Views 3. Click Add new 4. Give the view a name e.g Associate View 5. Set the view to be enabled and the default 6. Select Process for the object type 7. Select Task as Type 8. Click Add 9. In the Design tab click Add Section 10. Give the section the label of ?Associate / Disassociate? and click Done 11. Drag the card icon under Relationship Fields into the new section 12. Give the card a Label and set the following fields:- Relationship Type = Children Object type = Risk 13. Under Actions click Add Action 14. Select the Associate option from the drop down 15. Give the action a label of ?Associate / Disassociate? and ensure Multi Select is set to True 16. Click Done 17. Accept the defaults for the remaining fields and click Done 18. Drag the Process name field from the Object Fields list to be below the card just created 19. Click Publish Steps to Reproduce: 1. Log into OpenPages as an admin user via a supported browser 2. In the Task ui, navigate to the top left and select Organization > Processes 3. In the filter field type Enum test to find the Process 4. Select the Process to display the task view 5. Under the Associate / Disassociate section click the show more link to see the grid view of all the currently associated Risks (45) 6. Scroll down and see that count as 1-45 of 45 items 7. Close the Risks grid view tab 8. Click on the Associate / Disassociate button in the Task view 9. Scroll down the first page and count how many Risks are actually marked ( 10) 10. In the search field type the name of the manually created Risk in Step 4 of Pre-reqs e.g Enum 11. Check the box next to this Risk to Associate to the Process 12. Click Done 13. Refresh the page 14. Under Associate / Disassociate section click Show More link 15. The total number of Risks associated is now only 11 which is the original 10 that were marked and the new one just added. All of the other previously associated Risks have been disassociated. In the standard UI, the same result is seen, only 11 Risks are now associated. Expected Results: The list of associated objects under the Action button should show all associated objects selected and not just 10. When associating another child object using the card action in a Task view, the previously associated Risks should remain associated and not be disassociated. Actual Results: The list of associated child objects displayed when clicking the Associate button shows only10 child objects as actually marked and when other objects are associated, all previously associated objects are disassociated causing orphaned objects. Error Message: N/A
Local fix
This action can be completed successfully in the standard UI.
Problem summary
**************************************************************** * USERS AFFECTED: * * OpenPages Users * **************************************************************** * PROBLEM DESCRIPTION: * * IN THE TFUI, AN ASSOCIATE ACTION USED IN A TASK VIEW, SHOWS * * 10 CHECKED ASSOCIATED OBJECTS WHEN THE ACTUAL NUMBER IS * * GREATER. * **************************************************************** * RECOMMENDATION: * * Customers should download OpenPages 8.1 from Passport * * Advantage. See the following document for details on * * obtaining OpenPages 8.1: * * https://www.ibm.com/support/pages/downloading-ibm-openpages- * * watson-version-81-passport-advantage * ****************************************************************
Problem conclusion
Problem: one of the arguments to get the related resources is the relationshipType. This code was passing "this.relationshipType" as opposed to "parms.relationshipType. However, when this code is first called, this.relationshipType hasn't been set yet. It is set later in initialLoad to the value in parms.relationshipType. The call to get the relatedResources returns an empty array since we are looking for neither children, nor parents. Solution: Pass the parameter instead of using the member variable. Customers should download OpenPages 8.1 from Passport Advantage. See the following document for details on obtaining OpenPages 8.1: https://www.ibm.com/support/pages/downloading-ibm-openpages-wats on-version-81-passport-advantage
Temporary fix
Comments
APAR Information
APAR number
PH16026
Reported component name
OPENPAGES GRC
Reported component ID
5725D5100
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-08-23
Closed date
2019-10-01
Last modified date
2019-10-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
OPENPAGES GRC
Fixed component ID
5725D5100
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFUEU","label":"IBM OpenPages with Watson"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
01 October 2019