Skip to content

Conversation

philipwhiuk
Copy link
Contributor

@philipwhiuk philipwhiuk commented Feb 25, 2020

Fixes #260

@chrjohn chrjohn changed the title Only check for AppVerID on logon and app messages Only check for ApplVerID on logon and app messages Feb 26, 2020
@chrjohn chrjohn added this to the QFJ 2.2.0 milestone Mar 23, 2020
quickfix.Message message;
DataDictionary payloadDictionary;
final quickfix.Message message;
final DataDictionary payloadDictionary;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added somefinal here to make it look similar to the surrounding code.

final boolean doValidation = payloadDictionary != null;
final boolean validateChecksum = session.isValidateChecksum();

message = messageFactory.create(beginString, applVerID, msgType);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled this out of the if-else-block since the assignment was the same.

@chrjohn
Copy link
Member

chrjohn commented May 4, 2020

Hi @philipwhiuk, I have added one commit. If it is OK with you I am going to merge this.

@chrjohn chrjohn changed the title Only check for ApplVerID on logon and app messages Only check for ApplVerID on Logon and application messages May 25, 2020
@chrjohn chrjohn merged commit a8725ad into quickfix-j:master May 25, 2020
jli8000 pushed a commit to jli8000/quickfixj that referenced this pull request Sep 22, 2020
* Only check for AppVerID on logon and app messages
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.

We incorrectly check for ApplVerID on admin messages
2 participants