Skip to content

Conversation

@ReimarBauer
Copy link
Member

@ReimarBauer ReimarBauer commented Dec 10, 2024

Purpose of PR?:

None should not become str 'None'
Fixes #2586

Copy link
Collaborator

@matrss matrss left a comment

Choose a reason for hiding this comment

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

LGTM. But shouldn't this target stable, as the issue exists there too? Also, should a migration script be included that fixes wrongly created database entries?

@ReimarBauer
Copy link
Member Author

Absolutly. My fault. I thought I introduced that shortly.

@ReimarBauer
Copy link
Member Author

ReimarBauer commented Dec 16, 2024

@matrss The migration will be adressed later.
#2590

With the old solution a migration is rather ugly and I don't want to add a new function which is in the next major pointless.

Also that it is now handled "None" here as string did not crash our usecases.

@ReimarBauer ReimarBauer merged commit b2d2089 into Open-MSS:stable Dec 18, 2024
8 of 11 checks passed
@ReimarBauer ReimarBauer deleted the i2586 branch December 18, 2024 18:36
ReimarBauer added a commit to ReimarBauer/MSS that referenced this pull request Jan 10, 2025
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.

type casting of None in models.Changes to 'None' is wrong

2 participants