Closed ym-corey closed 2 months ago
If you attempt to access the gppModel.getTcfEuV2Section().getPurposeConsents()
you receive the following ClassCastException:
java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class java.lang.Integer (java.lang.Boolean and java.lang.Integer are in module java.base of loader 'bootstrap')
Fixed in 3.0.7
Hi,
This code:
Results in the following exception:
It seems that PURPOSE_CONSENTS is expecting a
List<Boolean>
when being set, however the return API (gppModel.getTcfEuV2Section().getPurposeConsents()
) tries to respond with aList<Integer>
. But the values are actually Boolean values (as that is what we set).