Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0016868 | Openbravo ERP | A. Platform | public | 2011-04-20 18:15 | 2012-03-02 15:36 |
|
Reporter | rafademiguel | |
Assigned To | marvintm | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP9 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0016868: A component in a package that not match with the package of module doesn't work |
Description | A component in a package that not match with the package of module doesn't work
|
Steps To Reproduce | Create 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" |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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 | |
Notes |
|
|
|
|
(0040790)
|
mtaal
|
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
|
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
---
|
|
|
|
Code reviewed and verified |
|
|
|
|