Skip to content

Segment not being decoded properly. #62

@naveenjr7

Description

@naveenjr7

By decoding the given string DBABL~CAAAAAAAAA.Q on latest version(3.2.0) , version value for usNatV1 section should come as 2 instead default value (1) is being returned.

GppModel gppModel = new GppModel(gppString);
UsNatV1 usNatV1 = gppModel.getUsNatV1Section();
int version = usNatV1.getVersion(); 
System.out.println(version); // getting 1 instead of 2

Getting expected version value as 2 before updating to version 3.2.0:
{ -"usnatv1": { "Version": 2, "SharingNotice": 0, "SaleOptOutNotice": 0, "SharingOptOutNotice": 0, "TargetedAdvertisingOptOutNotice": 0, "SensitiveDataProcessingOptOutNotice": 0, "SensitiveDataLimitUseNotice": 0, "SaleOptOut": 0, "SharingOptOut": 0, "TargetedAdvertisingOptOut": 0, +"SensitiveDataProcessing": [ … ], +"KnownChildSensitiveDataConsents": [ … ], "PersonalDataConsents": 0, "MspaCoveredTransaction": 0, "MspaOptOutOptionMode": 0, "MspaServiceProviderMode": 0, "GpcSegmentType": 1, "Gpc": false } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    reviewedFor library maintainers only. Indicates that this issue was reviewed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions