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

Fix application instance deletion after_update #1616

Merged
merged 1 commit into from Jul 11, 2023

Conversation

arbulu89
Copy link
Contributor

Description

Fix the application_instance deletion.
With the old code, there was a risk that the after_update could try to get a non existing SapSystemReadModel (SAP system not registered yet because some App instance was missing). This causes a breaking failure.
Now, the instance deletion data is retrieved before the deletion and passed to the after_update in the 3rd argument.

@arbulu89 arbulu89 added the bug Something isn't working label Jul 11, 2023
@arbulu89 arbulu89 marked this pull request as ready for review July 11, 2023 07:00
Copy link
Contributor

@rtorrero rtorrero left a comment

Choose a reason for hiding this comment

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

Nice catch @arbulu89, LGTM

@arbulu89 arbulu89 merged commit 74402c1 into main Jul 11, 2023
18 checks passed
@arbulu89 arbulu89 deleted the fix-application-instance-deletion branch July 11, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

4 participants