Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0026412 | Openbravo ERP | A. Platform | public | 2014-04-29 11:46 | 2014-05-07 18:12 |
|
| Reporter | caristu | |
| Assigned To | alostale | |
| Priority | immediate | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | 3.0MP31.2 | |
| Target Version | | Fixed in Version | 3.0PR14Q2 | |
| Merge Request Status | |
| Review Assigned To | AugustoMauch |
| OBNetwork customer | OBPS |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | Production - Confirmed Stable |
| Regression date | 2013-12-20 |
| Regression introduced in release | |
| Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/b718b3ee2462bdd381bc76b332a779e3d8ecbe3d [^] |
| Triggers an Emergency Pack | No |
|
| Summary | 0026412: Property fields based on computed columns with a FK fail |
| Description | Having a computed column which is a FK to another entity. if a property column is defined to show any property of that FK entity, it fails.
In authorize.net module there are examples for this in Payment In > Lines tab. Ex.:
_computedColumns.obautnFinPaymentScheduledetail.active
|
| Steps To Reproduce | - Install authorize.net module
- Go to Payment In window, select a record
- Go to Lines -> Error appears |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0024495 | | closed | alostale | Lazy computed columns API chage | | related to | defect | 0025248 | 3.0MP31 | closed | alostale | Error after sorting by a computed column | | related to | defect | 0026432 | | closed | alostale | can't select a computed column for a property field. |
|
| Attached Files | error.png (29,514) 2014-04-29 11:46 https://issues.openbravo.com/file_download.php?file_id=6891&type=bug

|
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2014-04-29 11:46 | caristu | New Issue | |
| 2014-04-29 11:46 | caristu | Assigned To | => AugustoMauch |
| 2014-04-29 11:46 | caristu | File Added: error.png | |
| 2014-04-29 11:46 | caristu | Modules | => Core |
| 2014-04-29 11:46 | caristu | OBNetwork customer | => Yes |
| 2014-04-29 11:46 | caristu | Triggers an Emergency Pack | => No |
| 2014-04-29 11:46 | caristu | Issue Monitored: networkb | |
| 2014-04-29 11:47 | caristu | Regression level | => Production - Confirmed Stable |
| 2014-04-29 11:47 | caristu | Relationship added | related to 0024495 |
| 2014-04-29 11:50 | caristu | Summary | Property field based on computed columns are not working => Property field based on computed columns are not working using the new API |
| 2014-04-29 11:50 | caristu | Description Updated | bug_revision_view_page.php?rev_id=5768#r5768 |
| 2014-04-29 11:58 | caristu | Summary | Property field based on computed columns are not working using the new API => Property fields based on computed columns are not working using the new API |
| 2014-04-29 12:10 | caristu | Severity | major => critical |
| 2014-04-30 09:06 | caristu | Severity | critical => minor |
| 2014-04-30 15:38 | alostale | Review Assigned To | => AugustoMauch |
| 2014-04-30 15:38 | alostale | Regression date | => 2013-12-20 |
| 2014-04-30 15:38 | alostale | Regression introduced by commit | => http://code.openbravo.com/erp/devel/pi/rev/b718b3ee2462bdd381bc76b332a779e3d8ecbe3d [^] |
| 2014-04-30 15:38 | alostale | Summary | Property fields based on computed columns are not working using the new API => Property fields based on computed columns with a FK fail |
| 2014-04-30 15:38 | alostale | Description Updated | bug_revision_view_page.php?rev_id=5776#r5776 |
| 2014-04-30 15:38 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=5778#r5778 |
| 2014-04-30 15:38 | alostale | Relationship added | related to 0025248 |
| 2014-04-30 15:43 | alostale | Relationship added | related to 0026432 |
| 2014-04-30 15:46 | alostale | Assigned To | AugustoMauch => alostale |
| 2014-04-30 15:50 | hgbot | Checkin | |
| 2014-04-30 15:50 | hgbot | Note Added: 0066712 | |
| 2014-04-30 15:50 | hgbot | Status | new => resolved |
| 2014-04-30 15:50 | hgbot | Resolution | open => fixed |
| 2014-04-30 15:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cc9011c7b09ff1cefd032f2616db3ae0e4404e60 [^] |
| 2014-04-30 15:51 | alostale | Note Added: 0066714 | |
| 2014-05-02 09:32 | AugustoMauch | Note Added: 0066779 | |
| 2014-05-02 09:32 | AugustoMauch | Status | resolved => new |
| 2014-05-02 09:32 | AugustoMauch | Resolution | fixed => open |
| 2014-05-02 12:13 | hgbot | Checkin | |
| 2014-05-02 12:13 | hgbot | Note Added: 0066788 | |
| 2014-05-02 12:13 | hgbot | Status | new => resolved |
| 2014-05-02 12:13 | hgbot | Resolution | open => fixed |
| 2014-05-02 12:13 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/cc9011c7b09ff1cefd032f2616db3ae0e4404e60 [^] => http://code.openbravo.com/erp/devel/pi/rev/bdc2ec814d75ecd4892096c7d9cda96a86b63bb8 [^] |
| 2014-05-02 12:16 | AugustoMauch | Note Added: 0066789 | |
| 2014-05-02 12:16 | AugustoMauch | Status | resolved => closed |
| 2014-05-02 12:16 | AugustoMauch | Fixed in Version | => PR14Q2 |
| 2014-05-07 18:12 | hudsonbot | Checkin | |
| 2014-05-07 18:12 | hudsonbot | Note Added: 0066988 | |
| 2014-05-07 18:12 | hudsonbot | Checkin | |
| 2014-05-07 18:12 | hudsonbot | Note Added: 0066993 | |
|
Notes |
|
|
(0066712)
|
|
hgbot
|
|
2014-04-30 15:50
|
|
Repository: erp/devel/pi
Changeset: cc9011c7b09ff1cefd032f2616db3ae0e4404e60
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 30 15:48:32 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cc9011c7b09ff1cefd032f2616db3ae0e4404e60 [^]
fixed bug 26412: property fields based on computed columns with a FK fail
property fields (sent to backend as additionalProperties) failed because an extra
unneeded join to _computedColumns was performed
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonUtils.java
---
|
|
|
|
|
|
Tested again all cases defined in 0025248 |
|
|
|
|
Wrong if condition:
if (true || !result.isProxy()) { |
|
|
|
(0066788)
|
|
hgbot
|
|
2014-05-02 12:13
|
|
Repository: erp/devel/pi
Changeset: bdc2ec814d75ecd4892096c7d9cda96a86b63bb8
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri May 02 12:03:07 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bdc2ec814d75ecd4892096c7d9cda96a86b63bb8 [^]
Fixes issue 26412: Removes code that was meant just for debugging
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonUtils.java
---
|
|
|
|
|
|
Code reviewed and verified in pi@bdc2ec814d75 |
|
|
|
|
|
|
|
|
|