Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009019
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2009-05-13 12:592009-06-04 00:00
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version2.50MP2
StatusclosedFix in branchFixed in SCM revision9b00912ca04b
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009019: Mandatory/not-null not set correctly in the Data Access Layer because Application Dictionary setting not correct

DescriptionThe Data Access Layer currently ignores the not-null/required set in the AD_Column because this value is used for the UI and does not represent the not-null constraint defined in the database.

The solution is for the Data Access Layer to read the column metadata from the database and based on that set the in-memory model setting. Note that for Oracle/Postgres there can be different queries required.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00168273.0RC6 closedalostale Is not possible to make a field mandatory 

-  Notes
(0016317)
hgbot (developer)
2009-05-13 13:08

Repository: erp/devel/pi
Changeset: 9b00912ca04b4c7bf0163c15dd6e585db4fb0749
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed May 13 13:07:40 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9b00912ca04b4c7bf0163c15dd6e585db4fb0749 [^]

Fixes issue 9019, Mandatory/not-null not set correctly in the Data Access Layer because Application Dictionary setting not correct
Fixes issue 9018: Webservices are not using same logic as import functions for the actual update/insert of objects

---
M src/org/openbravo/base/model/ModelProvider.java
M src/org/openbravo/base/session/SessionFactoryController.java
M src/org/openbravo/dal/core/DalMappingGenerator.java
M src/org/openbravo/service/db/DataImportService.java
M src/org/openbravo/service/rest/DalWebService.java
---

- Issue History
Date Modified Username Field Change
2009-05-13 12:59 mtaal New Issue
2009-05-13 12:59 mtaal Assigned To => mtaal
2009-05-13 12:59 mtaal Regression testing => No
2009-05-13 13:08 hgbot Checkin
2009-05-13 13:08 hgbot Note Added: 0016317
2009-05-13 13:08 hgbot Status new => resolved
2009-05-13 13:08 hgbot Resolution open => fixed
2009-05-13 13:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9b00912ca04b4c7bf0163c15dd6e585db4fb0749 [^]
2009-06-03 19:08 psarobe Status resolved => closed
2009-06-03 19:08 psarobe Fixed in Version => 2.50MP2
2009-06-04 00:00 anonymous sf_bug_id 0 => 2800784
2011-04-15 15:46 alostale Relationship added related to 0016827


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker