Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019431Openbravo ERPA. Platformpublic2012-01-09 12:282012-01-25 17:34
marvintm 
marvintm 
normalminoralways
closedfixed 
5
 
3.0MP83.0MP8 
Core
No
0019431: A FIC request in NEW mode doesn't have rowId, but the backend is searching for a record with "null" id
When a new record is created, a call to the Form Initialization Component with NEW mode is done. This call incorrectly attempts to search for a record with "null" id. This happens because the rowId is set to null in the frontend, but the backend reads the "null" string.
- Go to the Sales Invoice window.
- Create a new invoice. Verify that the following line:

        row = OBDal.getInstance().get(tab.getTable().getName(), rowId);

(line number 150)

is executed. However, it should not be, as we are not sending a rowId.
No tags attached.
Issue History
2012-01-09 12:28marvintmNew Issue
2012-01-09 12:28marvintmAssigned To => marvintm
2012-01-09 12:28marvintmModules => Core
2012-01-09 12:43hgbotCheckin
2012-01-09 12:43hgbotNote Added: 0044146
2012-01-09 12:43hgbotStatusnew => resolved
2012-01-09 12:43hgbotResolutionopen => fixed
2012-01-09 12:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e680b3f84e34c276b1739f8cd34f1c8273197065 [^]
2012-01-12 10:26hudsonbotCheckin
2012-01-12 10:26hudsonbotNote Added: 0044292
2012-01-25 17:34AugustoMauchNote Added: 0044575
2012-01-25 17:34AugustoMauchStatusresolved => closed
2012-01-25 17:34AugustoMauchFixed in Version => 3.0MP8

Notes
(0044146)
hgbot   
2012-01-09 12:43   
Repository: erp/devel/pi
Changeset: e680b3f84e34c276b1739f8cd34f1c8273197065
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jan 09 12:29:14 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e680b3f84e34c276b1739f8cd34f1c8273197065 [^]

Fixed issue 19431. When there is no rowId, the row will not be retrieved from the database

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
(0044292)
hudsonbot   
2012-01-12 10: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/e05372cda9e0 [^]

Maturity status: Test
(0044575)
AugustoMauch   
2012-01-25 17:34   
Code reviewed and verified.