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 nil pointer issue #322

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

StefanH
Copy link

@StefanH StefanH commented Jul 5, 2024

Since version 1, when no record is found during processing, "process_#{column}_upload=" is called on it anyway, causing a nil pointer exception. In previous versions the record was just ignored. This restores that behaviour.

Since version 1, when no record is found during processing,
"process_#{column}_upload=" is called on it anyway, causing a nil
pointer exception. In previous versions the record was just ignored.
This restores that behaviour.
@gstokkink
Copy link

@lardawge currently an issue for us in production, appreciate if you could take a look 😄 Thanks for your hard work on this gem!

@lardawge
Copy link
Owner

Would there be use cases where raising an error would be a desired outcome?
It seems uncommon for an asset to be deleted between the saving and the job running.
Would it make sense to make this configurable?

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.

4 participants