[QFJ-172] SessionID.fromString(...) not setting 'id' property Created: 09/May/07  Updated: 04/Jul/07  Resolved: 10/May/07

Status: Closed
Project: QuickFIX/J
Component/s: Build
Affects Version/s: 1.1.0
Fix Version/s: 1.2.0

Type: Bug Priority: Major
Reporter: Tommy Hannon Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None


 Description   

'fromString' method did not completely work as the 'id' property is not set. I confirmed this by looking at the source code. IMHO, fromString(...) should be a static method returning a new SessionID object.



 Comments   
Comment by Tommy Hannon [ 09/May/07 ]

I have confirmed this workaround...

SessionID sessionID = new SessionID();
sessionID.fromString(sessionIDString);
sessionID = new SessionID(sessionID.getBeginString(), sessionID.getSenderCompID(), sessionID.getTargetCompID());

Comment by Steve Bate [ 10/May/07 ]

I added some unit tests and fixed the problem. Thanks for the report.

Generated at Sat Nov 23 07:21:47 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.