-
Notifications
You must be signed in to change notification settings - Fork 655
Milestone
Description
Describe the bug
We check for ApplVerID even on session level (admin) messages. We only exclude logon from this.
Per the FIXT.1.1 spec session level messages aren't versioned using the ApplVerID. So we shouldn't check them.
We don't even need the ApplVerID for the session level messages as we then use the session dictionary for validating the message.
To Reproduce
Apply MessageUtils.parse
on a logout message.
Expected behavior
We should process the message regardless.
Actual behavior*
We throw an InvalidMessage
Exception in MessageUtils.getApplVerID
system information:
- OS: Linux
- Java version: Java 8
- QFJ Version: 2.2.0-SNAPSHOT
Additional context
This is commonly seen in the real world in the following scenario:
- Logon
- Logout with no ApplVerID due to bad sequence numbers with no default set for the session
InvalidMessage
thrown
Metadata
Metadata
Assignees
Labels
No labels