Skip to content

[ MOB-23514] Fix - event data sent in Optimize Response Event to update proposition api callback#147

Merged
akhiljain1907 merged 2 commits intoadobe:dev-v5.6.0from
akhiljain1907:fix/eventData
Jun 12, 2025
Merged

[ MOB-23514] Fix - event data sent in Optimize Response Event to update proposition api callback#147
akhiljain1907 merged 2 commits intoadobe:dev-v5.6.0from
akhiljain1907:fix/eventData

Conversation

@akhiljain1907
Copy link
Copy Markdown
Contributor

@akhiljain1907 akhiljain1907 commented Jun 11, 2025

This PR solves the issue where proposition as well as error data sent in Optimize Response event from processUpdatePropositions is not getting reflected in Assurance. This is because we need to encode and send our event data as serializable in Optimize Response. Hence we fixed eventData in responseEvent send to update proposition public api callback using asDictionary method to encode data and event.getTypedData to retrieve data using decoder.

AEPOptimizeError class has been conformed to Codable protocol and it's conformance Implementation has been added in order to pass and retrieve it as serialized data.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

…i callback using asDictionary method to encode data and event.getTypedData to retreive data using decoder.
@akhiljain1907 akhiljain1907 changed the base branch from main to dev-v5.6.0 June 12, 2025 09:21
@akhiljain1907 akhiljain1907 merged commit 4a016df into adobe:dev-v5.6.0 Jun 12, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants