Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032233Openbravo ERPB. User interfacepublic2016-02-15 14:032016-03-17 10:56
ngarcia 
inigosanchez 
immediateminoralways
closedfixed 
5
 
3.0PR16Q2 
alostale
Core
Production - Confirmed Stable
2015-02-13
3.0PR15Q3
https://code.openbravo.com/erp/devel/pi/rev/15dbf5983411271754cdb97c5d993a241b395601 [^]
No
0032233: Payment In and Payment Out lines are not exported to CSV
Payment In and Payment Out lines are not exported to CSV
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
No tags attached.
depends on backport 00322373.0PR16Q1 closed inigosanchez Payment In and Payment Out lines are not exported to CSV 
depends on backport 00322383.0PR15Q4.5 closed inigosanchez Payment In and Payment Out lines are not exported to CSV 
depends on backport 00322393.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 
Issue History
2016-02-15 14:03ngarciaNew Issue
2016-02-15 14:03ngarciaAssigned To => platform
2016-02-15 14:03ngarciaModules => Core
2016-02-15 14:03ngarciaTriggers an Emergency Pack => No
2016-02-15 14:07ngarciaResolution time => 1458255600
2016-02-15 14:07ngarciaIssue Monitored: networkb
2016-02-15 18:05inigosanchezAssigned Toplatform => inigosanchez
2016-02-15 18:12inigosanchezStatusnew => scheduled
2016-02-16 15:03inigosanchezRegression level => Production - Confirmed Stable
2016-02-16 15:03inigosanchezRegression date => 2015-02-13
2016-02-16 15:03inigosanchezRegression introduced in release => 3.0PR15Q3
2016-02-16 15:03inigosanchezRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/15dbf5983411271754cdb97c5d993a241b395601 [^]
2016-02-16 16:01inigosanchezRelationship addedcaused by 0025355
2016-02-16 16:02inigosanchezAssigned Toinigosanchez => Triage Finance
2016-02-16 16:33inigosanchezNote Added: 0084263
2016-02-16 16:53aferrazStatusscheduled => acknowledged
2016-02-16 16:53aferrazStatusacknowledged => scheduled
2016-02-16 16:54aferrazStatusscheduled => feedback
2016-02-16 16:54aferrazStatusfeedback => new
2016-02-16 17:11inigosanchezRelationship addedrelated to 0032248
2016-02-17 13:55vmromanosRelationship deletedrelated to 0032248
2016-02-17 13:55vmromanosRelationship addeddepends on 0032248
2016-02-17 14:09vmromanosNote Added: 0084287
2016-02-17 14:09vmromanosAssigned ToTriage Finance => platform
2016-02-17 14:09vmromanosSeveritymajor => minor
2016-02-23 15:50caristuRelationship addedduplicate of 0032318
2016-02-25 14:23alostaleStatusnew => scheduled
2016-02-25 14:23alostaleAssigned Toplatform => inigosanchez
2016-02-25 14:25alostaleResolution time1458255600 => 1457391600
2016-02-25 14:25alostaleNote Added: 0084510
2016-02-25 14:25alostaleRelationship replacedhas duplicate 0032318
2016-02-29 16:15inigosanchezNote Added: 0084602
2016-02-29 16:23inigosanchezNote Added: 0084605
2016-03-01 00:02hgbotCheckin
2016-03-01 00:02hgbotNote Added: 0084609
2016-03-01 00:02hgbotStatusscheduled => resolved
2016-03-01 00:02hgbotResolutionopen => fixed
2016-03-01 00:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8c53c9e9c26febf892a11cd30f5f5f81342cb2c2 [^]
2016-03-01 00:03inigosanchezReview Assigned To => alostale
2016-03-04 07:51alostaleNote Added: 0084704
2016-03-04 07:51alostaleStatusresolved => closed
2016-03-04 07:51alostaleFixed in Version => 3.0PR16Q2
2016-03-17 10:56hudsonbotCheckin
2016-03-17 10:56hudsonbotNote Added: 0085173
2016-05-23 11:37caristuRelationship addedcauses 0032838

Notes
(0084263)
inigosanchez   
2016-02-16 16:33   
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.
(0084287)
vmromanos   
2016-02-17 14:09   
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


(0084510)
alostale   
2016-02-25 14:25   
updated SLA to the more restrictive one set in duplicated issue 0032318
(0084602)
inigosanchez   
2016-02-29 16:15   
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
(0084605)
inigosanchez   
2016-02-29 16:23   
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
---
(0084704)
alostale   
2016-03-04 07:51   
code reviewed and tested in different windows
(0085173)
hudsonbot   
2016-03-17 10:56   
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/b22fb0500156 [^]
Maturity status: Test