Skip to content

Phase Durations accumulating duration from all phases #543

Description

@nikola-maric-aula

Describe the bug

The phase duration is displayed incorrectly. Instead of restarting the “Voting” phase with a 14-day duration, the system includes the time remaining in the Discussion or Approval phase in its calculation. As a result, it appears as though the phase is already further along or has even expired.

original:

die Phasendauer fehlerhaft angezeigt wird. Statt in der Phase “Abstimmung” neu zu starten mit 14 Tagen, wird das Ablaufen der Phasendauer der Diskussion bzw Prüfung miteingerechnet. Dadurch wird angezeigt; dass die Phase schon weiter fortgeschritten ist oder sogar abgelaufen ist.

We definitely want to have an e2e test that mocks time passing and verifies proper phase duration calculation.

To Reproduce
Steps to reproduce the behavior:

  1. ?

Info on:
Username:
Role:
Environment used:
Instance code
Browser:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions