Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031304
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2015-10-29 18:532022-02-01 08:05
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031304: Behavior of summary functions with property fields pointing to table references is not correct

DescriptionBehavior of summary functions with property fields pointing to table references is not correct. The displayed information is not correct (See attached)
Steps To Reproduce1. 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 SolutionThe 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 [^])
TagsNo tags attached.
Attached Filespng file icon summaryFieldForPropertyField.png [^] (6,909 bytes) 2015-10-29 18:53

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030800 closedcaristu Filter on Property field in a table reference column doesn't work 

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker