Openbravo Issue Tracking System - POS2
View Issue Details
0056053POS2Corepublic2024-07-17 15:362024-07-22 08:16
alostale 
Triage Platform Conn 
immediateminorhave not tried
closedfixed 
5
 
24Q4 
2024-07-15
pi
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/afd7ec2d7f2043b944890399e538616bdec5a638 [^]
No
0056053: log error in GrantedUserActionsProvider
Error in openbravo.log coming from GrantedUserActionsProvider:

2024-07-17 09:18:21,031 [http-nio-127.0.0.1-8080-exec-52] ERROR org.openbravo.core2.login.GrantedUserActionsProvider - Could not get the information of the standalone infrastructure modules
java.nio.file.NoSuchFileException: /srv/livebuilds/contexts/retail_pos2_pgsql/webapp/web/null/all-modules-info.json
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) ~[?:?]
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) ~[?:?]
    at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219) ~[?:?]
    at java.nio.file.Files.newByteChannel(Files.java:371) ~[?:?]
    at java.nio.file.Files.newByteChannel(Files.java:422) ~[?:?]
    at java.nio.file.Files.readAllBytes(Files.java:3206) ~[?:?]
    at org.openbravo.core2.login.GrantedUserActionsProvider.getStandaloneInfraModules(GrantedUserActionsProvider.java:153) [classes/:?]
    at org.openbravo.core2.login.GrantedUserActionsProvider.getGrantedUserActions(GrantedUserActionsProvider.java:122) [classes/:?]
    at org.openbravo.core2.login.GrantedUserActionsProvider.getData(GrantedUserActionsProvider.java:65) [classes/:?]
    at org.openbravo.core2.login.GrantedUserActionsProvider$Proxy$_$$_WeldClientProxy.getData(Unknown Source) [classes/:?]
    at org.openbravo.mobile.core.login.MobileCoreLoginUtilsServlet.addExtraLoginData(MobileCoreLoginUtilsServlet.java:209) [classes/:?]
    at org.openbravo.mobile.core.login.MobileCoreLoginUtilsServlet.doGet(MobileCoreLoginUtilsServlet.java:129) [classes/:?]
Unclear.

Can be seen in https://livebuilds.openbravo.com/logs/retail_pos2_pgsql_openbravo.log [^]
No tags attached.
caused by defect 0054921 closed eugen_hamuraru User actions defined in standalone infrastructure modules cannot be securized 
Issue History
2024-07-17 15:36alostaleNew Issue
2024-07-17 15:36alostaleAssigned To => Triage Platform Base
2024-07-17 15:36alostaleRegression date => 2024-07-15
2024-07-17 15:36alostaleRegression introduced in release => pi
2024-07-17 15:36alostaleRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/afd7ec2d7f2043b944890399e538616bdec5a638 [^]
2024-07-17 15:36alostaleTriggers an Emergency Pack => No
2024-07-17 15:37alostaleRelationship addedcaused by 0054921
2024-07-17 15:37alostaleAssigned ToTriage Platform Base => Triage Platform Conn
2024-07-17 15:37alostalePrioritynormal => immediate
2024-07-18 08:37hgbotNote Added: 0167090
2024-07-18 09:18hgbotResolutionopen => fixed
2024-07-18 09:18hgbotStatusnew => closed
2024-07-18 09:18hgbotFixed in Version => 24Q4
2024-07-18 09:18hgbotNote Added: 0167096
2024-07-18 09:18hgbotNote Added: 0167097
2024-07-19 12:51hgbotNote Added: 0167176
2024-07-19 13:48hgbotNote Added: 0167185
2024-07-19 13:49hgbotNote Added: 0167186
2024-07-22 08:16hgbotNote Added: 0167208
2024-07-22 08:16hgbotNote Added: 0167209

Notes
(0167090)
hgbot   
2024-07-18 08:37   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1544 [^]
(0167096)
hgbot   
2024-07-18 09:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 74495ef1bb86dc7773d8f38dee2edb71a83cda7e
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 18-07-2024 07:18:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/74495ef1bb86dc7773d8f38dee2edb71a83cda7e [^]

fixes BUG-56053: log error in GrantedUserActionsProvider

---
M src/org/openbravo/core2/login/GrantedUserActionsProvider.java
---
(0167097)
hgbot   
2024-07-18 09:18   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1544 [^]
(0167176)
hgbot   
2024-07-19 12:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/731 [^]
(0167185)
hgbot   
2024-07-19 13:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1546 [^]
(0167186)
hgbot   
2024-07-19 13:49   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/731 [^]
(0167208)
hgbot   
2024-07-22 08:16   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: fd72c2ffb5daf625dd9bff8e0b2128cd57847f93
Author: Eugen Hamuraru <eugen.hamuraru@openbravo.com>
Date: 22-07-2024 06:16:22
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/fd72c2ffb5daf625dd9bff8e0b2128cd57847f93 [^]

Related to BUG-56053: reduce log verbosity when module info is missing

---
M src/org/openbravo/core2/login/GrantedUserActionsProvider.java
---
(0167209)
hgbot   
2024-07-22 08:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1546 [^]