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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012778
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2010-03-23 19:142010-05-18 12:12
ReportergorkaionView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version2.50MP15
StatusclosedFix in branchpiFixed in SCM revision34b8ebfe4d69
ProjectionnoneETAnoneTarget Version2.50MP17
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
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

0012778: Wrong record identifier on new records

DescriptionHaving a parent tab that includes as record identifier a field that it is a list or a foreign key.
And a child tab of the previous that has the parent read only field set with "search" reference without any search reference assigned.
When it is craeted a new record in the child tab teh identifier of the parent record is wrongly generated showing the uuid or the value instead of the identifier.
For example a parent tab with name + currency as identifiers. In the child tab when a new records is being created shows "name + 102" but when the record is saved it shows "name + EUR".
Steps To Reproducego to and create a record in:
Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement >> Create Payment

This tab includes as identifier the "Form of payment" field (set it as "Bank Deposit".

Now go to the "Balance Payment" tab and try to create a new record. On Grid view the identifier is right and shows "Bank Deposit" on it. Press "new", it shows "5", save the record and the identifier is fixed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0025903)
hgbot (developer)
2010-04-06 15:15

Repository: erp/devel/pi
Changeset: 34b8ebfe4d69dafd7cc1e7c0c4085251296ec4bb
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Apr 06 15:26:33 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/34b8ebfe4d69dafd7cc1e7c0c4085251296ec4bb [^]

fixed bug 12778: Wrong record identifier on new records

Default values for new records are calculated now using the standard column identifier

---
M src-wad/src/org/openbravo/wad/Fields_data.xsql
M src-wad/src/org/openbravo/wad/Wad.java
M src-wad/src/org/openbravo/wad/WadUtility.java
M src-wad/src/org/openbravo/wad/controls/WADButton.java
M src-wad/src/org/openbravo/wad/controls/WADImage.java
M src-wad/src/org/openbravo/wad/controls/WADSearch.java
M src-wad/src/org/openbravo/wad/datasource.xml
M src-wad/src/org/openbravo/wad/datasource.xsqlxml
---
(0026208)
marvintm (developer)
2010-04-14 17:33

Tested that when creating a new record in "Balance Payment", even if it's not yet saved, the identifier of the parent record is correctly shown.
(0026417)
hudsonbot (developer)
2010-04-19 21:12

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/34b8ebfe4d69 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]

- Issue History
Date Modified Username Field Change
2010-03-23 19:14 gorkaion New Issue
2010-03-23 19:14 gorkaion Assigned To => alostale
2010-03-29 08:19 alostale Status new => scheduled
2010-03-29 08:19 alostale fix_in_branch => pi
2010-04-06 15:15 hgbot Checkin
2010-04-06 15:15 hgbot Note Added: 0025903
2010-04-06 15:15 hgbot Status scheduled => resolved
2010-04-06 15:15 hgbot Resolution open => fixed
2010-04-06 15:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/34b8ebfe4d69dafd7cc1e7c0c4085251296ec4bb [^]
2010-04-14 17:33 marvintm Note Added: 0026208
2010-04-14 17:33 marvintm Status resolved => closed
2010-04-14 17:33 marvintm Fixed in Version => 2.50MP15
2010-04-15 00:00 anonymous sf_bug_id 0 => 2987421
2010-04-19 21:12 hudsonbot Checkin
2010-04-19 21:12 hudsonbot Note Added: 0026417
2010-05-18 12:12 gorka_gil Target Version 2.50MP15 => 2.50MP17


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker