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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029277
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSminoralways2015-03-13 19:412015-03-18 12:17
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR15Q2
StatusclosedFix in branchFixed in SCM revision3c2c77418b5d
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

0029277: Stabilization: Prevent LogClient logging itself in an infinite loop

DescriptionStabilization: Prevent LogClient logging itself in an infinite loop
Steps To ReproduceIn 'LogClientLoader.java', 'saveLogClient' method, add an throw exception just before the DAL flush
Verify that the error is being returned to the client, and that the client is returning again the error to the server, ad infinitum

This flush error happens when the logclient tries to save a log line with an existing logclient id
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0029102RR15Q3 closedOrekaria Stabilization: RR15Q2 log related additions 
related to defect 0028964 closedmalsasua It is possible that we are losing log traces in client side 
depends on feature request 0029279 closedOrekaria Add a method to report user logged status 
related to defect 0029336 closedOrekaria When the LogClientLoader raises a duplicated id error, the error is sent back to the client 
blocks defect 0029332 newRetail Performance: LogClient should not persist until the business layer has persisted 
blocks defect 0029363 closedOrekaria Stabilization: LogClient should not flush to the server if the application is busy 
blocks feature request 0029377RR15Q3 closedOrekaria Stabilization: RR15Q2 related 
blocks defect 0028504RR15Q3 closedmarvintm Log Client has a really bad performance and it is really difficult to work 

-  Notes
(0075584)
hgbot (developer)
2015-03-13 22:59

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: eb6ba4057dbdc2b58a0adb511e1493ee9874477f
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 13 20:19:29 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/eb6ba4057dbdc2b58a0adb511e1493ee9874477f [^]

Fixes issue 29277: LogClient does not save its own messages

The log logic must not log its own logic because it causes infinite message loop

---
M src/org/openbravo/mobile/core/utils/LogClientLoader.java
M web/org.openbravo.mobile.core/source/utils/logClientSyncUtils.js
---
(0075588)
hgbot (developer)
2015-03-14 00:03

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3c2c77418b5dac4fd18865b19af9acc06641172c
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Mar 14 00:02:45 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3c2c77418b5dac4fd18865b19af9acc06641172c [^]

Fixes issue 29277: LogClient does not save its own messages (II)

- fixed incorrect escape char
- added missing return

---
M web/org.openbravo.mobile.core/source/utils/logClientSyncUtils.js
---
(0075591)
hgbot (developer)
2015-03-14 03:49

Repository: tools/automation/pi-mobile
Changeset: a0c86a5539f27387df45f22d6809d9f78537c3e4
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 13 23:13:22 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a0c86a5539f27387df45f22d6809d9f78537c3e4 [^]

Related to issue 28933, verifies issue 29277: Added 'I29277_LogClientCircular' test (II)

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I29277_LogClientCircular.java
---
(0075600)
hgbot (developer)
2015-03-15 21:12

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e7d2c648bfdcfb911e458b5519eeaaec9041f9e1
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Mar 15 21:11:02 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e7d2c648bfdcfb911e458b5519eeaaec9041f9e1 [^]

Partially backed out issue 29277: Removed the 'ConstraintViolationException' catcher when flushing

---
M src/org/openbravo/mobile/core/utils/LogClientLoader.java
---

- Issue History
Date Modified Username Field Change
2015-03-13 19:41 Orekaria New Issue
2015-03-13 19:41 Orekaria Assigned To => Orekaria
2015-03-13 19:41 Orekaria Triggers an Emergency Pack => No
2015-03-13 22:43 Orekaria Relationship added related to 0029102
2015-03-13 22:59 hgbot Checkin
2015-03-13 22:59 hgbot Note Added: 0075584
2015-03-13 22:59 hgbot Status new => resolved
2015-03-13 22:59 hgbot Resolution open => fixed
2015-03-13 22:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/eb6ba4057dbdc2b58a0adb511e1493ee9874477f [^]
2015-03-14 00:03 hgbot Checkin
2015-03-14 00:03 hgbot Note Added: 0075588
2015-03-14 00:03 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/eb6ba4057dbdc2b58a0adb511e1493ee9874477f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3c2c77418b5dac4fd18865b19af9acc06641172c [^]
2015-03-14 03:49 hgbot Checkin
2015-03-14 03:49 hgbot Note Added: 0075591
2015-03-15 21:06 Orekaria Relationship added related to 0028964
2015-03-15 21:12 hgbot Checkin
2015-03-15 21:12 hgbot Note Added: 0075600
2015-03-16 09:59 Orekaria Relationship added depends on 0029279
2015-03-16 18:29 Orekaria Summary Stabilization: Circular LogClient logging => Stabilization: Prevent LogClient logging itself in an infinite loop
2015-03-16 18:29 Orekaria Description Updated View Revisions
2015-03-17 12:52 marvintm Review Assigned To => marvintm
2015-03-17 12:52 marvintm Status resolved => closed
2015-03-17 12:52 marvintm Fixed in Version => RR15Q2
2015-03-18 12:17 Orekaria Relationship added related to 0029332
2015-03-18 12:43 Orekaria Relationship added related to 0029336
2015-03-18 13:31 Orekaria Relationship replaced blocks 0029332
2015-03-20 17:27 Orekaria Relationship added blocks 0029363
2015-03-23 14:54 Orekaria Relationship added blocks 0029377
2015-03-31 09:58 Orekaria Relationship added blocks 0028504
2015-08-28 14:04 Orekaria Relationship added blocks 0030695


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker