Openbravo Issue Tracking System - POS2 | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0054737 | POS2 | Core | public | 2024-02-21 16:09 | 2024-02-26 19:13 | ||||||||||||||
Reporter | AugustoMauch | ||||||||||||||||||
Assigned To | AugustoMauch | ||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 24Q2 | |||||||||||||||||
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 | 0054737: Build process improvement: include missing dependencies, support standalone infrastructure modules | ||||||||||||||||||
Description | The current build process for core2 applications has 2 problems: - It does not properly retrieve all dependencies. I.e. when building POS2, it includes all the modules in the natural tree of POS and POS2, but it does not automatically include all ancestor of modules that depend on those applications (see attached image MissingModule.png, where camerabarcodescanner would not be included because it is not part of the natural tree of POS. currently it is include by adding an artificial dependency from it to camerabarcodescanner.posterminal, thus making it part of the natural tree of POS). - It does not support including infrastructure modules that i.e. extend core2 but that are not part of the natural tree of any application. One example of this type of module is the module to support fast authentication. See attached image MissingModule2.png | ||||||||||||||||||
Steps To Reproduce | - Create a POS2 environment - Remove the dependency from org.openbravo.retail.camerabarcodescanner to org.openbravo.retail.camerabarcodescanner.posterminal [1] - Run ant build in core2 to build the POS2 application. Note that the ob-init file of org.openbravo.retail.camerabarcodescanner is not included in web-jspack/org.openbravo.core2/src/generated/POS2-modules-init.js, and the application won't start [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.camerabarcodescanner/-/blob/master/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml?ref_type=heads#L17 [^] | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | MissingModule.png (65,970) 2024-02-21 16:09 https://issues.openbravo.com/file_download.php?file_id=19486&type=bug MissingModule2.png (47,257) 2024-02-21 16:09 https://issues.openbravo.com/file_download.php?file_id=19487&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2024-02-21 16:09 | AugustoMauch | New Issue | |||||||||||||||||
2024-02-21 16:09 | AugustoMauch | Assigned To | => AugustoMauch | ||||||||||||||||
2024-02-21 16:09 | AugustoMauch | Triggers an Emergency Pack | => No | ||||||||||||||||
2024-02-21 16:09 | AugustoMauch | File Added: MissingModule.png | |||||||||||||||||
2024-02-21 16:09 | AugustoMauch | File Added: MissingModule2.png | |||||||||||||||||
2024-02-22 08:20 | hgbot | Note Added: 0161069 | |||||||||||||||||
2024-02-22 08:20 | hgbot | Note Added: 0161070 | |||||||||||||||||
2024-02-22 08:21 | hgbot | Note Added: 0161071 | |||||||||||||||||
2024-02-23 09:05 | hgbot | Note Added: 0161174 | |||||||||||||||||
2024-02-23 10:26 | AugustoMauch | Status | new => scheduled | ||||||||||||||||
2024-02-26 19:13 | hgbot | Note Added: 0161276 | |||||||||||||||||
2024-02-26 19:13 | hgbot | Resolution | open => fixed | ||||||||||||||||
2024-02-26 19:13 | hgbot | Status | scheduled => closed | ||||||||||||||||
2024-02-26 19:13 | hgbot | Fixed in Version | => 24Q2 | ||||||||||||||||
2024-02-26 19:13 | hgbot | Note Added: 0161277 | |||||||||||||||||
2024-02-26 19:13 | hgbot | Note Added: 0161278 | |||||||||||||||||
2024-02-26 19:13 | hgbot | Note Added: 0161279 | |||||||||||||||||
2024-02-27 08:04 | caristu | Relationship added | has duplicate 0054632 | ||||||||||||||||
2024-03-12 11:00 | caristu | Relationship added | related to 0054921 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|