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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024181
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminorhave not tried2013-06-25 10:442013-07-16 14:26
ReporterjonalegriaesarteView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP26
StatusclosedFix in branchFixed in SCM revision7bdf08273195
ProjectionnoneETAnoneTarget Version3.0MP26
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024181: In table reference the flag displayed value is not working in grid view

DescriptionIn table reference the flag displayed value is not working. When flagged it is supposed to show the column value as identifier in the text, but it is not working neither in grid nor filtering the expression.
Steps To ReproduceExample based on time expense window:

- Reference, C_BPartner Employee w Address reference
- Table reference window, flag displayed value
- Expense Sheet window, create a new one and save it. Notice that the value appears in form window but it is not appearing in grid window.
TagsNo tags attached.
Attached Filesdiff file icon issue24181.diff [^] (4,471 bytes) 2013-06-26 18:35 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0025928 closedcaristu Error in displayed value of table reference if the search key of the record is null 
related to defect 00266963.0PR14Q4 closedshankarb The filter does not work when changing the ad_org_id column to a table reference displayng the value column. 

-  Notes
(0059689)
AugustoMauch (administrator)
2013-06-26 18:36

A patch has been attached. It will not be pushed to pi until it has been tested more
(0059818)
hgbot (developer)
2013-07-02 18:12

Repository: erp/devel/pi
Changeset: 7bdf0827319594efeca9355d126bfe26795ce2a7
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Jul 02 18:08:40 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7bdf0827319594efeca9355d126bfe26795ce2a7 [^]

Fixes issue 24181: Displayed Value flag in Table Reference works

The Displayed Value flag was not being taken into account in the DataToJsonConverter class, so it was not being shown in the grid. To fix this, the displayedV
alue property has been added to the RefTable base class. This property is checked in the isDisplayedValue method of the Property class which is used in the Da
taToJsonConverter to check if the value (searchKey property) of the entity should be appended to its identifier.

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
M src/org/openbravo/base/model/Property.java
M src/org/openbravo/base/model/RefTable.hbm.xml
M src/org/openbravo/base/model/RefTable.java
---
(0059819)
AugustoMauch (administrator)
2013-07-02 18:13

Test plan:
- Test that if the steps to reproduce are followed the issue is not reproduced
- Test it again with a table that does not have a searchKey column. In that case it should just show a warning when the grid is refreshed.
(0059855)
hgbot (developer)
2013-07-04 11:09

Repository: erp/devel/pi
Changeset: c708a98b9d609e1c8dfb7d9cfe9442eaf8cf78f3
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Jul 04 11:08:40 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c708a98b9d609e1c8dfb7d9cfe9442eaf8cf78f3 [^]

Related to issue 24181: Prevents exception when identifier column not a string

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
---
(0059987)
shankarb (reporter)
2013-07-16 06:01

Code reviewed and tested in pi changeset 436cd2fa79fc
(0060010)
hudsonbot (developer)
2013-07-16 14:26

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

Maturity status: Test
(0060026)
hudsonbot (developer)
2013-07-16 14:26

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-06-25 10:44 jonalegriaesarte New Issue
2013-06-25 10:44 jonalegriaesarte Assigned To => AugustoMauch
2013-06-25 10:44 jonalegriaesarte Modules => Core
2013-06-25 10:44 jonalegriaesarte Triggers an Emergency Pack => No
2013-06-25 10:44 jonalegriaesarte Target Version 3.0MP25 => 3.0MP26
2013-06-26 17:27 AugustoMauch Steps to Reproduce Updated View Revisions
2013-06-26 18:35 AugustoMauch File Added: issue24181.diff
2013-06-26 18:36 AugustoMauch Status new => scheduled
2013-06-26 18:36 AugustoMauch Note Added: 0059689
2013-06-26 18:36 AugustoMauch fix_in_branch => pi
2013-07-02 18:09 AugustoMauch Issue Monitored: shankarb
2013-07-02 18:09 AugustoMauch Review Assigned To => shankarb
2013-07-02 18:09 AugustoMauch fix_in_branch pi =>
2013-07-02 18:12 hgbot Checkin
2013-07-02 18:12 hgbot Note Added: 0059818
2013-07-02 18:12 hgbot Status scheduled => resolved
2013-07-02 18:12 hgbot Resolution open => fixed
2013-07-02 18:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7bdf0827319594efeca9355d126bfe26795ce2a7 [^]
2013-07-02 18:13 AugustoMauch Note Added: 0059819
2013-07-04 11:09 hgbot Checkin
2013-07-04 11:09 hgbot Note Added: 0059855
2013-07-16 06:01 shankarb Note Added: 0059987
2013-07-16 06:01 shankarb Status resolved => closed
2013-07-16 06:01 shankarb Fixed in Version => 3.0MP26
2013-07-16 14:26 hudsonbot Checkin
2013-07-16 14:26 hudsonbot Note Added: 0060010
2013-07-16 14:26 hudsonbot Checkin
2013-07-16 14:26 hudsonbot Note Added: 0060026
2014-03-06 22:23 caristu Relationship added related to 0025928
2014-05-27 13:58 jonalegriaesarte Relationship added related to 0026696


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker