Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0058090 | Retail Modules | Web POS | public | 2025-02-27 09:23 | 2025-02-28 12:15 | ||||||||||||||
Reporter | caristu | ||||||||||||||||||
Assigned To | caristu | ||||||||||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | approved | ||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0058090: Cannot parse images without read access to ADSystemInformation entity | ||||||||||||||||||
Description | Is not possible to transform an XML template with images into PDF if the role executing the printing does not have read access to the ADSystemInformation entity. In such a case, the following exception is thrown: org.openbravo.base.exception.OBException: Could not transform XML into PDF at org.openbravo.mobile.core.XMLtoPDFReprintableDocumentTransformer.transform(XMLtoPDFReprintableDocumentTransformer.java:46) ~[classes/:?] .... Caused by: org.openbravo.base.exception.OBSecurityException: Entity ADSystemInformation is not readable by the user B19C90FE4D6748D29C0662C7AAA7BC58 at org.openbravo.dal.security.EntityAccessChecker.checkReadable(EntityAccessChecker.java:639) ~[classes/:?] | ||||||||||||||||||
Steps To Reproduce | 1) Enable the Reprintable Documents feature[1] 2) Create a ticket in the POS and print it. The print template must have an image. 3) Access to the backoffice with a role that does not have access to the ADSystemInformation entity 4) Navigate to the Sales Order window, and reprint the order generated in step 2. The document is not generated due to the error mentioned in the Description. [1] https://wiki.openbravo.com/wiki/Reprintable_Documents [^] | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2025-02-27 09:23 | caristu | New Issue | |||||||||||||||||
2025-02-27 09:23 | caristu | Assigned To | => caristu | ||||||||||||||||
2025-02-27 09:23 | caristu | OBNetwork customer | => No | ||||||||||||||||
2025-02-27 09:23 | caristu | Triggers an Emergency Pack | => No | ||||||||||||||||
2025-02-27 09:23 | caristu | Issue generated from | 0056385 | ||||||||||||||||
2025-02-27 09:23 | caristu | Relationship added | related to 0056385 | ||||||||||||||||
2025-02-27 16:54 | caristu | Issue cloned | 0058104 | ||||||||||||||||
2025-02-27 16:54 | caristu | Relationship added | related to 0058104 | ||||||||||||||||
2025-02-27 16:55 | caristu | Relationship deleted | related to 0058104 | ||||||||||||||||
2025-02-27 19:08 | hgbot | Merge Request Status | => open | ||||||||||||||||
2025-02-27 19:08 | hgbot | Note Added: 0176249 | |||||||||||||||||
2025-02-28 07:43 | alostale | Relationship added | related to 0058104 | ||||||||||||||||
2025-02-28 12:15 | hgbot | Merge Request Status | open => approved | ||||||||||||||||
2025-02-28 12:15 | hgbot | Note Added: 0176290 | |||||||||||||||||
2025-02-28 12:15 | hgbot | Resolution | open => fixed | ||||||||||||||||
2025-02-28 12:15 | hgbot | Status | new => closed | ||||||||||||||||
2025-02-28 12:15 | hgbot | Note Added: 0176291 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|