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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046425
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2021-04-29 14:382021-04-30 09:47
ReporterjmelinView Statuspublic 
Assigned Tocberner 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046425: JIRA 1756 - Approbation doesn't work on flunch environment

DescriptionWhen setting an approbation to a "User action access" for a role, an error is triggered when using a role with right "Can use and approve".

This happens with any "User action access" on flunch env but can't be reproduced on POS
Steps To Reproduce1. Create a role with a "User action access" set to "Require approval" and add a user
2. Create a role with the same "User action access" set to "Can use and approve" and add a user

3. Connect to POS with the user that has role 'require approval'
4. Try to use the action managed by "User action access"
5. When the approval popup is shown, use the user that has role 'can use and approve'
=> the following error is displayed under user name "OBUIAPP_ActionNotAllowed"
TagsTakeaway
Attached Filespng file icon Capture.PNG [^] (27,393 bytes) 2021-04-29 14:39

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0046431TAP closedcberner JIRA 1756 - Approbation doesn't work on flunch environment 
causes defect 0046383 closedjcbourgeois JIRA 1718 - AXISC3 : Site Manager Approval for payments preference doesn't work 

-  Notes
(0127658)
hgbot (developer)
2021-04-29 18:52

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/480 [^]
(0127677)
hgbot (developer)
2021-04-30 09:47

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: ccfbd79ce1d7db2ad506ac33b1cfbb8ae5a565d5
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2021-04-30T07:47:26+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/ccfbd79ce1d7db2ad506ac33b1cfbb8ae5a565d5 [^]

Fixes ISSUE-46425: Approval doesn't work on flunch environment failing with correct role access

Approval was failing with an error in CheckApproval.java regarding
permissions to access certain tables and a warning of non-matching
setAdminMode and restorePreviousMode OBContext calls.

This class was missing a OBContext.setAdminMode(true) call at the start
of its try/catch block. This fixes it by adding this missing method call.

---
M src/org/openbravo/core2/utility/CheckApproval.java
---
(0127678)
hgbot (developer)
2021-04-30 09:47

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/480 [^]

- Issue History
Date Modified Username Field Change
2021-04-29 14:38 jmelin New Issue
2021-04-29 14:38 jmelin Assigned To => Retail
2021-04-29 14:38 jmelin Triggers an Emergency Pack => No
2021-04-29 14:38 jmelin Tag Attached: Takeaway
2021-04-29 14:39 jmelin File Added: Capture.PNG
2021-04-29 14:39 jmelin Description Updated View Revisions
2021-04-29 18:47 cberner Assigned To Retail => cberner
2021-04-29 18:47 cberner Status new => scheduled
2021-04-29 18:52 hgbot Note Added: 0127658
2021-04-30 09:47 hgbot Resolution open => fixed
2021-04-30 09:47 hgbot Status scheduled => closed
2021-04-30 09:47 hgbot Note Added: 0127677
2021-04-30 09:47 hgbot Note Added: 0127678
2021-05-04 09:51 adrianromero Relationship added has duplicate 0046383
2021-05-04 09:52 adrianromero Relationship deleted has duplicate 0046383
2021-05-04 09:52 adrianromero Relationship added blocks 0046383
2021-05-04 09:52 adrianromero Relationship deleted blocks 0046383
2021-05-04 09:52 adrianromero Relationship added causes 0046383


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker