Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-3639

IndexProxyRuleWorker raises ActiveRecord::RecordNotFound

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.7 ER2
    • 2.7 ER1
    • System
    • None
    • 3
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 3scale 2019-09-30

      IndexProxyRuleWorker raises

      ActiveRecord::RecordNotFound: Couldn't find ProxyRule with 'id'=X
      

      When ProxyRule id "X" no longer exists.

      Dev note
      It seems we need to rescue from ActiveRecord::RecordNotFound in http://github.com/3scale/porta/tree/master/app/workers/index_proxy_rule_worker.rb. If the proxy rule no longer exists, no need to index it anymore?

            Unassigned Unassigned
            mcassola Guilherme Cassolato
            Carlos Ribeiro Carlos Ribeiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: