Openbravo Issue Tracking System - POS2 | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0047753 | POS2 | Core | public | 2021-09-24 10:29 | 2021-09-27 13:51 | ||||||||||||||
Reporter | vmromanos | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0047753: POS2 only: component providers declared within a JAR are not detected | ||||||||||||||||||
Description | When a component provider is declared into src/ (normal escenario), the POS 2 compilation process properly detects it. However, if the same component provider is distributed under a compiled JAR file in lib/runtime/, it's not detected by the compilation process and the js resources are not considered. In old POS the component providers in a JAR file were properly detected (because we used CDI in tomcat). | ||||||||||||||||||
Steps To Reproduce | In a POS 2 environment: Clone the https://gitlab.com/openbravo/product/pmods/org.openbravo.certification.france [^] in release/20Q4 branch, which is ready to work with POS 2 Clone also its dependency https://gitlab.com/openbravo/product/mods/org.openbravo.utility.opencsv [^] Run ant smartbuild -Dlocal=no In core2 folder run "ant" Restart tomcat Try to login into the new POS (either using tomcat or the development server). An error is raised because some of the JS in the french fiscal module are not found. | ||||||||||||||||||
Proposed Solution | Instead of looking at the src/ folder, try to find the Component Providers available in the classpath. https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/src/org/openbravo/core2/build/ModuleInfoGenerator.java#L358 [^] | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2021-09-24 10:29 | vmromanos | New Issue | |||||||||||||||||
2021-09-24 10:29 | vmromanos | Assigned To | => alostale | ||||||||||||||||
2021-09-24 10:29 | vmromanos | Triggers an Emergency Pack | => No | ||||||||||||||||
2021-09-27 11:33 | hgbot | Note Added: 0132013 | |||||||||||||||||
2021-09-27 13:51 | hgbot | Note Added: 0132028 | |||||||||||||||||
2021-09-27 13:51 | hgbot | Resolution | open => fixed | ||||||||||||||||
2021-09-27 13:51 | hgbot | Status | new => closed | ||||||||||||||||
2021-09-27 13:51 | hgbot | Note Added: 0132029 | |||||||||||||||||
2021-09-27 15:11 | alostale | Relationship added | has duplicate 0047752 | ||||||||||||||||
2021-09-28 08:14 | alostale | Relationship added | related to 0047763 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|