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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010677
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-09-21 12:212009-10-23 00:00
ReporterpsarobeView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision--
ProjectionnoneETAnoneTarget Version2.50MP7
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

0010677: Dependencies are not working well under some circumstances

DescriptionThis is the scenario:
1. I have got installed the module taxes for Spain with the version 1.0.3
2. Between version 1.0.3 and 1.0.4 the localization team creates another module (Improve taxes) where Taxes module 1.0.4 depends on it
3. I have no clue about it and I update my installed taxes module (1.0.3) to 1.0.7
4. The system does not detect this dependency and I am allowed to update without having the module Improve taxes installed
5. Therefore when I'm rebuilding the system there is an error in the log although the process finishes with a Successful built
Steps To Reproduce1. Install the version 1.0.2 of Spanish taxes
2. Without having installed the module Improve spanish taxes update the above module, scanning for updates
3. Rebuild the system
4. In the log of the console you will see the error regarding on a constraint:

Caused by: org.postgresql.util.PSQLException: ERROR: insert or update on
table "ad_module_dependency" violates foreign key constraint "admoduledependency_admodule2
"
[createdatabase] Detail: Key (ad_dependent_module_id)=(DB3FB5E4B81444F7858098FE3C431794)
 is not present in table "ad_module".
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0010562 closedalostale Upgrading packs with new modules doesn't work 
related to defect 0010864 closedalostale Check for obx consistency when it is exported. 

-  Notes
(0020244)
vmromanos (manager)
2009-09-21 13:56

I have also reproduced this bug installing the module from scratch, i.e. the bug does not appear in the process of upgrading the module, but also in the first installation.

Step to reproduce:
In a PI without modules, go to the MMC, search the "Taxes: configuration for Spain" module and install it. You will see the dependent module is not installed.
(0020708)
alostale (manager)
2009-10-05 15:00

This is an issue with CR which has been solved.

- Issue History
Date Modified Username Field Change
2009-09-21 12:21 psarobe New Issue
2009-09-21 12:21 psarobe Assigned To => alostale
2009-09-21 12:21 psarobe Status new => scheduled
2009-09-21 12:21 psarobe fix_in_branch => pi
2009-09-21 13:56 vmromanos Note Added: 0020244
2009-10-05 11:19 alostale Relationship added related to 0010562
2009-10-05 15:00 alostale Status scheduled => resolved
2009-10-05 15:00 alostale Fixed in SCM revision => --
2009-10-05 15:00 alostale Resolution open => fixed
2009-10-05 15:00 alostale Note Added: 0020708
2009-10-05 15:08 alostale Relationship added related to 0010864
2009-10-22 11:21 plujan Status resolved => closed
2009-10-23 00:00 anonymous sf_bug_id 0 => 2884248


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker