Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058018
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2025-02-18 15:302025-02-19 11:44
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058018: Force Full Refresh Process silently fails if it lacks some privileges

DescriptionIf "Force Full Refresh Process" is executed by a role without write access to the Terminal entity, the process fails without providing feedback to the user.
Steps To Reproduce1. Create a manual role with read only access to Channel - Touchpoint window
2. Log in with that role
3. Open Channel Touchpoint window
4. Select a terminal and execute Force Full Refresh Process
  ERROR:
    * The popup remains in "Processing" forever
    * In the openbravo.log the cause of the problem is explained (not having write permissions to Terminal entity).

See https://openbravo.atlassian.net/browse/RM-20984 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0175832)
hgbot (developer)
2025-02-18 15:38

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1924 [^]
(0175853)
hgbot (developer)
2025-02-19 08:47

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/mobile-api/-/merge_requests/40 [^]
(0175874)
hgbot (developer)
2025-02-19 11:44

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/mobile-api/-/merge_requests/40 [^]
(0175875)
hgbot (developer)
2025-02-19 11:44

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/mobile-api [^]
Changeset: f4cd73af1b25f3f7a4bed17947392401dec8f415
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 19-02-2025 08:43:50
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/mobile-api/-/commit/f4cd73af1b25f3f7a4bed17947392401dec8f415 [^]

BUG-58018: API ForceFullRefreshActionHandler extends BaseProcessActionHandler

ForceFullRefreshActionHandler extends BaseProcessActionHandler instead of
BaseActionHandler, this changes execute method from non-final to final.

---
M java/reference/java.japi.gz
---
(0175876)
hgbot (developer)
2025-02-19 11:44

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1924 [^]
(0175877)
hgbot (developer)
2025-02-19 11:44

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f9b95a1b3abcc5a3e2a4a574d603ebd0fb4844da
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 19-02-2025 10:44:09
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f9b95a1b3abcc5a3e2a4a574d603ebd0fb4844da [^]

fixes BUG-58018: Force Full Refresh silently fails if it lacks some privileges

Changed ForceFullRefreshActionHandler to extend BaseProcessActionHandler instead
of BaseActionHandler.

This will make:

  * The process to be execued in admin mode, so the reported case will not
    fail.
  * In case of other failures, a proper error will be displayed in the ui
    instead of hanging the application.
  * Further permissions checks are performed.

---
M src/org/openbravo/retail/posterminal/ForceFullRefreshActionHandler.java
---

- Issue History
Date Modified Username Field Change
2025-02-18 15:30 alostale New Issue
2025-02-18 15:30 alostale Assigned To => Retail
2025-02-18 15:30 alostale Triggers an Emergency Pack => No
2025-02-18 15:31 alostale Steps to Reproduce Updated View Revisions
2025-02-18 15:34 alostale Summary Force Full Refresh Process silently fail if it lacks some privileges => Force Full Refresh Process silently fails if it lacks some privileges
2025-02-18 15:38 hgbot Note Added: 0175832
2025-02-19 08:47 hgbot Note Added: 0175853
2025-02-19 09:13 guillermogil Assigned To Retail => Triage Platform Base
2025-02-19 11:44 hgbot Note Added: 0175874
2025-02-19 11:44 hgbot Note Added: 0175875
2025-02-19 11:44 hgbot Note Added: 0175876
2025-02-19 11:44 hgbot Resolution open => fixed
2025-02-19 11:44 hgbot Status new => closed
2025-02-19 11:44 hgbot Fixed in Version => RR25Q2
2025-02-19 11:44 hgbot Note Added: 0175877


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker