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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040748
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersminoralways2019-05-02 14:112019-05-31 09:38
ReporterngarciaView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revision1d4baad6fd98
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040748: Gift card cannot be canceled if role doesn't have access to payment's organization. More specific error message should be shown

DescriptionGift card cannot be canceled if role doesn't have access to payment's organization. More specific error message should be shown.

The Gift Card Reason / Type should have Only for this org = 'N'
Steps To ReproduceIn the YS-11 POS of Yosemite store:
   Create Gift Certificate:
      Gift Card Category: Nominal Gift Card
      Customer: Arturo Montoro
      Expiration date: define one
      Amount: set one

In the backoffice:
   Go to Gift Card Instance
   Check it is created for White Valley Spain S.A
   Navigate to the related payment and check it is created for Yosemite Store
   Go to Role window and remove Yosemite Store organization from Org Access window
   Include * in case it is not included
   Log out and log in

   Go to Gift Card Instance
   Select the previously created record
   Check the following error message is shown:
      Close Card: Exception closing card: ...

   The log shows:
      org.openbravo.base.exception.OBSecurityException: Organization ... of object (FIN_Payment(...) (...) is not present in OrganizationList [...]

   The error shown to the user should include more details
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040616 closedranjith_qualiantech_com Gift card cannot be canceled if role does not have access to the organization. More specific error message should be shown 

-  Notes
(0112227)
rqueralta (developer)
2019-05-29 15:59

This issue was already fixed by this commit:
 https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/9ab3b7902881 [^]
(0112228)
hgbot (developer)
2019-05-29 16:02

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 1d4baad6fd9891189754273ceaaff755f3b76ea3
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed May 29 10:00:48 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/1d4baad6fd9891189754273ceaaff755f3b76ea3 [^]

Fixed issue 40748: Gift card cannot be canceled if role doesn't have access to
payment's organization. More specific error message should be shown

- Copyright updated

---
M src/org/openbravo/retail/giftcards/process/CancelGiftCardProcessHandler.java
---

- Issue History
Date Modified Username Field Change
2019-05-02 14:11 ngarcia New Issue
2019-05-02 14:11 ngarcia Assigned To => Retail
2019-05-02 14:11 ngarcia Resolution time => 1558562400
2019-05-02 14:11 ngarcia Triggers an Emergency Pack => No
2019-05-02 14:11 ngarcia Issue generated from 0040616
2019-05-02 14:11 ngarcia Relationship added related to 0040616
2019-05-02 14:11 ngarcia Issue Monitored: networkb
2019-05-02 14:12 ngarcia Resolution time 1558562400 =>
2019-05-02 14:12 ngarcia Priority urgent => high
2019-05-02 14:12 ngarcia Severity major => minor
2019-05-13 11:31 egoitz Resolution time => 1560549600
2019-05-20 18:58 rqueralta Assigned To Retail => rqueralta
2019-05-20 18:58 rqueralta Status new => acknowledged
2019-05-20 18:58 rqueralta Status acknowledged => scheduled
2019-05-29 15:59 rqueralta Note Added: 0112227
2019-05-29 16:00 rqueralta Status scheduled => resolved
2019-05-29 16:00 rqueralta Resolution open => fixed
2019-05-29 16:02 hgbot Checkin
2019-05-29 16:02 hgbot Note Added: 0112228
2019-05-29 16:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/1d4baad6fd9891189754273ceaaff755f3b76ea3 [^]
2019-05-31 09:38 marvintm Review Assigned To => marvintm
2019-05-31 09:38 marvintm Status resolved => closed
2019-05-31 09:38 marvintm Fixed in Version => RR19Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker