Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOMA: Fix domains with custom conversion exit #5998

Merged
merged 2 commits into from
Jan 17, 2023
Merged

Conversation

mbtools
Copy link
Member

@mbtools mbtools commented Jan 16, 2023

Deserializing a domain that is using a custom conversion exit (custom CONVERSION_EXIT_<name>_IN|OUTPUT functions) is failing on the initial pull since the functions do not exits.

image

Fix is using two-phase approach:

  1. DDIC phase:
    If function does not exit, remove the exit function
  2. LATE phase:
    If function was removed, change it to the correct exit function

New test repo: https://github.com/abapGit-tests/DOMA_with_exit

Deserializing a domain that is using a custom conversion exit (custom `CONVERSION_EXIT_<name>_IN|OUTPUT` functions) is failing on the initial pull since the functions do not exits.

Fix is using two-phase approach: 
1. DDIC phase:
    If function does not exit, remove the exit function
2. LATE phase
    If function was removed, change it to the correct exit function

New test repo: https://github.com/abapGit-tests/DOMA_with_exit
@mbtools mbtools added serialization Translate between object types and files bug Something isn't working labels Jan 16, 2023
mbtools added a commit that referenced this pull request Jan 16, 2023
Refactor handling of dependencies on exit function (using same methods as `DOMA` #5998). This avoids activating the search help twice if the exit function already exists.
Copy link
Member

@christianguenter2 christianguenter2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mbtools mbtools merged commit 1a5199a into main Jan 17, 2023
@mbtools mbtools deleted the mbtools/doma_with_exit branch January 17, 2023 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working serialization Translate between object types and files
Development

Successfully merging this pull request may close these issues.

None yet

2 participants