discourse/app/jobs/onceoff
Robin Ward 93c25070fa
FIX: In FastImage 2.2.2 an error is raised with a `nil` path (#11954)
* FIX: In FastImage 2.2.2 an error is raised with a `nil` path

Sometimes Discourse.store.path_for would return `nil`, which the job
handled gracefully before, but raises an error with the new version of
the gem.

Note the logic of this job is a bit awkward since it depends on `nil`
being a string, but at least now it's no longer filling logs with
errors.

* Update app/jobs/onceoff/fix_invalid_gravatar_uploads.rb

Co-authored-by: Bianca Nenciu <nbianca@users.noreply.github.com>

Co-authored-by: Bianca Nenciu <nbianca@users.noreply.github.com>
2021-02-03 11:45:12 -05:00
..
clean_up_post_timings.rb
clean_up_sidekiq_statistic.rb
clean_up_user_export_topics.rb
clear_width_and_height.rb
correct_missing_dualstack_urls.rb
create_tags_search_index.rb
fix_encoded_category_slugs.rb
fix_encoded_topic_slugs.rb
fix_featured_link_for_topics.rb
fix_invalid_gravatar_uploads.rb FIX: In FastImage 2.2.2 an error is raised with a `nil` path (#11954) 2021-02-03 11:45:12 -05:00
fix_invalid_upload_extensions.rb
fix_out_of_sync_user_uploaded_avatar.rb
fix_post_search_data_after_default_locale_rename.rb FIX: move post_search_data migration into onceoff job (#11851) 2021-01-26 16:29:00 +01:00
fix_posts_read.rb
fix_primary_emails_for_staged_users.rb
fix_retro_anniversary.rb
fix_s3_etags.rb
grant_emoji.rb FEATURE: Nokogumbo (#9577) 2020-05-05 13:46:57 +10:00
grant_first_reply_by_email.rb
grant_onebox.rb FEATURE: Nokogumbo (#9577) 2020-05-05 13:46:57 +10:00
init_category_tag_stats.rb
migrate_censored_words.rb
migrate_custom_emojis.rb
migrate_featured_links.rb
migrate_group_flair_images.rb FIX: broken query if upload id is missing (#9900) 2020-05-27 12:39:30 -06:00
migrate_tagging_plugin.rb
migrate_upload_extensions.rb
onceoff.rb
post_uploads_recovery.rb
remove_old_auto_close_jobs.rb
retro_grant_anniversary.rb
retro_recent_time_read.rb
vacate_legacy_prefix_backups.rb new S3 backup layout (#9830) 2020-05-29 00:28:23 +05:30