Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013419Openbravo ERPA. Platformpublic2010-05-24 10:052022-02-01 08:08
alostale 
Triage Platform Base 
highminoralways
acknowledgedopen 
5
 
 
Core
No
0013419: Modules shouldn't add mandatory columns to external tables without defaults
Modules shouldn't add mandatory columns to external tables without a default value or with a trigger that populates the value (+ onCreateDefault or module script).

Other case other modules using that table could fail.
When exporting modules this should be checked:
1- DB Mandatory columns have default value in AD.
2- DB Mandatory columns have default value in DB.
3- If 1 or 2 are not true, raise a warning: "the value must be set by a trigger"
4- If 2 is false, check there is onCreateDefault.
5- If 4 is false, raise a warning: "the value must be set by a module script"
No tags attached.
related to feature request 0013433 scheduled Triage Platform Base Add validation for standard columns 
Issue History
2010-05-24 10:05alostaleNew Issue
2010-05-24 10:05alostaleAssigned To => alostale
2010-05-25 16:21alostaleRelationship addedrelated to 0013433
2010-05-31 08:33alostaleStatusnew => scheduled
2012-03-02 09:23alostaleTypedefect => design defect
2012-09-24 23:34AugustoMauchNote Added: 0052494
2012-09-24 23:34AugustoMauchPriorityurgent => high
2017-03-31 14:36alostaleStatusscheduled => acknowledged
2017-04-10 14:34alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0052494)
AugustoMauch   
2012-09-24 23:34   
Effort: 1
Impact: mid
Plan: short