Bug 2225685

Summary: Policy list view table is crashing when try to sort the rows on manage policy modal
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: gowtham <gshanmug>
Component: management-consoleAssignee: gowtham <gshanmug>
Status: ON_QA --- QA Contact: Aman Agrawal <amagrawa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.14CC: odf-bz-bot, skatiyar
Target Milestone: ---   
Target Release: ODF 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.14.0-110 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description gowtham 2023-07-25 16:48:44 UTC
Description of problem (please be detailed as possible and provide log
snippests):
In 4.14 Manage policy modal, Column wise sorting is crashing the entire modal. It is breaking only when more than one policy is applied to the same application. (Applicable only for subscription app type) 

Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
100%

Can this issue reproduce from the UI?
100%

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Create a Subscription type application on ACM with more than one subscription. Each should have a separate placement.  
2. Assign different policies to each placement using the "Manage data policy" action.
3. Policy list view on managing data policy modal, try to sort the first column. 
4. It will crash the entire page.

Actual results:
Column-wise sorting leads to crashing the entire page.

Expected results:
Sorting has to be happen without any issue.

Additional info: