Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0031386 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | always | 2015-11-06 10:21 | 2015-11-23 21:17 | |||
| Reporter | aferraz | View Status | public | |||||
| Assigned To | aferraz | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 8ae08a1890a3 | ||||
| Projection | none | ETA | none | Target Version | 3.0PR16Q1 | |||
| OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
| OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | dmiguelez | |||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0031386: Error shown in Add Payment when role has no access to Financial Account window | |||||||
| Description | Error shown in Add Payment when role has no access to Financial Account window | |||||||
| Steps To Reproduce | As F&B Admin: - Go to Role window and select F&B España, S.A - Finance In Window Access tab, delete all records but related to Sales Invoice window In Report and Process Access, delete record related to Add Payment process As F&B España Finance: - Go to Sales Invoice window Select any record with Total Outstanding > 0 Click on Add Payment button Realize Add Payment is opened and all fields are filled, but an error is shown with the following message: Error occured: org.openbravo.base.exception.OBException: org.openbravo.base.exception.OBSecurityException: Entity FinancialMgmtFinAccPaymentMethod is not readable by the user 100 - If you give access for Financial Account window to Finance role, this error is not shown. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
|  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] | |||||||||||||||
| 
 | |||||||||||||||
|  Notes | |
| (0081548) aferraz (viewer) 2015-11-06 10:29 | Issue is causing errors in APRDefaultsCalculated addpayment automated tests: https://ci.openbravo.com/view/qa/job/qa-pi-addpayment-pgsql/6/console [^] | 
| (0081550) alostale (viewer) 2015-11-06 10:49 | The error is in PaymentMethodMulticurrencyActionHandler 5246701 [http-8080-2] ERROR org.openbravo.base.exception.OBSecurityException - Entity FinancialMgmtFinAccPaymentMethod is not readable by the user 100 org.openbravo.base.exception.OBSecurityException: Entity FinancialMgmtFinAccPaymentMethod is not readable by the user 100 at org.openbravo.dal.security.EntityAccessChecker.checkReadable(EntityAccessChecker.java:343) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:596) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:583) at org.openbravo.dal.service.OBDal.createCriteria(OBDal.java:426) at org.openbravo.advpaymentmngt.actionHandler.PaymentMethodMulticurrencyActionHandler.getFinancialAccountPaymentMethod(PaymentMethodMulticurrencyActionHandler.java:124) | 
| (0081947) aferraz (viewer) 2015-11-18 13:03 | As F&B Admin: - Go to Role window and select F&B España, S.A - Finance In Window Access tab, delete all records but related to Sales Invoice window In Report and Process Access, delete record related to Add Payment process As F&B España Finance: - Go to Sales Invoice window Select any record with Total Outstanding > 0 Click on Add Payment button Realize Add Payment is opened and all fields are filled, and no error is shown. | 
| (0082085) hgbot (developer) 2015-11-23 13:11 | Repository: erp/devel/pi Changeset: 8ae08a1890a369c0121dd0adaa74f6e064b20b22 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Wed Nov 18 11:15:28 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/8ae08a1890a369c0121dd0adaa74f6e064b20b22 [^] Fixes issue 31386: Error shown in Add Payment Error shown in Add Payment when role has no access to Financial Account window. Add OBContext.setAdminMode(true) in getFinancialAccountPaymentMethod method to avoid it. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/PaymentMethodMulticurrencyActionHandler.java --- | 
| (0082086) dmiguelez (viewer) 2015-11-23 13:12 | Code Review + Testing Ok | 
| (0082268) hudsonbot (viewer) 2015-11-23 21:17 | 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/7b56bebaaa88 [^] Maturity status: Test | 
|  Issue History | |||
| Date Modified | Username | Field | Change | 
| 2015-11-06 10:21 | aferraz | New Issue | |
| 2015-11-06 10:21 | aferraz | Assigned To | => platform | 
| 2015-11-06 10:21 | aferraz | OBNetwork customer | => No | 
| 2015-11-06 10:21 | aferraz | Modules | => Core | 
| 2015-11-06 10:21 | aferraz | Triggers an Emergency Pack | => No | 
| 2015-11-06 10:29 | aferraz | Note Added: 0081548 | |
| 2015-11-06 10:33 | aferraz | Relationship added | related to 0029035 | 
| 2015-11-06 10:33 | aferraz | Relationship added | related to 0027236 | 
| 2015-11-06 10:48 | alostale | Assigned To | platform => Triage Finance | 
| 2015-11-06 10:49 | alostale | Note Added: 0081550 | |
| 2015-11-18 13:02 | aferraz | Assigned To | Triage Finance => aferraz | 
| 2015-11-18 13:02 | aferraz | Status | new => scheduled | 
| 2015-11-18 13:03 | aferraz | Note Added: 0081947 | |
| 2015-11-23 13:11 | hgbot | Checkin | |
| 2015-11-23 13:11 | hgbot | Note Added: 0082085 | |
| 2015-11-23 13:11 | hgbot | Status | scheduled => resolved | 
| 2015-11-23 13:11 | hgbot | Resolution | open => fixed | 
| 2015-11-23 13:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8ae08a1890a369c0121dd0adaa74f6e064b20b22 [^] | 
| 2015-11-23 13:12 | dmiguelez | Review Assigned To | => dmiguelez | 
| 2015-11-23 13:12 | dmiguelez | Note Added: 0082086 | |
| 2015-11-23 13:12 | dmiguelez | Status | resolved => closed | 
| 2015-11-23 21:17 | hudsonbot | Checkin | |
| 2015-11-23 21:17 | hudsonbot | Note Added: 0082268 | |
| Copyright © 2000 - 2009 MantisBT Group |