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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044327
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2020-06-10 08:182020-06-18 08:22
Reporterprakashmurugesan88View Statuspublic 
Assigned Toprakashmurugesan88 
PrioritynormalResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revisiondf469ef5e543
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

0044327: Ramdom PayOpenTickets are failing in try

DescriptionPayOpenTickets are failing in try with following errors

"Uncaught TypeError: Cannot read property 'get' of undefined

(2) errors in the browser log:
[2020-05-30T08:28:12+0000] [SEVERE] http://127.0.0.1/try-ret-test-pgsql-suite2/web/js/gen/843622587ca18d1efe368c613d62d12c.js [^] 213:14 ""TypeError: Cannot read property 'get' of undefined\n at G.d.getPrepaymentAmount (http://127.0.0.1/try-ret-test-pgsql-suite2/web/js/gen/843622587ca18d1efe368c613d62d12c.js:53205:54 [^])\n at calculatePrepayment (http://127.0.0.1/try-ret-test-pgsql-suite2/web/js/gen/843622587ca18d1efe368c613d62d12c.js:85911:17 [^])\n at Object.\u003Canonymous> (http://127.0.0.1/try-ret-test-pgsql-suite2/web/js/gen/843622587ca18d1efe368c613d62d12c.js:85945:9 [^])\n at g.Collection.trigger (http://127.0.0.1/try-ret-test-pgsql-suite2/web/org.openbravo.mobile.core/lib/vendor/backbone-0.9.2.min.js:9:85 [^])\n at http://127.0.0.1/try-ret-test-pgsql-suite2/web/js/gen/843622587ca18d1efe368c613d62d12c.js:100136:26\n [^] at processResult (http://127.0.0.1/try-ret-test-pgsql-suite2/web/js/gen/843622587ca18d1efe368c613d62d12c.js:7810:11 [^]); line: Object.OB.UTIL.showError (http://127.0.0.1/try-ret-test-pgsql-suite2/web/js/gen/843622587ca18d1efe368c613d62d12c.js:24307:6 [^]) (*)""
[2020-05-30T08:28:12+0000] [SEVERE] http://127.0.0.1/try-ret-test-pgsql-suite2/web/js/gen/843622587ca18d1efe368c613d62d12c.js [^] 53204:53 Uncaught TypeError: Cannot read property 'get' of undefined"
Steps To ReproduceIt occurs randomly in try while reloading payopentickets
TagsNo tags attached.
Attached Filespatch file icon I44327_PayOpenTicketReload.patch [^] (1,617 bytes) 2020-06-10 08:37 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0120895)
hgbot (developer)
2020-06-17 17:34

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: df469ef5e5432da46671942cd33fe43f70b0114e
Author: Prakash M <prakash <at> qualiantech.com>
Date: Wed Jun 17 20:55:34 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df469ef5e5432da46671942cd33fe43f70b0114e [^]

Fixed BUG-44327: On reloading POS with loaded payopentickets throws js error in
get businessPartner of prepayment amount calculation.

* Prepayment calculation is done asynchronously by 'loadedMultiOrder' trigger
* This error occurs if the businessPartner value is not on calculating prepayment
* businessPartner is set in successCallbackBPs function

* There are 2 properties in OB.MobileApp.model,
* businessPartner - BusinessPartner Object with all attributes
* businesspartner - With BusinessPartner id
* businesspartner has value based on which businessPartner is set in
successCallbackBPs function
* so validation is done using businesspartner instead of businessPartner

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---

- Issue History
Date Modified Username Field Change
2020-06-10 08:18 prakashmurugesan88 New Issue
2020-06-10 08:18 prakashmurugesan88 Assigned To => prakashmurugesan88
2020-06-10 08:18 prakashmurugesan88 Triggers an Emergency Pack => No
2020-06-10 08:18 prakashmurugesan88 Status new => scheduled
2020-06-10 08:37 prakashmurugesan88 File Added: I44327_PayOpenTicketReload.patch
2020-06-17 17:34 hgbot Checkin
2020-06-17 17:34 hgbot Note Added: 0120895
2020-06-17 17:34 hgbot Status scheduled => resolved
2020-06-17 17:34 hgbot Resolution open => fixed
2020-06-17 17:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df469ef5e5432da46671942cd33fe43f70b0114e [^]
2020-06-18 08:22 marvintm Review Assigned To => marvintm
2020-06-18 08:22 marvintm Status resolved => closed
2020-06-18 08:22 marvintm Fixed in Version => RR20Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker