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

Initialise UpdatedAt for stash ids #5680

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

WithoutPants
Copy link
Collaborator

If a stash ids are imported and the updatedAt field is not set, then this field is initialised at zero time, which graphql interprets as null, causing a UI error. This PR initialises the field when inserting rows to epoch time if it is not set.

Resolves #5563

Fixes null time error after importing stash id without updatedAt set
@WithoutPants WithoutPants added the bug Something isn't working label Feb 25, 2025
@WithoutPants WithoutPants added this to the Version 0.28.0 milestone Feb 25, 2025
@WithoutPants WithoutPants merged commit b8af147 into stashapp:develop Feb 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report] Importing metadata with stash ids from old versions breaks pages
1 participant