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

A few bug fixes #354

Merged
merged 2 commits into from
Jun 11, 2024
Merged

A few bug fixes #354

merged 2 commits into from
Jun 11, 2024

Conversation

kirkkwang
Copy link
Contributor

🐛 Add guard for nil original_file

21100a9

If ever the original_file hasn't been set, we want to guard against a
NoMethodError for NilClass.

🐛 Remove form keys from is_child

2e4af92

Because we have the form keys when the work gets created, is_child is
set to '' and not nil. This causes any queries that look for
is_child being nil to not work.

If ever the original_file hasn't been set, we want to guard against a
NoMethodError for NilClass.
Because we have the form keys when the work gets created, `is_child` is
set to `''` and not `nil`. This causes any queries that look for
`is_child` being `nil` to not work.
@kirkkwang kirkkwang merged commit 805191e into main Jun 11, 2024
9 of 10 checks passed
@kirkkwang kirkkwang deleted the a-few-bug-fixes branch June 11, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants