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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017915
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2011-07-06 12:322011-08-12 13:39
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP2
StatusclosedFix in branchFixed in SCM revisioncfdcbfbfb91a
ProjectionnoneETAnoneTarget Version3.0MP2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017915: Multiple level table reference not shown properly in grid

DescriptionHaving a table T0 with a column C0 with table reference R1 to table T1, displayed column T1.C1. Having T1.C1 column a table reference to table T2.C2, displayed column C2.

When displaying tab for T0, column C0 should be displayed with the value in T2.C2: T0.C0->T1.C1->T2.C2.

This is works in form view and when editing the value in grid, but for existent records in grid view, identifier (including UUID) for T2 is shown.
Steps To Reproduce-Find attached a module that allows to reproduce it.
-Install the module
-Open Test 17915 window and add a record
-Open Sales Order window in grid mode
-Edit any record in grid view and select the created record in Test 17915 window. Note in the grid you see an Order document no.
-Save the record. Now instead of displaying document no it shows order identifier.
TagsNo tags attached.
Attached Files? file icon org.openbravo.issue17915-0.0.0.obx [^] (15,834 bytes) 2011-07-13 09:04

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00164653.0RC7 closedmtaal Combos on new ui doesn't show the record identifiers 
related to defect 00161913.0MP2 closedalostale Payment proposal window: Lines tab shows UUID 
related to defect 00175263.0MP5 closedalostale Long identifier shown in lines tab 
related to defect 00180263.0MP3 closedalostale UUID is displayed in field "order UOM" in purchase order line 
related to defect 00183823.0MP5 closedalostale Productions line is wrong in grid view 

-  Notes
(0038896)
alostale (manager)
2011-07-06 12:33
edited on: 2011-07-06 12:34

This can be seen in ob@ob3 in Sales Order window, proforma field

(0039024)
alostale (manager)
2011-07-13 09:42

Debugging DataToJsonConverter.addBaseOBObject in Sales Order window with the attached module.

referencingProperty Property (id=155)
    columnId "A88B8FB53967494FB435AD380F9477DA" (id=157)
    columnName "EM_Ob17915_Test_ID" (id=183)
    displayProperty "proforma" (id=185)
    domainType TableDomainType (id=186)
        entity.name Order

referencedProperty Property (id=152)
    columnId "6AFFB8D8C4254786B4AAD627622434D4" (id=159)
    columnName "Ob17915_Test_ID" (id=204)
    displayProperty null
    domainType UniqueIdDomainType (id=205)
        entity.name OB17915_test

Shouldn't referencedProperty column be Ob17915_Test.proforma with TableDomainType instead of Ob17915_Test.Ob17915_Test_ID UniqueIdDomainType?
(0039037)
hgbot (developer)
2011-07-13 13:10

Repository: erp/devel/pi
Changeset: cfdcbfbfb91afc601f31bd6d21a438c611fe0b21
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 13 13:10:23 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cfdcbfbfb91afc601f31bd6d21a438c611fe0b21 [^]

fixed bug 017915: Multiple level table reference not shown properly in grid

  Allowing 2 levels deep

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
---
(0039591)
hudsonbot (developer)
2011-08-01 14:19

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/cf2afed6e8ef [^]

Maturity status: Test
(0040163)
jonalegriaesarte (reporter)
2011-08-12 13:39

Verified

- Issue History
Date Modified Username Field Change
2011-07-06 12:32 alostale New Issue
2011-07-06 12:32 alostale Assigned To => alostale
2011-07-06 12:32 alostale Modules => Core
2011-07-06 12:32 alostale Relationship added related to 0016465
2011-07-06 12:33 alostale Note Added: 0038896
2011-07-06 12:34 alostale Note Edited: 0038896 View Revisions
2011-07-11 10:54 gorkaion Relationship added related to 0017526
2011-07-11 10:54 gorkaion Relationship added related to 0016191
2011-07-13 09:04 alostale File Added: org.openbravo.issue17915-0.0.0.obx
2011-07-13 09:16 alostale Description Updated View Revisions
2011-07-13 09:16 alostale Steps to Reproduce Updated View Revisions
2011-07-13 09:42 alostale Note Added: 0039024
2011-07-13 13:10 hgbot Checkin
2011-07-13 13:10 hgbot Note Added: 0039037
2011-07-13 13:10 hgbot Status new => resolved
2011-07-13 13:10 hgbot Resolution open => fixed
2011-07-13 13:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cfdcbfbfb91afc601f31bd6d21a438c611fe0b21 [^]
2011-07-19 09:04 malsasua Relationship added related to 0018026
2011-08-01 14:19 hudsonbot Checkin
2011-08-01 14:19 hudsonbot Note Added: 0039591
2011-08-12 13:39 jonalegriaesarte Note Added: 0040163
2011-08-12 13:39 jonalegriaesarte Status resolved => closed
2011-08-12 13:39 jonalegriaesarte Fixed in Version => 3.0MP2
2011-08-30 08:54 alostale Relationship added related to 0018382


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker