OpenSlides / OpenSlides/openslides-backend

[relDB] equal_fields trigger 2

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

Nobody has claimed this yet.

clean up feature needs discussion
Dominant language
Python
Stars
9
Forks
40
Avg merge
1d 22h
Merged PRs (30d)
19

Description

These things are TODOs that got left over during the simple initial implementation in #3382

  • Streamline the trigger code performance-wise, perhaps refactor it a bit too.
    • Decide if trigger errors should still be done on a field-by-field-basis, or if they should be aggregated and all thrown together. (See TODO in `projector/test_project)

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

Begin with the simple implementation from #3382 and the TODO in projector/test_project; locate the trigger code and establish a performance baseline. Done requires a decision on field-by-field versus aggregated errors and a completed performance/refactor change, with the resulting behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.