Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0031304 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
defect | [Openbravo ERP] A. Platform | minor | always | 2015-10-29 18:53 | 2022-02-01 08:05 | ||||||
Reporter | caristu | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Any | Database | Any | Java version | |||||||
OS Version | Database version | Ant version | |||||||||
Product Version | SCM revision | ||||||||||
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 [^]) | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | ![]() | ||||||||||
![]() |
||||||||
|
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |