Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029265 | Openbravo ERP | I. Performance | public | 2015-03-06 13:37 | 2015-03-20 19:23 |
|
Reporter | lorenzofidalgo | |
Assigned To | umartirena | |
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR14Q3.8 | Fixed in Version | 3.0PR14Q3.8 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
OBNetwork customer | No |
Web browser | Google Chrome, Mozilla Firefox |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0029265: Clicking select all and after that unselect all records in AddPayment window induces browser to get stuck |
Description | If there is enough lines (I have tested this with 60 and 90 records and it has been successfully reproduced), clicking "select all" records and after that clicking same button (which is "unselect all" at that moment) induces browser to get stuck. [See screenshots].
I have tested this localhost and livebuilds in pi pgsql context.
|
Steps To Reproduce | [It is adviced to create as many puchase invoice records as possible with at least one product line each one and complete them to test this].
Login ERP using QAAdmin role.
Go to "Financial Account" window.
Select "Spain Cashbook" role.
Go to "Transaction" tab.
Create a new record.
Transaction Type: "BP Withdrawal".
Click "+" in Payment field to add a payment.
In "Add Payment" window:
--
Clear filters.
Click "select all" checkbox and next to that, click it again to "unselect all".
It will probably broke. If it does not, repeat "select all" + "unselect all" several times. |
Proposed Solution | |
Additional Information | |
Tags | Approved |
Relationships | blocks | defect | 0029172 | | closed | umartirena | Clicking select all and after that unselect all records in AddPayment window induces browser to get stuck |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-03-12 17:10 | Sandrahuguet | Type | defect => backport |
2015-03-12 17:10 | Sandrahuguet | Target Version | => 3.0PR14Q3.8 |
2015-03-13 13:02 | hgbot | Checkin | |
2015-03-13 13:02 | hgbot | Note Added: 0075550 | |
2015-03-13 13:02 | hgbot | Status | scheduled => resolved |
2015-03-13 13:02 | hgbot | Resolution | open => fixed |
2015-03-13 13:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR14Q3.8/rev/a7cded5c96cff9af029ddfaf5f9a965980f639ce [^] |
2015-03-13 14:00 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2015-03-13 14:00 | Sandrahuguet | Note Added: 0075564 | |
2015-03-13 14:00 | Sandrahuguet | Status | resolved => closed |
2015-03-13 14:00 | Sandrahuguet | Fixed in Version | => 3.0PR14Q3.8 |
2015-03-13 17:35 | dmitry_mezentsev | Tag Attached: Approved | |
2015-03-17 19:31 | umartirena | Note Added: 0075705 | |
2015-03-17 19:31 | umartirena | Status | closed => new |
2015-03-17 19:31 | umartirena | Resolution | fixed => open |
2015-03-17 19:31 | umartirena | Fixed in Version | 3.0PR14Q3.8 => |
2015-03-17 19:33 | umartirena | Note Edited: 0075705 | bug_revision_view_page.php?bugnote_id=0075705#r8010 |
2015-03-18 09:54 | hgbot | Checkin | |
2015-03-18 09:54 | hgbot | Note Added: 0075722 | |
2015-03-18 17:11 | hgbot | Checkin | |
2015-03-18 17:11 | hgbot | Note Added: 0075745 | |
2015-03-18 17:19 | umartirena | Note Deleted: 0075722 | |
2015-03-18 18:12 | umartirena | Status | new => scheduled |
2015-03-18 18:12 | umartirena | Status | scheduled => resolved |
2015-03-18 18:12 | umartirena | Fixed in Version | => 3.0PR14Q3.8 |
2015-03-18 18:12 | umartirena | Resolution | open => fixed |
2015-03-18 18:49 | Sandrahuguet | Note Added: 0075753 | |
2015-03-18 18:49 | Sandrahuguet | Status | resolved => closed |
2015-03-20 19:23 | hudsonbot | Checkin | |
2015-03-20 19:23 | hudsonbot | Note Added: 0075829 | |
Notes |
|
(0075550)
|
hgbot
|
2015-03-13 13:02
|
|
|
|
|
|
|
(0075705)
|
umartirena
|
2015-03-17 19:31
(edited on: 2015-03-17 19:33) |
|
Reopened because it does not update differences after reload of Order Invoices grid
|
|
|
(0075745)
|
hgbot
|
2015-03-18 17:11
|
|
Repository: erp/backports/3.0PR14Q3.8
Changeset: 18bb658d54a0e4dd538750b5e0833939b7a0e143
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Wed Mar 18 17:09:46 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR14Q3.8/rev/18bb658d54a0e4dd538750b5e0833939b7a0e143 [^]
Related to bug 29265: Delete obaprmAllRecordsSelectedByUser in OrderInvoice Load
While executing invalidateCache() function to reload OrderInvoice grid it internally calls to 'OB.APRM.AddPayment.deselectAllRecords' overriden method that sets obaprmAllRecordsSelectedByUser property to true. This property is only needed when manually the select/unselect all checkbox is clicked.
This was causing on certain scenarios that methods to update totals were not being called:
* OB.APRM.AddPayment.updateInvOrderTotal(view.theForm, orderInvoice);
* OB.APRM.AddPayment.updateActualExpected(view.theForm);
* OB.APRM.AddPayment.updateDifference(view.theForm);
So, in order to avoid this in OrderInvoiceOnLoad function, if the property 'obaprmAllRecordsSelectedByUser' exists, it will be deleted.
---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
|
|
|
|
|
|
|
|