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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045209
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2020-10-08 14:552020-10-08 15:05
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR21Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045209: Do not use underscore inside the checkAlreadyPaid utility function

DescriptionThe utility function checkAlreadyPaid is using underscore (specifically the reduce function), and this should be changed as underscore should not be used inside the actions or action preparations.
Steps To ReproduceCheck the checkAlreadyPaid utility function inside web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js is using underscore is using _.reduce
Proposed SolutionReplace it by the reduce function in the array object.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0123622)
hgbot (developer)
2020-10-08 15:02

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 181245db8d7183d6e99bd19d05302af068528d72
Author: Antonio Moreno <anmorenoperez@gmail.com>
Date: 2020-10-08T14:57:21+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/181245db8d7183d6e99bd19d05302af068528d72 [^]

Fixed ISSUE-45209: Replaced usage of _.reduce by the native array reduce function

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---
(0123623)
migueldejuana (developer)
2020-10-08 15:05

Reviewed

- Issue History
Date Modified Username Field Change
2020-10-08 14:55 marvintm New Issue
2020-10-08 14:55 marvintm Assigned To => Retail
2020-10-08 14:55 marvintm Triggers an Emergency Pack => No
2020-10-08 15:02 hgbot Resolution open => fixed
2020-10-08 15:02 hgbot Status new => resolved
2020-10-08 15:02 hgbot Fixed in Version => RR21Q1
2020-10-08 15:02 hgbot Note Added: 0123622
2020-10-08 15:03 marvintm Assigned To Retail => marvintm
2020-10-08 15:05 migueldejuana Review Assigned To => migueldejuana
2020-10-08 15:05 migueldejuana Note Added: 0123623
2020-10-08 15:05 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker