Skip to content

[V16-queue_job] Problems with multiple databases #503

Closed

Description

@asierneiradev

Currently the queue_job module is not running jobs when multiple databases are available.

It returns errors when executing jobs because it is not able to get a proper environment for the database as Odoo is providing the response without the associated database.

The error occurs in the file queue/queue_job/controllers/main.py, line 75, in runjob

env = http.request.env(user=SUPERUSER_ID)
TypeError: 'NoneType' object is not callable

After this error, the job is re-queued and set to pending status.

Activity

  1. added 2 commits that reference this issue on Feb 1, 2023
    931d2aa
    ac10d2a
  2. added a commit that references this issue on Feb 14, 2023
    1f3e2b1
  3. added 2 commits that reference this issue on Nov 23, 2023
    63d8e53
    af1a925
  4. added a commit that references this issue on Nov 25, 2023
    ddb8a4d
  5. added a commit that references this issue on Nov 27, 2023
    6994c14
  6. added 2 commits that reference this issue on Sep 19, 2024
    2e4ea25
    adfa3ff
  7. added a commit that references this issue on Oct 7, 2024
    06e1eee
  8. added a commit that references this issue on Oct 22, 2026
    24a0007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions