Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037697 | Retail Modules | Web POS | public | 2017-06-19 19:18 | 2018-01-25 15:10 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR17Q3.3 | Fixed in Version | RR17Q3.3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | migueldejuana | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Support ticket | 47629 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037697: (Expected) duplicate pk on insert of Logclient apart from info message still logs 2* ERROR | |||||||||||
Description | LogClientLoader expects to see duplicate messages and logs + then ignores the duplicate row. However apart from that INFO message 2* ERROR are logged to openbravo.log including the full json message which in some customers is a huge amount of the ERROR's messages seen per day. Those 2*ERROR should be supressed. Example case: 70a8a81e 2017-06-19 11:50:33,164 [ajp-bio-127.0.0.1-8009-exec-171] ERROR org.hibernate.util.JDBCExceptionReporter - Batch entry 0 inser t into obmobc_logclient (AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, Deviceid, Msg, Loglevel, Cache_Sess ion_ID, Isonline, Obmobc_Logclient_ID) values ('AA', 'BB', 'Y', '2017-6-19 11:48:57.908000 -5:0:0', 'CC', '2017-6-19 11:50:33.161000 -5:0:0', 'CC', 'DEVICEID', 'runSyncProcess: synchronization successfully done; stackTrace: https://the.url/openbravo/web/js/gen/bd5 [^] 2e366338bc6dc386ed72358a97e05_WebPOS.js:1487:483', 'Info', 'DF929F87F1334E61BCDF9ABC23837689', 'Y', '9E51244B6472BA64D4C59580D19D1A00') was aborted. Call getNextException to see the cause. 70a8a81e 2017-06-19 11:50:33,164 [ajp-bio-127.0.0.1-8009-exec-171] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: duplicate key value violates unique constraint "obmobc_logclient_pk" Detail: Key (obmobc_logclient_id)=(9E51244B6472BA64D4C59580D19D1A00) already exists. 70a8a81e 2017-06-19 11:50:33,174 [ajp-bio-127.0.0.1-8009-exec-171] INFO org.openbravo.mobile.core.utils.LogClientLoader - Found duplicated log client message with id: 9E51244B6472BA64D4C59580D19D1A00. Ignoring | |||||||||||
Steps To Reproduce | . | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-01-22 15:21 | marvintm | Type | defect => backport | |||||||||
2018-01-22 15:21 | marvintm | Target Version | => RR17Q3.3 | |||||||||
2018-01-22 15:24 | hgbot | Checkin | ||||||||||
2018-01-22 15:24 | hgbot | Note Added: 0101848 | ||||||||||
2018-01-22 15:24 | hgbot | Status | scheduled => resolved | |||||||||
2018-01-22 15:24 | hgbot | Resolution | open => fixed | |||||||||
2018-01-22 15:24 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/77be95078aa45a3a1d621db07654da0f6337e6d5 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.mobile.core/rev/ea2b01369e1adc5e75852d63aefc40e25f0ce47c [^] | |||||||||
2018-01-22 15:24 | hgbot | Checkin | ||||||||||
2018-01-22 15:24 | hgbot | Note Added: 0101849 | ||||||||||
2018-01-22 15:25 | hgbot | Checkin | ||||||||||
2018-01-22 15:25 | hgbot | Note Added: 0101850 | ||||||||||
2018-01-25 11:28 | marvintm | Assigned To | gorka_gil => marvintm | |||||||||
2018-01-25 15:10 | migueldejuana | Review Assigned To | marvintm => migueldejuana | |||||||||
2018-01-25 15:10 | migueldejuana | Note Added: 0101945 | ||||||||||
2018-01-25 15:10 | migueldejuana | Status | resolved => closed | |||||||||
2018-01-25 15:10 | migueldejuana | Fixed in Version | => RR17Q3.3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|