Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032233 | Openbravo ERP | B. User interface | public | 2016-02-15 14:03 | 2016-03-17 10:56 |
|
Reporter | ngarcia | |
Assigned To | inigosanchez | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Production - Confirmed Stable |
Regression date | 2015-02-13 |
Regression introduced in release | 3.0PR15Q3 |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/15dbf5983411271754cdb97c5d993a241b395601 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0032233: Payment In and Payment Out lines are not exported to CSV |
Description | Payment In and Payment Out lines are not exported to CSV |
Steps To Reproduce | As group admin role:
Go to Payment In window
Select a record
Go to Lines tab and click on Export to Spreadsheet
Check the file does not have any line apart from the column names |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0032237 | 3.0PR16Q1 | closed | inigosanchez | Payment In and Payment Out lines are not exported to CSV | depends on | backport | 0032238 | 3.0PR15Q4.5 | closed | inigosanchez | Payment In and Payment Out lines are not exported to CSV | depends on | backport | 0032239 | 3.0PR15Q3.6 | closed | inigosanchez | Payment In and Payment Out lines are not exported to CSV | depends on | defect | 0032248 | | closed | platform | Improve consistency when export to csv from a subtab | caused by | design defect | 0025355 | | closed | fsoto82 | Long time to show the lines on the payment in/out windows | has duplicate | defect | 0032318 | | closed | platform | [SERQA 728] No data exported to excel in tab Payment In || Lines | causes | defect | 0032838 | | closed | alostale | Cannot export CSV from Widgets |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-02-15 14:03 | ngarcia | New Issue | |
2016-02-15 14:03 | ngarcia | Assigned To | => platform |
2016-02-15 14:03 | ngarcia | Modules | => Core |
2016-02-15 14:03 | ngarcia | Triggers an Emergency Pack | => No |
2016-02-15 14:07 | ngarcia | Resolution time | => 1458255600 |
2016-02-15 14:07 | ngarcia | Issue Monitored: networkb | |
2016-02-15 18:05 | inigosanchez | Assigned To | platform => inigosanchez |
2016-02-15 18:12 | inigosanchez | Status | new => scheduled |
2016-02-16 15:03 | inigosanchez | Regression level | => Production - Confirmed Stable |
2016-02-16 15:03 | inigosanchez | Regression date | => 2015-02-13 |
2016-02-16 15:03 | inigosanchez | Regression introduced in release | => 3.0PR15Q3 |
2016-02-16 15:03 | inigosanchez | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/15dbf5983411271754cdb97c5d993a241b395601 [^] |
2016-02-16 16:01 | inigosanchez | Relationship added | caused by 0025355 |
2016-02-16 16:02 | inigosanchez | Assigned To | inigosanchez => Triage Finance |
2016-02-16 16:33 | inigosanchez | Note Added: 0084263 | |
2016-02-16 16:53 | aferraz | Status | scheduled => acknowledged |
2016-02-16 16:53 | aferraz | Status | acknowledged => scheduled |
2016-02-16 16:54 | aferraz | Status | scheduled => feedback |
2016-02-16 16:54 | aferraz | Status | feedback => new |
2016-02-16 17:11 | inigosanchez | Relationship added | related to 0032248 |
2016-02-17 13:55 | vmromanos | Relationship deleted | related to 0032248 |
2016-02-17 13:55 | vmromanos | Relationship added | depends on 0032248 |
2016-02-17 14:09 | vmromanos | Note Added: 0084287 | |
2016-02-17 14:09 | vmromanos | Assigned To | Triage Finance => platform |
2016-02-17 14:09 | vmromanos | Severity | major => minor |
2016-02-23 15:50 | caristu | Relationship added | duplicate of 0032318 |
2016-02-25 14:23 | alostale | Status | new => scheduled |
2016-02-25 14:23 | alostale | Assigned To | platform => inigosanchez |
2016-02-25 14:25 | alostale | Resolution time | 1458255600 => 1457391600 |
2016-02-25 14:25 | alostale | Note Added: 0084510 | |
2016-02-25 14:25 | alostale | Relationship replaced | has duplicate 0032318 |
2016-02-29 16:15 | inigosanchez | Note Added: 0084602 | |
2016-02-29 16:23 | inigosanchez | Note Added: 0084605 | |
2016-03-01 00:02 | hgbot | Checkin | |
2016-03-01 00:02 | hgbot | Note Added: 0084609 | |
2016-03-01 00:02 | hgbot | Status | scheduled => resolved |
2016-03-01 00:02 | hgbot | Resolution | open => fixed |
2016-03-01 00:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8c53c9e9c26febf892a11cd30f5f5f81342cb2c2 [^] |
2016-03-01 00:03 | inigosanchez | Review Assigned To | => alostale |
2016-03-04 07:51 | alostale | Note Added: 0084704 | |
2016-03-04 07:51 | alostale | Status | resolved => closed |
2016-03-04 07:51 | alostale | Fixed in Version | => 3.0PR16Q2 |
2016-03-17 10:56 | hudsonbot | Checkin | |
2016-03-17 10:56 | hudsonbot | Note Added: 0085173 | |
2016-05-23 11:37 | caristu | Relationship added | causes 0032838 |
Notes |
|
|
FYI: The problem is related with parentProperty. It is not possible to obtain the parentProperty. Link to parent column in this new table (FIN_Payment_ScheduleDetail) should be set properly to allow obtain the parentProperty. |
|
|
|
This table doesn't have a fin_payment_id column, so it's not possible to use the link to parent column feature.
Adding a physical column in this table is not a possibility because it would have a big impact in the APRM flows.
Neither a computed column nor a property field would work here because the code that exports the CSV requires to have a physical column.
The only solution for this case (and other related cases) is to adapt the code that exports to CSV to use the same Criteria run when displaying the tab.
As a workaround for the customer, the old Lines tab can be activated to export to CSV.
Decreased severity to minor, assigned to platform and set as blocked by 0032248
|
|
|
|
updated SLA to the more restrictive one set in duplicated issue 0032318 |
|
|
|
Test plan: Check query and downloaded file. Export to CSV from:
- Payment In > Lines subtab
- Payment In > Lines subtab + Filter
- Assets > Asset Amortization subtab
- Assets > Asset Amortization subtab + Filter
- Organization grid view > Warehouse subtab
- Organization grid view > Warehouse subtab + Filter
- Organization tree view > Warehouse subtab
- Organization tree view > Warehouse subtab + Filter |
|
|
|
Added a test in TestLink > Platform > [EDA] Export Data > [EDAa] Export to CSV > [EDAa010] Export in subtab without link to parent. |
|
|
(0084609)
|
hgbot
|
2016-03-01 00:02
|
|
Repository: erp/devel/pi
Changeset: 8c53c9e9c26febf892a11cd30f5f5f81342cb2c2
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Mon Feb 29 23:49:20 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8c53c9e9c26febf892a11cd30f5f5f81342cb2c2 [^]
Fixes issue 32233: Payment In and Payment Out lines are not exported to CSV.
The problem was that export to CSV does not work properly in some subtabs without
link to parent column (e.g.Lines subtab of Payment In/Out). Before, It was used
"tabId" to obtaing data for export to CSV and the value of the "tabId" was sent
in a variable called "tab". The Criteria that is run when it is displayed the tab
uses a property named "tabId" instead of "tab".
The solution for this case (and other related cases) is to adapt the code that
exports to CSV to use the same Criteria run when displaying the tab. Now export
to CSV uses tabId property. Besides it has been refactored some piece of code
related with export data in DataSourceServlet to use "tabId" instead of "tab".
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
|
|
|
|
code reviewed and tested in different windows |
|
|
|
|