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

🪲 Fixes accessing deleted tags on adventure #5580

Merged
merged 6 commits into from
May 30, 2024

Conversation

jpelay
Copy link
Member

@jpelay jpelay commented May 28, 2024

Checks if the tag is different than None.

Fixes #5579

How to test

The best way would be to open an adventure, add a tag, and then delete it in the DB. Reload the server and you should be able to keep editing the adventure.

@jpelay jpelay requested a review from hasan-sh May 28, 2024 19:22
@hasan-sh
Copy link
Contributor

Can we instead do the check here to make it generic?

return [self.read_tag(name) for name in tags]

if name

@jpelay
Copy link
Member Author

jpelay commented May 29, 2024

Can we instead do the check here to make it generic?

return [self.read_tag(name) for name in tags]

if name

Done

Copy link
Contributor

mergify bot commented May 30, 2024

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

Copy link
Contributor

mergify bot commented May 30, 2024

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit b165fe8 into main May 30, 2024
12 checks passed
@mergify mergify bot deleted the fix_customize_adventure_error branch May 30, 2024 15:52
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.

🪲 Issue with saving adventure
2 participants