Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054823
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-03-01 12:142024-03-01 12:15
ReporterAaron_AlvarezView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054823: Bug in MultiSelectorDialog related to loading and sorting async data

DescriptionWhen 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 ReproduceIn 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 SolutionI 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]);
TagsNo tags attached.
Attached Filespng file icon Open-MultiselectorDialog.png [^] (13,372 bytes) 2024-03-01 12:14


png file icon Search-In-MultiselectorDialog.png [^] (25,846 bytes) 2024-03-01 12:15

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker