[QFJ-629] CLONE - Regression: QFJ-419 change forces ReconnectInterval to be in DEFAULT section Created: 24/Aug/11  Updated: 15/Nov/12  Resolved: 24/Aug/11

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: 1.5.0
Fix Version/s: 1.5.1

Type: Bug Priority: Default
Reporter: Kenny Sy Assignee: Eric Deshayes
Resolution: Fixed Votes: 0
Labels: None


 Description   

I'm testing against the SVN trunk and one of my working configs failed with "ReconnectInterval not defined". This config has the ReconnectInterval defined only in the [SESSION] sections, and not in the [DEFAULT]. Simple one-line fix; see below.

Index: core/src/main/java/quickfix/DefaultSessionFactory.java
===================================================================
— core/src/main/java/quickfix/DefaultSessionFactory.java (revision 950)
+++ core/src/main/java/quickfix/DefaultSessionFactory.java (working copy)
@@ -306,7 +306,7 @@
private int[] getLogonIntervalsInSeconds(SessionSettings settings, SessionID sessionID) throws ConfigError {
if (settings.isSetting(sessionID, Initiator.SETTING_RECONNECT_INTERVAL)) {
try

{ - String raw = settings.getString(Initiator.SETTING_RECONNECT_INTERVAL); + String raw = settings.getString(sessionID, Initiator.SETTING_RECONNECT_INTERVAL); int[] ret = SessionSettings.parseSettingReconnectInterval(raw); if (ret != null) return ret; }

catch (Throwable e) {



 Comments   
Comment by Kenny Sy [ 24/Aug/11 ]

The same problem happen in 1.5.1.

Comment by Eric Deshayes [ 24/Aug/11 ]

Fixed in rev#1050

Generated at Sat Nov 23 14:18:36 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.