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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048375
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2022-01-11 13:422022-04-20 12:55
ReporteridiezView Statuspublic 
Assigned Tocberner 
PriorityurgentResolutionfixedFixed in VersionPR22Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date2022-01-19
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048375: Grid fails refresh when an element is selected and a group by applied

Descriptionplatform error in the sales order in grouping and filters

Grid shows this error grouped by a column and selecting row, the refresh button is pressed:
"For input string:" followed by:
 - NaN(in case of no filter selected when refreshing)
 - "{"Class":"Number"}" in case some filter has been selected
Steps To Reproduce### Updated steps to reproduce
1. Open livebuilds backoffice and login
2. Go to Sales Order window and clear filter
3. Right click on Business Partner and click on Group by Business Partner
4. Click on a row and then on the refresh button / It will break after this with the error mentioned.




### Old steps to reproduce
1) Enter livebuild retail translations

2)Go to the window "sales orders"

3) In the "sales order" window we must remove some filters for example: "Invoice Status", "Delivey Status", "Is canceled", "Selected strore location" and select the fields "Rouding Amount" and "Total Net Amount "

4) Select the field "Total Net Amount" and direct the filter "Set summary faction" and "sum"

5) Select the field "Business partner" and the filter "Group by Business partner"

6) We give the refresh button and we can see that it gives the following error "For input string =" NaN "

7) Filter by date in "Order Date" and refresh, we can see that it will give the following error: "For input string Class: Number}"

8) Remove the filter and continue with the same error


The link of video: https://watch.screencastify.com/v/LtwvuxGww1IXoIDtntnX [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0134235)
vmromanos (manager)
2022-01-11 18:15

Reduced severity to major
(0134336)
AugustoMauch (manager)
2022-01-17 16:43

Updating SLA due to severity downgrade
(0134358)
hgbot (developer)
2022-01-18 11:42

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/502 [^]
(0134547)
hgbot (developer)
2022-01-25 10:59

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 9bb588b21eebc0f8f8a49ad03fb946dee0ee7731
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 25-01-2022 09:58:28
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/9bb588b21eebc0f8f8a49ad03fb946dee0ee7731 [^]

Fixes ISSUE-48375: Grid fails refresh when an element is selected and a group by applied

Group by functionality doesn't generate a ResultSet when clicking the
refresh button, that means there is no data.resultSize object, it is
undefined. Because of this an error appeared when refreshing with an
element selected and with a group by applied to any column of a grid.

To fix it, the selected record check is skipped when doing a refresh
with a group by applied, as it is currently not supported to do so.
This basically results that when the refresh button is pressed, if a
record was selected(with group by applied), it will not be reselected
when the refresh finishes, if it is in the resultSet.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0134548)
hgbot (developer)
2022-01-25 10:59

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/502 [^]

- Issue History
Date Modified Username Field Change
2022-01-11 13:42 idiez New Issue
2022-01-11 13:42 idiez Assigned To => Triage Finance
2022-01-11 13:42 idiez Modules => Core
2022-01-11 13:42 idiez Regression date => 2022-01-19
2022-01-11 13:42 idiez Triggers an Emergency Pack => No
2022-01-11 13:50 Practics Issue Monitored: Practics
2022-01-11 18:15 vmromanos Assigned To Triage Finance => platform
2022-01-11 18:15 vmromanos Note Added: 0134235
2022-01-11 18:15 vmromanos Severity critical => major
2022-01-17 16:22 cberner Description Updated View Revisions
2022-01-17 16:22 cberner Steps to Reproduce Updated View Revisions
2022-01-17 16:23 cberner Description Updated View Revisions
2022-01-17 16:40 cberner Status new => acknowledged
2022-01-17 16:40 cberner Assigned To platform => cberner
2022-01-17 16:43 AugustoMauch Note Added: 0134336
2022-01-18 11:42 hgbot Note Added: 0134358
2022-01-25 10:59 hgbot Resolution open => fixed
2022-01-25 10:59 hgbot Status acknowledged => closed
2022-01-25 10:59 hgbot Fixed in Version => PR22Q2
2022-01-25 10:59 hgbot Note Added: 0134547
2022-01-25 10:59 hgbot Note Added: 0134548
2022-04-20 12:55 cberner Summary URGENT: platform error in the sales order => Grid fails refresh when an element is selected and a group by applied


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker