Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0054823 | POS2 | POS | public | 2024-03-01 12:14 | 2024-03-01 12:15 |
Reporter | Aaron_Alvarez | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0054823: Bug in MultiSelectorDialog related to loading and sorting async data | ||||
Description | When using the MultiSelectorDialog and giving some async data the data will not appear until you search something and the 'dialogOnSearchInputChange' is launched. I think this is because in the visibleRows and the dataSource there is no data and when this is executed it update the state and the dataSource 'rows'. | ||||
Steps To Reproduce | In the SSMS enviroment: - Go to New Distribution Order Issue - Open any MultiSelector ERROR: There is now rows - Type something to search and delete it - The rows appear | ||||
Proposed Solution | I think this in the MultiSelectorDialog could be a solution. More tests are needed useEffect(() => { const a = () => { load({ rows }); setVisibleRows(rows); }; if (rows !== visibleRows) a(); // eslint-disable-next-line react-hooks/exhaustive-deps }, [rows]); | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Open-MultiselectorDialog.png (13,372) 2024-03-01 12:14 https://issues.openbravo.com/file_download.php?file_id=19512&type=bug Search-In-MultiselectorDialog.png (25,846) 2024-03-01 12:15 https://issues.openbravo.com/file_download.php?file_id=19513&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-03-01 12:14 | Aaron_Alvarez | New Issue | |||
2024-03-01 12:14 | Aaron_Alvarez | Assigned To | => Retail | ||
2024-03-01 12:14 | Aaron_Alvarez | File Added: Open-MultiselectorDialog.png | |||
2024-03-01 12:14 | Aaron_Alvarez | Triggers an Emergency Pack | => No | ||
2024-03-01 12:15 | Aaron_Alvarez | File Added: Search-In-MultiselectorDialog.png |
There are no notes attached to this issue. |