Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020728Openbravo ERPA. Platformpublic2012-06-12 09:522012-09-26 17:20
ioritzCia 
AugustoMauch 
normalmajoralways
closedfixed 
20Ubuntu 10.04
 
3.0MP15 
marvintm
Google Chrome
User Interface Application
No
0020728: Fic breaks more than it should when referential integrity is broken.
When a field in a tab has a non-existent search type foreign key, as it is normal it's identifier cannot be retrieved and we see the uuid. The problem is that other fields in the tab that have their foreign key well, also show the uuid.
In any tab with a search type foreign key field, try to insert a line with a non existing foreign key.
No tags attached.
Issue History
2012-06-12 09:52ioritzCiaNew Issue
2012-06-12 09:52ioritzCiaAssigned To => alostale
2012-06-12 09:52ioritzCiaWeb browser => Google Chrome
2012-06-12 09:52ioritzCiaModules => User Interface Application
2012-09-19 17:36AugustoMauchAssigned Toalostale => AugustoMauch
2012-09-19 17:36AugustoMauchClosed by => marvintm
2012-09-19 17:36AugustoMauchWeb browserGoogle Chrome => Google Chrome
2012-09-19 17:39AugustoMauchNote Added: 0052242
2012-09-19 17:39AugustoMauchIssue Monitored: marvintm
2012-09-19 17:50hgbotCheckin
2012-09-19 17:50hgbotNote Added: 0052243
2012-09-19 17:50hgbotStatusnew => resolved
2012-09-19 17:50hgbotResolutionopen => fixed
2012-09-19 17:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7e0c66407ed1731c03dc1c007f2b2e4a0014c102 [^]
2012-09-25 11:13marvintmStatusresolved => closed
2012-09-25 11:13marvintmFixed in Version => 3.0MP15
2012-09-26 17:20hudsonbotCheckin
2012-09-26 17:20hudsonbotNote Added: 0052790

Notes
(0052242)
AugustoMauch   
2012-09-19 17:39   
Test plan:
- Create a new Sales Order
- In the database, remove the foreign key constraint of the price list column
- In the database, update the recently created order and set a random id to the price list column.
- In the ERP, close the Sales Order window and open it again. The only field that should display the random ID should be the price list
(0052243)
hgbot   
2012-09-19 17:50   
Repository: erp/devel/pi
Changeset: 7e0c66407ed1731c03dc1c007f2b2e4a0014c102
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Sep 19 17:49:12 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7e0c66407ed1731c03dc1c007f2b2e4a0014c102 [^]

Fixes issue 20728: IDs shown only for fields that without referencial integrity

Prior to this fix, if one foreign key field contained and non existent id, all foreign key fields showed the id instead of the displayed column of the referenced field. Now, only the fields that contain nonexistent id will show the id.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
(0052790)
hudsonbot   
2012-09-26 17:20   
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/b780e90c6452 [^]

Maturity status: Test