Page MenuHomePhabricator

SecurePoll: namespace not updated when election edited while election is running
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT


What is the problem?

When creating an election, the election's config is recorded in a page (e.g. This page is not updated when the election is edited while the election is running.

It is updated if I edit the election before it starts.

Steps to reproduce problem
  1. Go to
  2. Create a new election, setting the start date to today
  3. Find the election's $id and go to$id
  4. Edit the election, change the Return-to URL and/or the Admins

Expected behavior: The edits made in step 4 should be reflected in$id
Observed behavior: The namespace remains the same as after the election was first created (in step 3)

Event Timeline

Change 674567 had a related patch set uploaded (by STran; owner: STran):
[mediawiki/extensions/SecurePoll@master] Write changes to namespace when editing running polls

STran set the point value for this task to 2.Mar 24 2021, 4:43 PM
STran changed the point value for this task from 2 to 3.

Change 674567 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Write changes to namespace when editing running polls

I cannot reproduce the bug in the description. The respective SecurePoll:$id page gets updated.

I also retested editing an election before it has started and making sure the SecurePoll:$id and SecurePoll:$id/msg/$lang gets updated, in case of regression.

Test environment: SecurePoll 2.0.0 (83d545c) 06:33, 30 March 2021.