Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007804Openbravo ERPA. Platformpublic2009-02-24 19:122009-07-26 21:54
gorka_gil 
mtaal 
urgentcriticalhave not tried
closedfixed 
302.6.27-gentoo-r7
2.50beta 
2.50MP3 
Core
No
0007804: validation in export.database for package a module fails with NOT_NULL_IN_DB_NOT_MANDATORY_IN_AD
Not null columns requires that in aplication dictionary are set as mandatory.

But the validation fails althout these columns are set to mandatory.

1. Install Room Scheculing System module.
2. Mark the module as InDevelopment
3. ant export.database

Shows an error:

Errors for Validation type: NOT_NULL_IN_DB_NOT_MANDATORY_IN_AD

Column ROOMS_ROOMSCHEDULE.ROOMS_ROOMSCHEDULE_ID is required (not-null) but in the Application Dictonary it is set as non-mandatory
[... one error for all not null columns...]

But in the Aplication Dictionary are already set to Mandatory.
250MP3releasecandidate
Issue History
2009-02-24 19:12gorka_gilNew Issue
2009-02-24 19:12gorka_gilAssigned To => mtaal
2009-02-24 19:12gorka_gilRegression testing => No
2009-02-25 07:47pjuvaraNote Added: 0014044
2009-02-25 07:47pjuvaraPriorityhigh => urgent
2009-02-25 07:47pjuvaraSeveritymajor => critical
2009-02-25 14:27jpabloaeStatusnew => scheduled
2009-02-25 14:27jpabloaefix_in_branch => trunk
2009-02-25 14:29jpabloaeStatusscheduled => resolved
2009-02-25 14:29jpabloaeFixed in Version => trunk
2009-02-25 14:29jpabloaesvn_revision => 968741926fb0
2009-02-25 14:29jpabloaeResolutionopen => fixed
2009-02-25 14:29jpabloaeNote Added: 0014060
2009-02-25 15:08hgbotCheckin
2009-02-25 15:08hgbotNote Added: 0014063
2009-02-25 15:08hgbotsvn_revision968741926fb0 =>
2009-02-25 17:56gorka_gilStatusresolved => new
2009-02-25 17:56gorka_gilResolutionfixed => open
2009-02-25 17:56gorka_gilNote Added: 0014065
2009-02-25 17:56gorka_gilFixed in Versiontrunk =>
2009-02-25 17:56gorka_gilStatusnew => scheduled
2009-02-25 21:41hgbotCheckin
2009-02-25 21:41hgbotNote Added: 0014069
2009-02-25 21:41hgbotStatusscheduled => resolved
2009-02-25 21:41hgbotResolutionopen => fixed
2009-02-26 11:43hgbotCheckin
2009-02-26 11:43hgbotNote Added: 0014092
2009-04-21 10:33psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2778005
2009-07-03 13:10hgbotCheckin
2009-07-03 13:10hgbotNote Added: 0017791
2009-07-03 13:10hgbotStatusclosed => resolved
2009-07-03 13:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1ecf84f6a05ccc007c3227b230bf0521a61bebc0 [^]
2009-07-03 13:10hgbotCheckin
2009-07-03 13:10hgbotNote Added: 0017792
2009-07-03 13:10hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/1ecf84f6a05ccc007c3227b230bf0521a61bebc0 [^] => http://code.openbravo.com/erp/devel/pi/rev/01e84052fe9611b0dcbb648e993f98492ff0e561 [^]
2009-07-03 13:10hgbotCheckin
2009-07-03 13:10hgbotNote Added: 0017793
2009-07-03 13:10hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/01e84052fe9611b0dcbb648e993f98492ff0e561 [^] => http://code.openbravo.com/erp/devel/pi/rev/1afb87b1eb5ac7874cbaecb4b68ce178b608c9c8 [^]
2009-07-21 16:24psarobeFixed in Version2.50 => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-26 21:54psarobeStatusresolved => closed

Notes
(0014044)
pjuvara   
2009-02-25 07:47   
Upgrading severity and priority as these are showstoppers for releasing beta.
(0014060)
jpabloae   
2009-02-25 14:29   
Marking as resolved manually because the hg-mantis integration has been enabled some minutes ago in erp/devel/main.

https://code.openbravo.com/erp/devel/pi/rev/968741926fb0 [^]
(0014063)
hgbot   
2009-02-25 15:08   
Repository: erp/devel/pi
Changeset: 3637:cdd5b0df6e776a61253937ffbd4da8fe5f115539
Author: Anthony Wolski <awolski <at> openbravo.com>
Date: Wed Feb 25 14:49:32 2009 +0100

Changed to setMandatory(false). Issue 7804.

---
M src/org/openbravo/base/model/Property.java
---

http://code.openbravo.com/erp/devel/pi/rev/cdd5b0df6e776a61253937ffbd4da8fe5f115539 [^]
(0014065)
gorka_gil   
2009-02-25 17:56   
It's still reproducible in 3637:cdd5b0df6e77
(0014069)
hgbot   
2009-02-25 21:41   
Repository: erp/devel/pi
Changeset: 3640:1c4a76d20d9ada2176768068134d4dc5396f98a0
Author: mtaal
Date: Wed Feb 25 21:34:44 2009 +0100

Fixes issue 7804, Update Issue validation in export.database for package a module fails with NOT_NULL_IN_DB_NOT_MANDATORY_IN_AD

---
M src-db/database/model/tables/AD_EXCEPTIONS.xml
M src/org/openbravo/base/model/Property.java
M src/org/openbravo/service/system/DatabaseValidator.java
---

http://code.openbravo.com/erp/devel/pi/rev/1c4a76d20d9ada2176768068134d4dc5396f98a0 [^]
(0014092)
hgbot   
2009-02-26 11:43   
Repository: erp/devel/pi
Changeset: 3245:acd2cc5767b130a36e650e886106373edd01c109
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Feb 26 11:42:36 2009 +0100

After fix bug 7804, core dal depends on generated dal code

---
M src/build.xml
---

http://code.openbravo.com/erp/devel/pi/rev/acd2cc5767b130a36e650e886106373edd01c109 [^]
(0017791)
hgbot   
2009-07-03 13:10   
Repository: erp/devel/pi
Changeset: 1ecf84f6a05ccc007c3227b230bf0521a61bebc0
Author: mtaal
Date: Wed Feb 25 13:14:24 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1ecf84f6a05ccc007c3227b230bf0521a61bebc0 [^]

Fixes issue 7804, validation in export.database for package a module fails with NOT_NULL_IN_DB_NOT_MANDATORY_IN_AD

---
M src/org/openbravo/base/model/Property.java
M src/org/openbravo/dal/core/DalMappingGenerator.java
---
(0017792)
hgbot   
2009-07-03 13:10   
Repository: erp/devel/pi
Changeset: 01e84052fe9611b0dcbb648e993f98492ff0e561
Author: Anthony Wolski <awolski <at> openbravo.com>
Date: Wed Feb 25 14:49:32 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/01e84052fe9611b0dcbb648e993f98492ff0e561 [^]

Changed to setMandatory(false). Issue 7804.

---
M src/org/openbravo/base/model/Property.java
---
(0017793)
hgbot   
2009-07-03 13:10   
Repository: erp/devel/pi
Changeset: 1afb87b1eb5ac7874cbaecb4b68ce178b608c9c8
Author: mtaal
Date: Wed Feb 25 21:34:44 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1afb87b1eb5ac7874cbaecb4b68ce178b608c9c8 [^]

Fixes issue 7804, Update Issue validation in export.database for package a module fails with NOT_NULL_IN_DB_NOT_MANDATORY_IN_AD

---
M src-db/database/model/tables/AD_EXCEPTIONS.xml
M src/org/openbravo/base/model/Property.java
M src/org/openbravo/service/system/DatabaseValidator.java
---