Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0025882 | Openbravo ERP | A. Platform | public | 2014-03-03 17:08 | 2014-03-05 08:57 |
Reporter | mblackhall | ||||
Assigned To | AugustoMauch | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | 30 | OS Version | Ubuntu 12.04.3 | |
Product Version | 3.0MP27 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | Mozilla Firefox | ||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0025882: Component provider check returning null and not allowing Openbravo to start | ||||
Description | I have been trying to move my module to our production environment. It cannot run in production becuase the code for static rsource component is picking up a null Component resource in the following code (this is in StaticResourceComponent (i put in the log commands to see what is wrong) public boolean isInDevelopment() { if (isInDevelopment == null) { isInDevelopment = false; for (ComponentProvider provider : componentProviders) { final List<ComponentResource> resources = provider.getGlobalComponentResources(); if (resources == null || resources.size() == 0) { continue; } log.info(" Provider " + provider); log.info(" Provider " + provider.getModule().getDescription()); log.info(" Provider " + provider.getModule().isInDevelopment()); if (provider.getModule().isInDevelopment()) { isInDevelopment = true; return isInDevelopment; } } } return isInDevelopment; } The log shows null for a provider. This should not be possible . It must mean that Openbravo is created a null provider in its list. | ||||
Steps To Reproduce | Import module in live. This can't happen for any module, but why can a provider be created as null ? | ||||
Proposed Solution | Let me know where it builds the provider least and do not add one if it si null | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-03-03 17:08 | mblackhall | New Issue | |||
2014-03-03 17:08 | mblackhall | Assigned To | => AugustoMauch | ||
2014-03-03 17:08 | mblackhall | Web browser | => Mozilla Firefox | ||
2014-03-03 17:08 | mblackhall | Modules | => Core | ||
2014-03-03 17:08 | mblackhall | Triggers an Emergency Pack | => No | ||
2014-03-04 08:16 | alostale | Web browser | Mozilla Firefox => Mozilla Firefox | ||
2014-03-04 08:16 | alostale | OBNetwork customer | => No | ||
2014-03-04 08:16 | alostale | Note Added: 0064778 | |||
2014-03-04 08:16 | alostale | Priority | immediate => urgent | ||
2014-03-04 08:16 | alostale | Severity | critical => major | ||
2014-03-04 08:16 | alostale | Status | new => feedback | ||
2014-03-04 16:46 | mblackhall | Note Added: 0064802 | |||
2014-03-05 08:57 | alostale | Status | feedback => closed | ||
2014-03-05 08:57 | alostale | Resolution | open => no change required |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|