[QFJ-358] field CxlType changed from StringField to CharField Created: 27/Oct/08 Updated: 26/Apr/11 Resolved: 26/Apr/11 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | 1.3.2, 1.3.3 |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | Christoph John | Assignee: | Unassigned |
Resolution: | Not a bug | Votes: | 0 |
Labels: | None |
Description |
Hi, I have noticed that the type of the field CxlType has changed to a CharField whereas it was a StringField before (until 1.3.1). Was this change intentional or is it a bug? Thanks, |
Comments |
Comment by Toli Kuznets [ 27/Oct/08 ] |
Christoph, this may be something to do with the change made for However, this was done in 1.2.1, so not sure if it has something to do with the problems you are seeing. |
Comment by Christoph John [ 27/Oct/08 ] |
Hi, the customer is using FIX4.0. Regards, |
Comment by Steve Bate [ 27/Oct/08 ] |
The change was intentional. The QuickFIX JNI API uses CharField as the subclass of CxlType. After a bug was fixed in the ApiCompatibilityTest unit test suite, the inconsistency between QFJ and QF JNI caused failing tests. After looking at it some more, I see that the QF XML specifications were (and are) inconsistent with the generated code. The QF project version controls its generated code so it appears the data dictionary XML changed years ago but the class was never updated in version control. The current situation is that for the JNI code, the XML says the field is a StringField and the Java code says it's a CharField. There are a few options here. We can request a bug fix for the JNI code, I can change the field type back to STRING and disable the failing compatibility test, or we can leave it the way it is. Now that I release the QF JNI code is not consistent with the QF XML, I'd prefer option #1 or #2. |
Comment by Christoph John [ 28/Oct/08 ] |
I think since CharField is in line with the FIX specification my opinion is that QF/J and JNI should treat CxlType as CharField. |
Comment by Steve Bate [ 26/Apr/11 ] |
CxlType CharFields are correct per the FIX specification. |