Dictionary Id 0 (zero) vs 1 (one)
I load local file field dictionary, latest and greatest. Dictionary file looks like this in the header:
...
! Copyright Thomson Reuters 2017
!
!tag Filename RWF.DAT
!tag Desc RDF-D RWF field set
!tag Type 1
!tag Version 4.20.30
!tag Build 006
!tag Date 19-Oct-2017
!tag DictionaryId 1
!
...
(note the 'DictionaryId' tag)
With this I would expect FieldDictionary#getDictId() to return 1 after a successful load. But it doesn't!!
Here's a minimal example:
public class DictIdCheck {
public static void main(String[] args) {
FieldDictionary fDict = FieldDictionary.create();
System.out.println("Dictionary Id, before load (getDictId()) : " + fDict.getDictId());
FieldDictionary.readRDMFieldDictionary(fDict, args[0]);
FieldDictionary.readEnumTypeDef(fDict, args[1]);
System.out.println("Dictionary Id, after load (getDictId()) : " + fDict.getDictId());
System.out.println("Dictionary Id (property 'DictionaryId') : " + fDict.getFieldProperty("DictionaryId"));
}
}
which returns:
Dictionary Id, before load (getDictId()) : 0
Dictionary Id, after load (getDictId()) : 0
Dictionary Id (property 'DictionaryId') : 1
I'm using RFA Java 8.1.0.L1 (latest and greatest)
Is this behavior intentional or is it a bug ?
Best Answer
-
Hello @Lars-at-Addicticks
The RFA Java 8.1.2.L1 package includes a fix of this issue.
You can download the package from Downloads of Robust Foundation API (RFA) · Java .
0
Answers
-
Hello @Lars-at-Addicticks
Based on my test, it seems that FieldDictionary.getDictId() in RFA Java returns the value from a tag named "Id" not "DictionaryId" . My dictionary file added !tag Id 2:
!tag Filename RWF.DAT
!tag Desc RDF-D RWF field set
!tag Type 1
!tag Version 4.20.28
!tag Build 001
!tag Date 02-Feb-2017
!tag DictionaryId 1
!tag Id 2The output from running your given source code and the input is my dictionary file:
Dictionary Id, before load (getDictId()) : 0
Dictionary Id, after load (getDictId()) : 2
Dictionary Id (property 'DictionaryId') : 1It is possible that this is RFA Java bug because RFA C++ returns DictionaryId's value using a similar method.
This problem is needed to be investigated in depth to confirm if this is RFA Java bug or not from the development team. Hence, I have created a new case on behalf of you. It is case 06159302. Once I get any response from the development team, I will let you know via the email case 06159302.
0 -
The development team can reproduce the problem and they are working on it. If there is more update on this case, I will inform the client via email cas 06159302.
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 370 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛