Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030939Retail ModulesWeb POSpublic2015-09-25 15:152015-09-29 13:30
Orekaria 
Orekaria 
normalminoralways
closedfixed 
5
 
RR15Q4 
marvintm
No
0030939: Stabilization: Primary keys should not allow nulls
Stabilization: Primary keys should not allow nulls
1)
In ob-dal.js
In the 'OB.Data.localDB.transaction' method

Verify that the createStatements do not specify that nulls are not allowed in the primary key

2)
Verify that in the continuous integration, this error can sometimes be found:

[2015-09-25T12:08:08+0000] [SEVERE] http://127.0.1.1/ret-test-oracle//web/js/gen/4cb46f22408453c1ccbfdba208d78f57_WebPOS.js [^] 2382:19 Could not purge the 'c_order' table. Error message: OB.Dal.remove: an object without primary key cannot be deleted; line: http://127.0.1.1/ret-test-oracle//web/js/gen/4cb46f22408453c1ccbfdba208d78f57_WebPOS.js:6080:18 [^] (*,+)
No tags attached.
Issue History
2015-09-25 15:15OrekariaNew Issue
2015-09-25 15:15OrekariaAssigned To => Orekaria
2015-09-25 15:15OrekariaTriggers an Emergency Pack => No
2015-09-25 15:17OrekariaReview Assigned To => marvintm
2015-09-25 15:18OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9482#r9482
2015-09-25 15:18OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9483#r9483
2015-09-26 09:50hgbotCheckin
2015-09-26 09:50hgbotNote Added: 0080646
2015-09-26 09:50hgbotStatusnew => resolved
2015-09-26 09:50hgbotResolutionopen => fixed
2015-09-26 09:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4d83373c6d792604239f3d3fd2181e273bae7c18 [^]
2015-09-29 13:30marvintmStatusresolved => closed
2015-09-29 13:30marvintmFixed in Version => RR15Q4

Notes
(0080646)
hgbot   
2015-09-26 09:50   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4d83373c6d792604239f3d3fd2181e273bae7c18
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Fri Sep 25 15:22:56 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4d83373c6d792604239f3d3fd2181e273bae7c18 [^]

Fixes issue 30939: NOT NULL is appended to the PRIMARY KEY clause

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---