Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0031304 | Openbravo ERP | A. Platform | public | 2015-10-29 18:53 | 2022-02-01 08:05 | |||||||
Reporter | caristu | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | acknowledged | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0031304: Behavior of summary functions with property fields pointing to table references is not correct | |||||||||||
Description | Behavior of summary functions with property fields pointing to table references is not correct. The displayed information is not correct (See attached) | |||||||||||
Steps To Reproduce | 1. Setup steps 1.1 As system admin 1.2 Open Window, Tabs and Fields 1.3 Open Sales Order, Header tab 1.4 Add a new Field: * Name: sales rep * Property: salesRepresentative.email * Show in Grid View: true 2. Reproduce steps 2.1 Login to ERP 2.2 Open Sales Order 2.3 Add a summary field for the new property field. The output is not correct. | |||||||||||
Proposed Solution | The problem is on the AdvancedQueryBuilder.addSelectFunctionPart(). The getPropertyForTableReference() is replacing the email value with the displayed value of the related table reference. This is not correct. There are two possible solutions: a) Do not call that method for the cases where is not needed (for example when localField does not contain the $_identifier value) b) Send directly from the client side the display field of the table reference in the getSummarySettings() function (Similar to the fix for related issue https://issues.openbravo.com/view.php?id=30800 [^]) | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=8668&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-10-29 18:53 | caristu | New Issue | ||||||||||
2015-10-29 18:53 | caristu | Assigned To | => platform | |||||||||
2015-10-29 18:53 | caristu | File Added: summaryFieldForPropertyField.png | ||||||||||
2015-10-29 18:53 | caristu | OBNetwork customer | => No | |||||||||
2015-10-29 18:53 | caristu | Modules | => Core | |||||||||
2015-10-29 18:53 | caristu | Triggers an Emergency Pack | => No | |||||||||
2015-10-29 18:53 | caristu | Issue Monitored: networkb | ||||||||||
2015-10-29 18:53 | caristu | Relationship added | related to 0030800 | |||||||||
2015-10-29 18:58 | caristu | Proposed Solution updated | ||||||||||
2015-10-29 19:05 | caristu | Proposed Solution updated | ||||||||||
2015-10-29 19:06 | caristu | Proposed Solution updated | ||||||||||
2015-11-04 09:12 | alostale | Status | new => acknowledged | |||||||||
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |