Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034508Retail ModulesStoreServerpublic2016-11-14 23:122016-11-22 12:46
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR17Q1 
AugustoMauch
No
No
0034508: Prevent warning/info message in log in case of cancel and replace
Cancel and replace will change the documentnumber by adding a suffix to the document number. For example if the original order has this document number: N00101/0275148 then a cancell replace will use the document number N00101/0275148-1 for the replacing document number.

This however causes the system to print a warning/info message in the log:
OrderDocumentNoWriterFilterAdapter - Could not parse document no N00101/0275148-1, not using it to set last assigned number

This message is created by this [1] code. As the code already notes the cancel and replace should be ignored.

https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/c31aedba29ba/src/org/openbravo/retail/storeserver/synchronization/OrderDocumentNoWriterFilterAdapter.java#l150 [^]
Multi-server install
Do cancel & replace
check the log
Change the log of the message to debug level
No tags attached.
Issue History
2016-11-14 23:12mtaalNew Issue
2016-11-14 23:12mtaalAssigned To => mtaal
2016-11-14 23:12mtaalOBNetwork customer => No
2016-11-14 23:12mtaalTriggers an Emergency Pack => No
2016-11-14 23:12mtaalReview Assigned To => AugustoMauch
2016-11-14 23:43hgbotCheckin
2016-11-14 23:43hgbotNote Added: 0091485
2016-11-14 23:43hgbotStatusnew => resolved
2016-11-14 23:43hgbotResolutionopen => fixed
2016-11-14 23:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/dc57a9fb7c64cd6411eca0f18f5de982ce60b445 [^]
2016-11-22 12:46AugustoMauchNote Added: 0091734
2016-11-22 12:46AugustoMauchStatusresolved => closed

Notes
(0091485)
hgbot   
2016-11-14 23:43   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: dc57a9fb7c64cd6411eca0f18f5de982ce60b445
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Nov 14 23:43:08 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/dc57a9fb7c64cd6411eca0f18f5de982ce60b445 [^]

Fixes issue 34508: Prevent warning/info message in log in case of cancel and replace
Log message in debug mode only

---
M src/org/openbravo/retail/storeserver/synchronization/OrderDocumentNoWriterFilterAdapter.java
---
(0091734)
AugustoMauch   
2016-11-22 12:46   
Code reviewed and verified in [1]@dc57a9fb7c64

[1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization [^]