[QFJ-627] Starting a ThreadedSocketInitiator overwrites the default settings Created: 12/Aug/11 Updated: 13/Feb/14 Resolved: 13/Feb/14 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.5.0 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Thomas Wölfle | Assignee: | Laurent Danesi |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Environment: |
kubuntu 11.04 |
Description |
When starting an initiator via 'initiator.start()' the default section of the provided SessionSettings are overwitten in the method 'SessionSettings.getSessionProperties(SessionID, boolean) in line 175. This results in a corrupted session settings configuration. I.e. in case the default section defines a custom data dictionary 'default_dict', the first session section defines some other data dictionary 'dict1' and a second session section defines no data dictionary then the session properties for the second session will contain the 'dict1' data dictionary instead of the 'default_dict' data dictionary. This scenario can be reproduced with the following JUnit test: package test; import java.io.IOException; import org.junit.Test; import quickfix.Application; public class FIXSessionSettingsModificationTest { } |
Comments |
Comment by Laurent Danesi [ 19/Oct/11 ] |
Duplicates |