Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007346Openbravo ERPA. Platformpublic2009-02-03 17:092022-02-01 08:08
mtaal 
Triage Platform Base 
highmajorhave not tried
newopen 
5
pi 
 
Core
No
0007346: Solve inconsistency: nullable db-columns which have mandatory to Y in the Application Dictionary
In the 2.60 clean up project the following inconsistency needs to be solved:

There is a validate.database task which checks the database for inconsistencies. One of the checks is for nullable database columns which are defined as mandatory in the Application Dictionary.

The check is there, but disabled in the org.openbravo.service.system.DatabaseValidator. See these lines:
    // disabled this check, will be done in 2.60
    if (false) {
      if (property != null && property.isMandatory() && !dbColumn.isRequired()) {
        result.addWarning(SystemValidationType.MANDATORY_IN_AD_NULLABLE_IN_DB, "Column "
            + dbTable.getName() + "." + dbColumn.getName()
            + " is not-required (null-allowed) but in the Application Dictonary"
            + " it is set as mandatory");
      }
    }
No tags attached.
blocks feature request 0007236 acknowledged shuehner Tracking issue: Cleanup for 3.00 
Issue History
2009-02-03 17:09mtaalNew Issue
2009-02-03 17:09mtaalAssigned To => shuehner
2009-02-03 17:09mtaalsf_bug_id0 => 2561227
2009-02-03 17:09mtaalRegression testing => No
2009-02-03 17:09mtaalRelationship addeddepends on 0007236
2009-02-03 18:08shuehnerRelationship deleteddepends on 0007236
2009-02-03 18:08shuehnerRelationship addedblocks 0007236
2011-05-25 13:12dmitry_mezentsevPrioritynormal => high
2011-06-02 10:54dmitry_mezentsevTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:26dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-06-22 20:05shuehnerTarget Version3.0MP2 =>
2012-02-20 11:25shuehnerAssigned Toshuehner => alostale
2017-04-10 14:38alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.