Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034803Openbravo ERP01. General setuppublic2016-12-21 19:012016-12-23 20:42
maite 
rqueralta 
urgentmajoralways
closedfixed 
5
 
3.0PR17Q1 
markmm82
Core
No
0034803: Error "Entity FIN_PaymentMethod is not directly readable" in Payment Execution window
When used Role has not access to "Payment Method" window, following error is received in "Payment Execution" window
1. Access Role window and remove "Payment Method" record in Window Access for "F&B International Group Admin" role
2. Logout/login using same role
3. Access Payment Execution window and realize that "Financial Account" combo is not properly loaded but shows "Response" label
4. Refresh window and error "org.openbravo.base.exception.OBSecurityException: Entity FIN_PaymentMethod is not directly readable, only id and identifier properties are readable, property FIN_PaymentMethod.financialMgmtFinAccPaymentMethodList is neither of these" will be raised
No tags attached.
Issue History
2016-12-21 19:01maiteNew Issue
2016-12-21 19:01maiteAssigned To => Triage Finance
2016-12-21 19:01maiteModules => Core
2016-12-21 19:01maiteResolution time => 1484089200
2016-12-21 19:01maiteTriggers an Emergency Pack => No
2016-12-21 19:01maiteIssue Monitored: networkb
2016-12-21 20:57markmm82Assigned ToTriage Finance => collazoandy4
2016-12-23 13:38rqueraltaAssigned Tocollazoandy4 => rqueralta
2016-12-23 13:40rqueraltaStatusnew => scheduled
2016-12-23 13:41rqueraltaNote Added: 0092973
2016-12-23 15:34hgbotCheckin
2016-12-23 15:34hgbotNote Added: 0092981
2016-12-23 15:34hgbotStatusscheduled => resolved
2016-12-23 15:34hgbotResolutionopen => fixed
2016-12-23 15:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/64ac0cc86133c57d873ead430d894044aef739c2 [^]
2016-12-23 15:35markmm82Review Assigned To => markmm82
2016-12-23 15:35markmm82Note Added: 0092982
2016-12-23 15:35markmm82Statusresolved => closed
2016-12-23 15:35markmm82Fixed in Version => 3.0PR17Q1
2016-12-23 20:42hudsonbotCheckin
2016-12-23 20:42hudsonbotNote Added: 0092989

Notes
(0092973)
rqueralta   
2016-12-23 13:41   
Test plan:

As F&B International Group Admin

  - Go to Role window
    Select "F&B International Group Admin" role
    Remove "Payment Method" record in Window Access tab
  - Logout/login using same role
  - Go to Payment Execution window
    Realize that "Financial Account" combo is properly loaded
    Refresh window and check that error is not shown
(0092981)
hgbot   
2016-12-23 15:34   
Repository: erp/devel/pi
Changeset: 64ac0cc86133c57d873ead430d894044aef739c2
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Fri Dec 23 07:18:41 2016 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/64ac0cc86133c57d873ead430d894044aef739c2 [^]

Fixes issue 34803: Error "Entity FIN_PaymentMethod is not directly readable"

Added Administrator Mode to getFinancialAccountList method of FIN_Utility class

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
---
(0092982)
markmm82   
2016-12-23 15:35   
Code review + Testing OK
(0092989)
hudsonbot   
2016-12-23 20:42   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/17b1229a255e [^]
Maturity status: Test