Fix "php artisan queue:retry all" with MongoFailedJobProvider

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • laravel-4.3.0
    • Affects Version/s: laravel-4.0.0, laravel-4.1.0, laravel-4.2.0, laravel-4.3.0
    • Component/s: Laravel
    • None
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/laravel/framework/pull/49186
      https://github.com/laravel/framework/commit/2b9d596bdd9340e87f0e18d5319bf0adc774451d

      Laravel 10.35.0 introduced the method DatabaseFailedJobProvider::ids() to get only the ids from the database, instead of the full document. This is breaking MongoFailedJobProvider because the implementation uses the "id" field instead of MongoDB's "_id".

      Todo: add the method MongoFailedJobProvider::ids() in order to return MongoDB's "_id" from the jobs_failed collection.

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: