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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034292
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2016-10-25 17:462016-12-21 12:37
ReportermtaalView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revision365193450d5d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034292: [BUT Issues: 1861] Pay Open Tickets is slow and UI stalls

DescriptionWhen I do pay open tickets I noticed that the UI stalls before the ticket is sent to the server and after it.

The best visualized is this when setting Synchronized Mode preference to Y.
Steps To ReproduceCreate 2 open tickets
Open the developer console log
Do pay open tickets
Notice that almost 1000 times the same message is printed
Pay button is disabled; {"isSynchronized":false,"isToolbarEnabled":true,"isDisabledRequest":false}; line: Object.disabledChanged

Put a breakpoint in the right place to see the stacktrace life, the disableChanged method is called from several places.
Proposed SolutionPrevent the 'expensive' disableChanged method from being called. Find the root cause why 1000s of javascript calls are needed.
Tagsser, SER-QA
Attached Fileslog file icon store1.openbravo.com-1477408775536.log [^] (777,359 bytes) 2016-10-25 17:47
png file icon Selection_046.png [^] (290,767 bytes) 2016-10-25 17:47
png file icon Selection_045.png [^] (70,618 bytes) 2016-10-25 17:47

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034118 closedmtaal [STORE SERVER] Pay open tickets functionality does not work correctly in multiserver (online/offline) using synchronized mode. 
has duplicate defect 0029693 closedjorge-garcia To use "Pay Open Tickets" feature with several tickets induces POS to get stuck 
related to design defect 0034397 acknowledgedRetail [RR16Q4] Pay Open Tickets has a bad performance in certain environments. It induces a situation where a ticket can be completed 
causes defect 0035034 closedmario_castello [RR17Q1] Remaining to Pay totals don't update when changing the amounts to layaway in the Pay Open Tickets window 

-  Notes
(0092899)
hgbot (developer)
2016-12-21 11:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 365193450d5df02d4bfdc157512d6368547c0879
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Dec 20 17:33:12 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/365193450d5df02d4bfdc157512d6368547c0879 [^]

Fixed issue 34292: Pay Open Tickets is slow and UI stalls

Log messages indicates several triggers are being raised by some functionality.

In this case, the origin of the problem was a change listener defined in
multiOrder list. Every time one receipt change, this event was raised.

Now, this change listener has been removed in multiOrders list.

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

- Issue History
Date Modified Username Field Change
2016-10-25 17:46 mtaal New Issue
2016-10-25 17:46 mtaal Assigned To => Retail
2016-10-25 17:46 mtaal Triggers an Emergency Pack => No
2016-10-25 17:46 mtaal Relationship added related to 0034118
2016-10-25 17:47 mtaal File Added: store1.openbravo.com-1477408775536.log
2016-10-25 17:47 mtaal File Added: Selection_046.png
2016-10-25 17:47 mtaal File Added: Selection_045.png
2016-10-26 10:07 daniOpenbravo Issue Monitored: daniOpenbravo
2016-10-26 10:07 daniOpenbravo Tag Attached: ser
2016-10-26 10:07 daniOpenbravo Tag Attached: SER-QA
2016-10-26 10:08 daniOpenbravo Summary Pay Open Tickets is slow and UI stalls => [BUT Issues: 1861] Pay Open Tickets is slow and UI stalls
2016-11-09 18:22 xabiermerino Resolution time => 1479250800
2016-11-11 13:35 Sandrahuguet Relationship added related to 0034397
2016-11-25 15:14 marvintm Resolution time 1479250800 => 1481151600
2016-12-12 11:58 marvintm Type defect => design defect
2016-12-12 11:58 marvintm Resolution time 1481151600 =>
2016-12-12 12:11 marvintm Regression date => 2016-08-12
2016-12-12 12:11 marvintm Type design defect => defect
2016-12-12 12:13 marvintm Resolution time => 1481151600
2016-12-12 12:13 marvintm Regression date 2016-08-12 =>
2016-12-13 09:30 marvintm Status new => scheduled
2016-12-13 09:30 marvintm Assigned To Retail => marvintm
2016-12-15 17:19 marvintm Severity minor => major
2016-12-20 13:42 jorge-garcia Assigned To marvintm => jorge-garcia
2016-12-21 11:23 hgbot Checkin
2016-12-21 11:23 hgbot Note Added: 0092899
2016-12-21 11:23 hgbot Status scheduled => resolved
2016-12-21 11:23 hgbot Resolution open => fixed
2016-12-21 11:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/365193450d5df02d4bfdc157512d6368547c0879 [^]
2016-12-21 12:37 guilleaer Review Assigned To => guilleaer
2016-12-21 12:37 guilleaer Status resolved => closed
2016-12-21 12:37 guilleaer Fixed in Version => RR17Q1
2017-01-13 13:21 marvintm Relationship added has duplicate 0029693
2017-01-25 15:15 mario_castello Relationship added related to 0035034
2017-01-25 16:54 mario_castello Relationship deleted related to 0035034
2017-01-25 16:55 mario_castello Relationship added causes 0035034


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker