Title: CREATED and LAST_UPDATED are not getting set · Issue #51 · IABTechLab/iabgpp-java · GitHub
Open Graph Title: CREATED and LAST_UPDATED are not getting set · Issue #51 · IABTechLab/iabgpp-java
X Title: CREATED and LAST_UPDATED are not getting set · Issue #51 · IABTechLab/iabgpp-java
Description: Hi all, I am trying to encode to a GPP string using this code: gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.VERSION, 2); gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CMP_ID, consentData.getCmpId()); gppModel.setFieldValue(TcfEu...
Open Graph Description: Hi all, I am trying to encode to a GPP string using this code: gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.VERSION, 2); gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CMP_ID, consentData.g...
X Description: Hi all, I am trying to encode to a GPP string using this code: gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.VERSION, 2); gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CMP_ID, consentData.g...
Opengraph URL: https://github.com/IABTechLab/iabgpp-java/issues/51
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CREATED and LAST_UPDATED are not getting set","articleBody":"Hi all,\r\n\r\nI am trying to encode to a GPP string using this code:\r\n```\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.VERSION, 2);\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CMP_ID, consentData.getCmpId());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CMP_VERSION, consentData.getCmpVersion());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CONSENT_SCREEN, consentData.getConsentScreenID());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CONSENT_LANGUAGE, consentData.getConsentLanguage());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.VENDOR_LIST_VERSION,\r\n gvlSettings.getGvlVendorListVersion());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.POLICY_VERSION, gvlSettings.getGvlTcfPolicyVersion());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.IS_SERVICE_SPECIFIC, consentData.isIsServiceSpecific());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.USE_NON_STANDARD_STACKS,\r\n consentData.isShouldUseNonStandardStacks());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.PURPOSE_ONE_TREATMENT,\r\n consentData.isPurposeOneTreatment());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.PUBLISHER_COUNTRY_CODE,\r\n consentData.getPublisherCountryCode());\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CREATED,\r\n ZonedDateTime.of(2024, 1, 1, 0, 0, 0, 0, ZoneId.of(\"UTC\")));\r\ngppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.LAST_UPDATED,\r\n ZonedDateTime.of(2024, 1, 1, 0, 0, 0, 0, ZoneId.of(\"UTC\")));\r\n```\r\n\r\nFor the consent that I am providing, I am getting following string:\r\n\r\n```\r\nDBABMA~CQBE28AQBE28ADIABCDEAbEgAP4AAAAAABagHmABIAJEaSFgIXB1QCMAEYAURBgBAAAgBAAAACAAAAIAIAACEGAQIAQAACACEAAAAAIBAAAgAAAAAUAAQAAAAABAAAAAAAAAICAAAAAAAAAAAAAgAAAAAAAAgAAAAAAAiABAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAA.YAAAAAAAAAAA\r\n```\r\n\r\nIn this string, the creation and last updated date is always the current date instead of the date I am providing. What am I doing wrong?","author":{"url":"https://github.com/aagrawal207","@type":"Person","name":"aagrawal207"},"datePublished":"2024-07-01T01:11:08Z","url":"https://github.com/IABTechLab/iabgpp-java/issues/51"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:60e4a7af-0248-3ab8-c89a-8d24a13e23e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B05E:1A3D7B:1ABC9D:23A12B:6AF64DC9 |
| html-safe-nonce | 9670e3dbc540f761fdc3027104884e53b3640d42969edd1f8b2687a00f94af0d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDVFOjFBM0Q3QjoxQUJDOUQ6MjNBMTJCOjZBRjY0REM5IiwidmlzaXRvcl9pZCI6Ijc3OTE3ODIzNTcxMTQ0NDExNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fee5f8326e2318bcfd2584f9ff75636168625ea64fed506236fab7c3ef0b37d5 |
| hovercard-subject-tag | issue:2382565845 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IABTechLab/iabgpp-java/51/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf24fecac97ff8a7bda9c0f196835bca47baa39020b8a710ae7599f1ceccd61e/IABTechLab/iabgpp-java/issues/51 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf24fecac97ff8a7bda9c0f196835bca47baa39020b8a710ae7599f1ceccd61e/IABTechLab/iabgpp-java/issues/51 |
| og:image:alt | Hi all, I am trying to encode to a GPP string using this code: gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.VERSION, 2); gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.CMP_ID, consentData.g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aagrawal207 |
| hostname | github.com |
| expected-hostname | github.com |
| None | f08f841c97bca81898b33b24705801fbf36c27aa3a76d422631761ce578f7b63 |
| turbo-cache-control | no-preview |
| go-import | github.com/IABTechLab/iabgpp-java git https://github.com/IABTechLab/iabgpp-java.git |
| octolytics-dimension-user_id | 82903538 |
| octolytics-dimension-user_login | IABTechLab |
| octolytics-dimension-repository_id | 538620496 |
| octolytics-dimension-repository_nwo | IABTechLab/iabgpp-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 538620496 |
| octolytics-dimension-repository_network_root_nwo | IABTechLab/iabgpp-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b946aa396e8129468b84468b6046f18d957f446c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width