Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0029332 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | major | always | 2015-03-18 12:14 | 2015-03-31 18:52 | |||||||
Reporter | Orekaria | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0029332: Performance: LogClient should not persist until the business layer has persisted | |||||||||||
Description | Performance: LogClient should not persist until the business layer has persisted Saving log to the database while business operations are being held, negatively affects performance The only benefit would be if the log would be instantly persisted in the server which is not our scenario | |||||||||||
Steps To Reproduce | In the 'ob-dal.js' file Add this lines in the ob.dal.save method: OB.Data.localDB.transaction(function (tx) { console.error("ob.dal.save " , sql, params); try { tx.executeSql(sql, params, silentFunction(success), function (txError, e) { executeSqlErrorHandler('error', "OB.Dal.save: table", tableName, txError, e); Go to the WebPOS Log in Verify that the log is populated with log client database saves in between business database saves | |||||||||||
Proposed Solution | Brain storm - Save the log to the localStorage and flush it when the 'dataSynchronized' event of the SynchronizationHelper has fired - Do not use the ob.dal.save for the logclient and remove all the already introduced exceptions because of this | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||||||||||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2015-03-18 12:14 | Orekaria | New Issue | |
2015-03-18 12:14 | Orekaria | Assigned To | => Retail |
2015-03-18 12:14 | Orekaria | Triggers an Emergency Pack | => No |
2015-03-18 12:17 | Orekaria | Relationship added | related to 0029277 |
2015-03-18 13:31 | Orekaria | Relationship replaced | depends on 0029277 |
2015-03-18 13:31 | Orekaria | Relationship added | related to 0029102 |
2015-03-20 17:27 | Orekaria | Relationship added | related to 0029363 |
2015-03-24 17:51 | Orekaria | Relationship added | blocks 0029348 |
2015-03-25 17:57 | Orekaria | Relationship replaced | has duplicate 0029348 |
2015-03-27 17:00 | Orekaria | Relationship added | depends on 0029396 |
2015-03-31 09:57 | Orekaria | Relationship added | has duplicate 0028504 |
2015-03-31 18:52 | Orekaria | Relationship deleted | related to 0029102 |
2015-03-31 19:00 | Orekaria | Relationship replaced | blocks 0029396 |
Copyright © 2000 - 2009 MantisBT Group |