OpenSlides / OpenSlides/openslides-backend

Fix execute_action_internally

Open
#3,378 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tests
Dominant language
Python
Stars
9
Forks
40
Avg merge
1d 22h
Merged PRs (30d)
19

Description

Test method execute_action_internally should be working similarly to request with flag internal=True. However, in some cases it throws error described in https://github.com/OpenSlides/openslides-backend/issues/3372

Currently it happens after reverting the changes in https://github.com/OpenSlides/openslides-backend/pull/3313/changes#diff-91be329081a037edb9a2ae53ab4e7ebe89e081557c85df34875479c98eb606d5R32
and running tests/system/action/poll/test_vote.py::PollVoteTest::test_vote_correct_pollmethod_Y.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tests/system/action/poll/test_vote.py::PollVoteTest::test_vote_correct_pollmethod_Y and reproduce the failure described in issue 3372. Compare execute_action_internally with request using internal=True, and review the reverted changes from pull request 3313. Done means the named test passes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.