Skip to content

Populate DefaultApplVerID (1137) on FIXT.1.1 logon - #19

Merged
GaryHughes merged 1 commit into
GaryHughes:masterfrom
sgolev:fix-default-applverid
Sep 24, 2026
Merged

GaryHughes merged 1 commit into
GaryHughes:masterfrom
sgolev:fix-default-applverid

Conversation

@sgolev

@sgolev sgolev commented Sep 21, 2026

Copy link
Copy Markdown

Problem

DefaultApplVerID (1137) is sent empty, though required on a FIXT.1.1 logon. Thus, FixClient cannot log on to any counterparty that validates the tag.

Cause

Session.Logon() writes the tag straight from Dictionary.Version.ApplVerID, which is a stub returning "". However, it was implemented in the previous versions of FixClient:

public string ApplVerID
{
get
{
if (!Enum.TryParse(SanitisedBeginString, out Dictionary.FIX_5_0SP2.ApplVerID result))
return null;
return Convert.ToChar(result).ToString();
}
}

Fix

Resolve the code from the generated ApplVerID field values. This restores the original behaviour.

@GaryHughes
GaryHughes self-requested a review September 22, 2026 11:35
@GaryHughes GaryHughes self-assigned this Sep 22, 2026
@GaryHughes
GaryHughes merged commit a5f256c into GaryHughes:master Sep 24, 2026
1 check failed
@GaryHughes

Copy link
Copy Markdown
Owner

Thanks for the contribution @sgolev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants