Skip to content

Editing a poll will silently change it to a closed poll #23176

Closed
matrix-org/matrix-react-sdk
#9809
@aaronschif

Description

@aaronschif

Steps to reproduce

  1. Create an Open Poll ("m.poll.disclosed")
  2. Edit the poll without changing the poll type. See that the poll time still says "Open" in the edit dialog.
  3. See that the poll is now a "Closed Poll" ("m.poll.undisclosed")

You are able to change the poll back to open by editing the poll again. You can prevent this by opening the edit dialog and changing Open to Closed and then back to Open.

Outcome

What did you expect?

The poll type should not change, or should at least reflect the state of the edit dialog.

What happened instead?

The poll type was changed to be closed.

Operating system

Fedora Linux

Browser information

Firefox 104.0.1 (64-bit)

URL for webapp

develop.element.io

Application version

Element version: 7b904cd-react-c8686b69bd95-js-8cc5efdf46fa Olm version: 3.2.12

Homeserver

matrix.org

Will you send logs?

Yes

Metadata

Metadata

Labels

A-Message-EditingA-PollsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions