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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034508
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServerminorhave not tried2016-11-14 23:122016-11-22 12:46
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiondc57a9fb7c64
ProjectionnoneETAnoneTarget VersionRR17Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned ToAugustoMauch
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034508: Prevent warning/info message in log in case of cancel and replace

DescriptionCancel 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 [^]
Steps To ReproduceMulti-server install
Do cancel & replace
check the log
Proposed SolutionChange the log of the message to debug level
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0091485)
hgbot (developer)
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 (administrator)
2016-11-22 12:46

Code reviewed and verified in [1]@dc57a9fb7c64

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

- Issue History
Date Modified Username Field Change
2016-11-14 23:12 mtaal New Issue
2016-11-14 23:12 mtaal Assigned To => mtaal
2016-11-14 23:12 mtaal OBNetwork customer => No
2016-11-14 23:12 mtaal Triggers an Emergency Pack => No
2016-11-14 23:12 mtaal Review Assigned To => AugustoMauch
2016-11-14 23:43 hgbot Checkin
2016-11-14 23:43 hgbot Note Added: 0091485
2016-11-14 23:43 hgbot Status new => resolved
2016-11-14 23:43 hgbot Resolution open => fixed
2016-11-14 23:43 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/dc57a9fb7c64cd6411eca0f18f5de982ce60b445 [^]
2016-11-22 12:46 AugustoMauch Note Added: 0091734
2016-11-22 12:46 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker