Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032902Openbravo ERPA. Platformpublic2016-05-09 11:262016-12-16 18:39
lorenzofidalgo 
inigosanchez 
normalminoralways
closedfixed 
5
pi 
3.0PR17Q1 
caristu
Google Chrome, Mozilla Firefox
Core
No
0032902: SelectAll checkbox is not currently active in all flows when all lines are selected in grid
SelectAll checkbox is not correctly activated if all records are selected under some circumstances. Besides, clicking once selectAll in that moment has not effect. (In the following video, you can check that behaviour between 1:08 and 1:14 https://drive.google.com/a/openbravo.com/file/d/0Bz1bUfkEffVIY2phT0NORldSS00/view [^] )
This behaviour is, currently, breaking some QA automated tests.
0-Login ERP as QAAdmin//QAAdmin.
1-Using QA Testing Admin role, go to "Payment Proposal" window.
2-Create new record in form using the following values:
--
Organization: Spain
Paying From: Spain Bank - EUR
--
Save the record.
3-Click "Select Expected Payments" process, select all records and click "Submit".
4-Click "Generate Payments" process. Once the popup has appeared, with "Group separate payments for the same vendor into one payment" option selected, click "Process" button.
5-Click "Reactivate" process button and once the popup has appeared, with "Reactivate" Action selected, click "Process" button.
6-Now, click "Select Expected Payments" process button. All records will be selected, but selectAll checkbox is not selected. That checkbox should be selected. In that circumstances, clicking selectAll checkbox has not effect in the application.
No tags attached.
related to defect 0032904 acknowledged Triage Platform Base SelectAll checkbox in deselected if a filter column is clicked to sort 
related to defect 0033552 acknowledged Triage Platform Base The selectAll checkbox is not working fine 
png selectAllCheckboxNotSelected.png (256,294) 2016-05-09 11:26
https://issues.openbravo.com/file_download.php?file_id=9373&type=bug
png
Issue History
2016-05-09 11:26lorenzofidalgoNew Issue
2016-05-09 11:26lorenzofidalgoAssigned To => platform
2016-05-09 11:26lorenzofidalgoFile Added: selectAllCheckboxNotSelected.png
2016-05-09 11:26lorenzofidalgoWeb browser => Google Chrome, Mozilla Firefox
2016-05-09 11:26lorenzofidalgoModules => Core
2016-05-09 11:26lorenzofidalgoTriggers an Emergency Pack => No
2016-05-09 11:27lorenzofidalgoWeb browserGoogle Chrome, Mozilla Firefox => Google Chrome, Mozilla Firefox
2016-05-09 11:27lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=12016#r12016
2016-05-09 12:17lorenzofidalgoRelationship addedrelated to 0032904
2016-06-02 15:13lorenzofidalgoIssue Monitored: lorenzofidalgo
2016-07-15 10:15alostaleStatusnew => acknowledged
2016-11-07 12:43plujanIssue Monitored: plujan
2016-11-30 10:37inigosanchezAssigned Toplatform => inigosanchez
2016-11-30 14:49inigosanchezStatusacknowledged => scheduled
2016-12-01 12:41alostaleRelationship addedrelated to 0033552
2016-12-01 13:20alostalePriorityhigh => normal
2016-12-13 13:39inigosanchezNote Added: 0092316
2016-12-14 00:30hgbotCheckin
2016-12-14 00:30hgbotNote Added: 0092330
2016-12-14 00:30hgbotStatusscheduled => resolved
2016-12-14 00:30hgbotResolutionopen => fixed
2016-12-14 00:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e47c128a35133072f21ffa2eec09c11e14578fbe [^]
2016-12-14 00:30inigosanchezNote Edited: 0092316bug_revision_view_page.php?bugnote_id=0092316#r13991
2016-12-14 00:42inigosanchezReview Assigned To => caristu
2016-12-14 00:42inigosanchezWeb browserGoogle Chrome, Mozilla Firefox => Google Chrome, Mozilla Firefox
2016-12-16 12:20caristuNote Added: 0092479
2016-12-16 12:20caristuStatusresolved => closed
2016-12-16 12:20caristuFixed in Version => 3.0PR17Q1
2016-12-16 18:39hudsonbotCheckin
2016-12-16 18:39hudsonbotNote Added: 0092705

Notes
(0092316)
inigosanchez   
2016-12-13 13:39   
(edited on: 2016-12-14 00:30)
Test plan:
- Flow described in steps to reproduce.
- Login with F&B International Admin. Return Material receipt Window. Open P&E without lines.
- Login with F&B International Admin. Create a Return From Customer and Booked. Return Material receipt Window. Open P&E with not selected lines.
- Login with F&B International Admin. Create a Return From Customer and Booked. Return Material receipt Window. Open P&E with all lines selected.

Results:
- All flows work as expected.

(0092330)
hgbot   
2016-12-14 00:30   
Repository: erp/devel/pi
Changeset: e47c128a35133072f21ffa2eec09c11e14578fbe
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Wed Dec 14 00:21:05 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e47c128a35133072f21ffa2eec09c11e14578fbe [^]

Fixes issue 32902: SelectAll checkbox is not currently active in all flows

The problem was that SelectAll checkbox was not currently active in P&E windows when all
lines were selected in grid.

The problem has been resolved by using updateCheckboxHeaderState() function. This function
update the state of the SelectAll checkbox when a P&E window have selected all of their lines.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0092479)
caristu   
2016-12-16 12:20   
Code reviewed + testing OK: "SelectAll" checkbox is now checked off when the P&E is opened having selected all its records.
(0092705)
hudsonbot   
2016-12-16 18:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^]
Maturity status: Test