Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048380 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] I. Performance | major | always | 2022-01-11 18:01 | 2022-03-08 16:41 | |||
Reporter | ivazquez | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR22Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | < 1 month | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048380: Performance issue when creating an order line | |||||||
Description | Ticket 34160 When trying to create an order and consequently an order line just after entering the "Sales Order" window and before the orders in that window are finished loading, an error occurs and the order is not created correctly, thus preventing the order line from being created either. Talked to Augusto Mauch, he was given access to the test environment in order to reproduce the error. | |||||||
Steps To Reproduce | Steps to reproduce: 1. Open sales order application. Sales order data is loading. 2. Immediately create new sales order, select Business Partner and save header. After some time child line becomes disabled. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0135146) hgbot (developer) 2022-02-20 11:31 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/530 [^] |
(0135150) hgbot (developer) 2022-02-21 07:47 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: a3f4c1efc59263c7fb852443a226fb41f67bdcf8 Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 20-02-2022 16:09:13 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/a3f4c1efc59263c7fb852443a226fb41f67bdcf8 [^] Fixes ISSUE-48380: New records should no be created when the grid is being loaded It should not be possible to create new records while a grid is being reloaded, because when the data load response is received, it will delete from the local data the records that were created while the grid was loaded. To disable the creation of new records the following actions have been done: - The disable logic of the toolbar buttons now check if the grid is being loaded. To check it is uses the same logic ListGrid does, but regretfully it is not included in a visible function so it needs to be repeated. - The buttons are updated just before making a request to load the grid data, to let them react to the grid being loaded Other considerations: - These has been no need to disable record creation using short keys (Ctrl+i, Ctrl+d), because those were already not being applied when the grid was loading - There was already a call to updateButtonState when the datasource response is received. - Buttons are properly reenabled when data is received, when there requests results in an exception in the backend and also when the request times out - Lazy filtering works properly, buttons are initially enabled and will not be disabled until the user explicitely load the grid --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js --- |
(0135151) hgbot (developer) 2022-02-21 07:47 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/530 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-01-11 18:01 | ivazquez | New Issue | |
2022-01-11 18:01 | ivazquez | Assigned To | => Triage Platform Base |
2022-01-11 18:01 | ivazquez | File Added: 2021-12-21-08-40-11.mp4 | |
2022-01-11 18:01 | ivazquez | OBNetwork customer | => Gold |
2022-01-11 18:01 | ivazquez | Modules | => Core |
2022-01-11 18:01 | ivazquez | Triggers an Emergency Pack | => No |
2022-01-11 18:04 | ivazquez | Description Updated | View Revisions |
2022-01-11 18:05 | ivazquez | Description Updated | View Revisions |
2022-01-14 19:47 | ivazquez | ETA | none => < 1 month |
2022-02-20 11:31 | hgbot | Merge Request Status | => open |
2022-02-20 11:31 | hgbot | Note Added: 0135146 | |
2022-02-21 07:47 | hgbot | Merge Request Status | open => approved |
2022-02-21 07:47 | hgbot | Resolution | open => fixed |
2022-02-21 07:47 | hgbot | Status | new => closed |
2022-02-21 07:47 | hgbot | Fixed in Version | => PR22Q2 |
2022-02-21 07:47 | hgbot | Note Added: 0135150 | |
2022-02-21 07:47 | hgbot | Note Added: 0135151 | |
2022-03-08 16:41 | AugustoMauch | Assigned To | Triage Platform Base => AugustoMauch |
Copyright © 2000 - 2009 MantisBT Group |