Uploaded image for project: 'Archive of Our Own'
  1. AO3-4643

Errors are logged if a subscription is deleted before the batch with the alert is sent

    Details

    • Type: Improvement
    • Status: Deployed
    • Priority: Medium
    • Resolution: DeployedToBeta
    • Affects Version/s: 0.9.162
    • Fix Version/s: 0.9.166
    • Milestone:
      Internal 0.9
    • Difficulty:
      Medium
    • Roadmap:
      Subscription
    • Components:
      BackEnd

      Description

      Testing:

      subscribe to a work.
      update the work.
      delete the subscription
      After the notification would have been delivered go in to resque interface and see if you can find an error like:

      Worker
      ao3-app08:862 on MAILER at about 2 hours ago Retry or Remove
      Class
      UserMailer
      Arguments
      "batch_subscription_notification"
      "62205766"
      "[\"Chapter_18569068\"]"
      Exception
      ActiveRecord::RecordNotFound
      Error
      Couldn't find Subscription with id=62205766

        Attachments

          Activity

            People

            • Assignee:
              zz9pzza2 james_
              Reporter:
              zz9pzza2 james_
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: