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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031800
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2015-12-30 14:032018-08-14 14:49
ReporterOrekariaView Statuspublic 
Assigned Tomario_castello 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision5bb4f21c107b
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

0031800: Warning shown when a receipt is loaded

DescriptionWarning shown when a receipt is loaded
Steps To ReproduceLog into the WebPOS
In the menu, select Receipts
Try to retrieve a receipt

Verify that an error is shown in the console:

[checkBlocked][no-transaction] No result after getInTransaction for [068DCCBCB90F80C459DD7BA46E32C16B][VBS1/0000080]. This update doesnt make sense - Caller: Backbone.Model.extend.save (https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:20414:16 [^]) - callerInfo:
Object.OB.Dal.save (https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:3984:22 [^]);
Backbone.Model.extend.save (https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:20414:16 [^]);
saveAndTriggerEvents (https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:20625:14 [^]);
https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:20656:11; [^]
https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:29268:9; [^] line: https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:4242:18 [^] (*,+)
TagsNo tags attached.
Attached Filesdiff file icon diffIssue31800Final_loadWithoutCalculateReceipt.diff [^] (9,889 bytes) 2016-01-19 17:02 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on design defect 0031755 acknowledgedRetail To rebuild a receipt, the amounts must be calculated 
caused by defect 0030963RR15Q4 closedguilleaer A mechanism should check wrong updates in c_order table which can cause problems 
related to defect 0034155 acknowledgedRetail Warning shown when a receipt is loaded from pay open tickect 
blocks defect 0031801RR16Q1 closedmtaal [HGVOL] Cannot load a receipt when the Customers are remote 
causes defect 0033919 closedmario_castello The gross of the lines are not calculated when the user loads a ticket from the backend 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0083087)
mtaal (manager)
2015-12-30 23:11

See related issue 30963

Short analysis (quick/re-check):
When loading a receipt from the server it is not yet stored in the database so the update check tries to find it but can't and shows the console warning.
(0083409)
guilleaer (manager)
2016-01-19 17:04

Attached a fix which has not passed try.

Changesets :
ERP:
https://code.openbravo.com/erp/devel/pi/graph/165f2247f1d0 [^]

Retail Modules:
https://code.openbravo.com/retail/try/org.openbravo.mobile.core/graph/a80c3bfe52c4 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.config/graph/1649f7bc7865 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.discounts/graph/1ab09dd431c2 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.pack/graph/0d6cf80f6c3e [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.poshwmanager/graph/27552193a757 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.posterminal/graph/9b2ceb8e700c [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.returns/graph/953c5c5fb105 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.sampledata/graph/e69d165f8335 [^]

31800
Automation-repo : pi-mobile
PostgreSQL version : 9.3


FAILED:
        https://ci.openbravo.com//job/try-ret-test-pgsql-suite1/1276/ [^]
        https://ci.openbravo.com//job/try-ret-test-pgsql-suite2/1275/ [^]
        https://ci.openbravo.com//job/try-ret-test-pgsql-suite3/1272/ [^]
        https://ci.openbravo.com//job/try-ret-test-pgsql-suite4/930/ [^]
        https://ci.openbravo.com//job/try-ret-test-oracle-suite1/1271/ [^]
        https://ci.openbravo.com//job/try-ret-test-oracle-suite2/1271/ [^]
        https://ci.openbravo.com//job/try-ret-test-oracle-suite3/1271/ [^]
        https://ci.openbravo.com//job/try-ret-test-oracle-suite4/929/ [^]

SUCCESS:
        https://ci.openbravo.com//job/try-ret-modules-pgsql/2316/ [^]
        https://ci.openbravo.com//job/try-ret-modules-oracle/2314/ [^]
        https://ci.openbravo.com//job/try-ret-full-pgsql/2313/ [^]
        https://ci.openbravo.com//job/try-ret-full-oracle/2308/ [^]
        https://ci.openbravo.com//job/try-ret-checks-pgsql/2080/ [^]
        https://ci.openbravo.com//job/try-ret-checks-oracle/2078/ [^]
        https://ci.openbravo.com//job/try-ret-dbcons-pgsql/1914/ [^]
        https://ci.openbravo.com//job/try-ret-dbcons-oracle/1913/ [^]

The idea is to avoid CalculateReceipt when a paidreceipt is loaded.
(0089093)
hgbot (developer)
2016-08-12 22:58

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5bb4f21c107bfcf7e6c4ba77a63f3caae62c174d
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Aug 12 10:43:26 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5bb4f21c107bfcf7e6c4ba77a63f3caae62c174d [^]

Fixed issue 31800: Avoid calculateReceipt function when loaded a paid receipt

---
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0089491)
dmitry_mezentsev (developer)
2016-08-29 11:49

Not closed for 17 days!
(0089546)
migueldejuana (developer)
2016-08-30 12:21

Tested and reviewed
(0106345)
hgbot (developer)
2018-08-14 14:49

Repository: tools/automation/pi-mobile
Changeset: 166e0cef91f5a4cca4e0d626dca0403580490337
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Aug 13 11:25:04 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/166e0cef91f5a4cca4e0d626dca0403580490337 [^]

Related to issue 31800: added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31800_VerifyNoErrorsAndWarningsWhenReceiptLoaded.java
---

- Issue History
Date Modified Username Field Change
2015-12-30 14:03 Orekaria New Issue
2015-12-30 14:03 Orekaria Assigned To => Retail
2015-12-30 14:03 Orekaria Triggers an Emergency Pack => No
2015-12-30 14:04 Orekaria Assigned To Retail => mtaal
2015-12-30 14:04 Orekaria Status new => acknowledged
2015-12-30 14:09 Orekaria Status acknowledged => scheduled
2015-12-30 14:09 Orekaria Assigned To mtaal => Retail
2015-12-30 14:10 Orekaria Assigned To Retail => mtaal
2015-12-30 14:21 Orekaria Assigned To mtaal => Retail
2015-12-30 14:21 Orekaria Summary [HGVOL] Cannot load a receipt when the Customers are remote => Warning shown when a receipt is loaded
2015-12-30 14:21 Orekaria Description Updated View Revisions
2015-12-30 14:21 Orekaria Steps to Reproduce Updated View Revisions
2015-12-30 14:21 Orekaria Relationship replaced blocks 0031801
2015-12-30 14:27 Orekaria Severity major => minor
2015-12-30 15:25 Orekaria Status scheduled => acknowledged
2015-12-30 23:08 mtaal Relationship added related to 0031806
2015-12-30 23:09 mtaal Relationship deleted related to 0031806
2015-12-30 23:10 mtaal Relationship added caused by 0030963
2015-12-30 23:11 mtaal Note Added: 0083087
2016-01-11 11:06 guilleaer Assigned To Retail => guilleaer
2016-01-11 11:07 guilleaer Status acknowledged => scheduled
2016-01-19 17:02 guilleaer File Added: diffIssue31800Final_loadWithoutCalculateReceipt.diff
2016-01-19 17:04 guilleaer Note Added: 0083409
2016-02-02 11:22 Orekaria Relationship added depends on 0031755
2016-03-08 20:19 Orekaria Status scheduled => acknowledged
2016-03-08 20:19 Orekaria Assigned To guilleaer => Retail
2016-08-08 22:21 mario_castello Assigned To Retail => mario_castello
2016-08-12 22:58 hgbot Checkin
2016-08-12 22:58 hgbot Note Added: 0089093
2016-08-12 22:58 hgbot Status acknowledged => resolved
2016-08-12 22:58 hgbot Resolution open => fixed
2016-08-12 22:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5bb4f21c107bfcf7e6c4ba77a63f3caae62c174d [^]
2016-08-29 11:49 dmitry_mezentsev Note Added: 0089491
2016-08-30 12:21 migueldejuana Review Assigned To => migueldejuana
2016-08-30 12:21 migueldejuana Note Added: 0089546
2016-08-30 12:21 migueldejuana Status resolved => closed
2016-09-20 15:12 migueldejuana Relationship added causes 0033919
2016-09-30 23:28 mario_castello Relationship added related to 0034155
2018-08-14 14:49 hgbot Checkin
2018-08-14 14:49 hgbot Note Added: 0106345


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker