Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0018122 | Openbravo ERP | A. Platform | public | 2011-07-28 18:48 | 2011-08-12 13:04 |
|
Reporter | elopio | |
Assigned To | alostale | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0MP2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0018122: When the filter returns only one record, toolbar buttons dissapear |
Description | When the grid filter returns only one record, that record is selected (highlighted in orange), but the toolbar buttons are not visible.
This is affecting the smoke test, because it assumes that after filtering, the first result will be selected. |
Steps To Reproduce | Go to http://live.builds.openbravo.com/int-full-pgsql/ [^]
Login with Openbravo/openbravo
Go to Sales Management > Transactions > Sales order
Click the first record with document No. PR/1
(the tool bar buttons appear)
Filter by Document No. = PR/1 and Total Gross Amount = 59.13, so you get only one result.
(the tool bar buttons do not appear) |
Proposed Solution | Always show the toolbar buttons when a record is selected. |
Additional Information | |
Tags | Automated |
Relationships | |
Attached Files | Openbravo - Sales Order - PR1 - 13-09-201... 2011-07-28 11-58-34.png (45,344) 2011-07-28 19:59 https://issues.openbravo.com/file_download.php?file_id=4400&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2011-07-28 18:48 | elopio | New Issue | |
2011-07-28 18:48 | elopio | Assigned To | => alostale |
2011-07-28 18:48 | elopio | Modules | => Core |
2011-07-28 18:49 | elopio | Tag Attached: Automated | |
2011-07-28 18:56 | elopio | version | => pi |
2011-07-28 19:58 | elopio | Issue Monitored: elopio | |
2011-07-28 19:59 | elopio | File Added: Openbravo - Sales Order - PR1 - 13-09-201... 2011-07-28 11-58-34.png | |
2011-07-29 13:46 | alostale | Note Added: 0039550 | |
2011-07-29 14:05 | hgbot | Checkin | |
2011-07-29 14:05 | hgbot | Note Added: 0039552 | |
2011-07-29 14:05 | hgbot | Status | new => resolved |
2011-07-29 14:05 | hgbot | Resolution | open => fixed |
2011-07-29 14:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/540b30e15ffacec03b4cf952df2220b1b637ba1b [^] |
2011-08-01 14:22 | hudsonbot | Checkin | |
2011-08-01 14:22 | hudsonbot | Note Added: 0039742 | |
2011-08-12 13:04 | jonalegriaesarte | Note Added: 0040160 | |
2011-08-12 13:04 | jonalegriaesarte | Status | resolved => closed |
2011-08-12 13:04 | jonalegriaesarte | Fixed in Version | => 3.0MP2 |
Notes |
|
|
The problem appears when having a record selected, a filter criteria which result includes the selected record is applied.
If having selected a record a filter criteria that returns just one record different than the selected one, it works fine.
Technically, the problem is in OBToolbar.updateButtonState. In the case that fails this.view.viewGrid.getSelectedRecord() does not return any record, so it is treated as empty selection removing all the buttons. |
|
|
(0039552)
|
hgbot
|
2011-07-29 14:05
|
|
Repository: erp/devel/pi
Changeset: 540b30e15ffacec03b4cf952df2220b1b637ba1b
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jul 29 14:05:01 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/540b30e15ffacec03b4cf952df2220b1b637ba1b [^]
fixed bug 18122: When the filter returns selected record, toolbar buttons dissapear
Do not update button state when data arrives. This action should only be performed in
record selection/deselection which is already properly managed.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
|
|
|
|
|
|
(0040160)
|
jonalegriaesarte
|
2011-08-12 13:04
|
|
|