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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017594
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] Y. DBSourceManagerminorhave not tried2011-06-10 12:002011-07-14 15:54
ReportermaiteView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioneb0bd3712933
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP30SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017594: The validation of modules done on export.database shows errors which belong to a module in the core module

DescriptionIf a module adds a column to a core table, then the validation done on export.database does show a validation error (if one exists) in the core module for this column instead of in the module.

Example where the 347 module module adds a new field to m_product (from core)

+++++++++++++++++++++++++++++++++++++++++++++++++++
Warnings for Validation type: NOT_PART_OF_FOREIGN_KEY
+++++++++++++++++++++++++++++++++++++++++++++++++++
Foreign Key Column M_PRODUCT.EM_Aeat347_Regioncode is not part of a foreign key constraint.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 00111373.0MP2 closedmarvintm The validation of modules done on export.database shows errors which belong to a module in the core module 

-  Notes
(0038982)
hgbot (developer)
2011-07-11 16:14

Repository: erp/stable/2.50
Changeset: eb0bd3712933e5ef3a7b47a0420e26707d4d9aa7
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jul 11 16:12:53 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/eb0bd3712933e5ef3a7b47a0420e26707d4d9aa7 [^]

Fixed issue 17594. Validation for foreign keys will now be correct.

---
M src/org/openbravo/service/system/DatabaseValidator.java
---
(0039064)
shuehner (administrator)
2011-07-14 15:54

Reviewed/tested on pi/pgsql (rev: 2de13e5d42cf). Review: code-change fine restricting validation to the properties really present in the module which is being currently validated. Only lightly tested but code-change and file being changed same as in pi.

- Issue History
Date Modified Username Field Change
2011-06-10 12:00 maite New Issue
2011-06-10 12:00 maite Assigned To => marvintm
2011-06-10 12:00 maite Modules => Core
2011-06-10 12:00 maite Issue generated from 0011137
2011-06-10 12:01 maite Relationship added depends on 0011137
2011-07-11 16:14 hgbot Checkin
2011-07-11 16:14 hgbot Note Added: 0038982
2011-07-11 16:14 hgbot Status new => resolved
2011-07-11 16:14 hgbot Resolution open => fixed
2011-07-11 16:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/eb0bd3712933e5ef3a7b47a0420e26707d4d9aa7 [^]
2011-07-14 15:54 shuehner Note Added: 0039064
2011-07-14 15:54 shuehner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker