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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016868
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2011-04-20 18:152012-03-02 15:36
ReporterrafademiguelView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version3.0MP9
StatusclosedFix in branchFixed in SCM revisionf52dabf2bdc4
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
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

0016868: A component in a package that not match with the package of module doesn't work

DescriptionA component in a package that not match with the package of module doesn't work

Steps To ReproduceCreate a module with package name: org.openbravo.ui.workshop

Create a package named: org.openbravo.ui.workshop.toolbar

Create a Component that extends from BaseComponentProvider inside this package

The Component doesn't work until you override the method "getModulePackageName" with "org.openbravo.ui.workshop"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0036410)
dmitry_mezentsev (developer)
2011-05-05 17:36

Does not fit RC7
(0040790)
mtaal (manager)
2011-09-07 13:30

The code in BaseComponentProvider.getModule() should try parent package names (recursively) if it can't find a module with the classes package name.
(0045076)
hgbot (developer)
2012-02-13 17:59

Repository: erp/devel/pi
Changeset: f52dabf2bdc4a5a3a80fa4a09c7fc02114e1def1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 13 17:58:29 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f52dabf2bdc4a5a3a80fa4a09c7fc02114e1def1 [^]

Fixed issue 16868. ComponentProviders will be matched with modules via the javapackage smartly:
- A class will be matched to a module if its javapackage starts with the javapackage of the module (we no longer require the matching to be exact).
- If more than one module matches, the one with the longest Javapackage will be picked. This is to resolve situations in which, for example, both org.openbravo and org.openbravo.client.kernel match.

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
---
(0045521)
AugustoMauch (manager)
2012-02-28 11:50

Code reviewed and verified
(0045838)
hudsonbot (developer)
2012-03-02 15:36

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/544d64e0c159 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-04-20 18:15 rafademiguel New Issue
2011-04-20 18:15 rafademiguel Assigned To => alostale
2011-04-20 18:15 rafademiguel Modules => Core
2011-05-02 10:51 alostale Target Version 3.0RC4 => 3.0RC7
2011-05-02 10:51 alostale Status new => scheduled
2011-05-02 10:51 alostale Assigned To alostale => mtaal
2011-05-02 10:51 alostale fix_in_branch => pi
2011-05-05 17:36 dmitry_mezentsev Note Added: 0036410
2011-05-05 17:36 dmitry_mezentsev Target Version 3.0RC7 => 3.0MP0
2011-05-05 17:36 dmitry_mezentsev fix_in_branch pi =>
2011-05-23 13:26 mtaal Target Version 3.0MP0 => 3.0MP1
2011-06-22 19:41 dmitry_mezentsev Target Version 3.0MP1 => 3.0MP3
2011-08-31 09:48 mtaal Target Version 3.0MP3 => 3.0MP4
2011-09-07 13:30 mtaal Note Added: 0040790
2011-09-07 13:31 mtaal Assigned To mtaal => marvintm
2011-09-26 17:51 marvintm Target Version 3.0MP4 => 3.0MP5
2011-10-26 17:08 marvintm Target Version 3.0MP5 => 3.0MP6
2011-11-15 10:17 iperdomo Target Version 3.0MP6 =>
2012-02-13 17:59 hgbot Checkin
2012-02-13 17:59 hgbot Note Added: 0045076
2012-02-13 17:59 hgbot Status scheduled => resolved
2012-02-13 17:59 hgbot Resolution open => fixed
2012-02-13 17:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f52dabf2bdc4a5a3a80fa4a09c7fc02114e1def1 [^]
2012-02-28 11:50 AugustoMauch Note Added: 0045521
2012-02-28 11:50 AugustoMauch Status resolved => closed
2012-02-28 11:51 AugustoMauch Fixed in Version => 3.0MP9
2012-03-02 15:36 hudsonbot Checkin
2012-03-02 15:36 hudsonbot Note Added: 0045838


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker