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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014580
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminoralways2010-09-15 19:162022-02-01 08:08
ReporterjpabloaeView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014580: Packaging a template should consider the MAJOR end-version enforcements

DescriptionWhen packaging a template, if the included modules have a end-version with a MAJOR enforcement then it should take this into account when running version validations.

Example:

$ ant package.module -Dmodule=org.openbravo.v3
Buildfile: build.xml

package.module:
     [echo] Validating Module...
[validateModules] 0 [main] ERROR SystemValidation -
[validateModules]
[validateModules] +++++++++++++++++++++++++++++++++++++++++++++++++++
[validateModules] Errors for Validation type: MODULE_ERROR
[validateModules] +++++++++++++++++++++++++++++++++++++++++++++++++++
[validateModules] Openbravo 3.0 Framework defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] User Interface Application defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] User Interface Selector defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] User Interface Freemarker defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] JSON Datasource defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] Seam defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] Smartclient defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] Openbravo 3.0 Navigation Bar Components defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] 2.50 to 3.00 Compatibility Skin defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] User Interface Client Kernel defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293
[validateModules] JSON REST Webservice defines dependency on core end version 3.0.8291, but actual version in DB is 3.0.8293

obx.export.database:

obx.export.config.script:

BUILD SUCCESSFUL
Total time: 23 seconds
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0014724 closedalostale Error message should be warning when package a module. 

-  Notes
(0052186)
alostale (manager)
2012-09-18 09:58

It is designed to work in this way in case of inclusion to ensure included obx are the same as the defined ones in the dependencies.

It might be reconsidered this practice.

This is the code in ModuleValidator:
 // for inclusions check the dependency matches exactly with the defined one
        if (!depActualVersion.equals(firstVer)) {
          result.addWarning(SystemValidationType.MODULE_ERROR, module.getName()
              + " defines inclussion of module " + dependentModule.getDependentModule().getName()
              + " in version " + firstVer + ", but actual version in DB is " + depActualVersion
              + ". They must exactly match.");

- Issue History
Date Modified Username Field Change
2010-09-15 19:16 jpabloae New Issue
2010-09-15 19:16 jpabloae Assigned To => alostale
2010-09-15 19:18 shuehner Issue Monitored: shuehner
2010-10-04 08:42 alostale Relationship added related to 0014724
2010-10-04 08:42 alostale Status new => scheduled
2010-10-04 08:42 alostale fix_in_branch => pi
2012-09-18 09:58 alostale Note Added: 0052186
2012-09-18 09:58 alostale Type defect => design defect
2012-09-18 09:58 alostale fix_in_branch pi =>
2017-03-31 14:36 alostale Status scheduled => acknowledged
2017-04-10 14:34 alostale Assigned To alostale => platform
2022-02-01 08:08 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker