Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent localgov_election_candidate paragraphs from generating new re… #101

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

finnlewis
Copy link
Member

@finnlewis finnlewis commented Jul 4, 2024

…visions.

See #94

Please test this!

Steps to reproduce the original bug:

#94 (comment)

With this small change, localgov_election_candidate paragraphs should not generate new revisions, so the duplicate revision creation is averted.

This mitigates the bug and prevents random data displaying, but still means revisions does not work.

@chriswales95
Copy link
Member

@finnlewis Just going to review now.

If this is a permanent fix, I'd like to see 49a75fa reverted as part of this.

@finnlewis
Copy link
Member Author

@chriswales95 good call!

I think we update the README to explain that revisions does not currently work. I'll look now.

@chriswales95
Copy link
Member

@finnlewis Okay, I tested and yes I no longer get the funny graphs but yeah the paragraph revisions don't work. So you can change a vote, revert the area vote revision, and the vote amount is still the old value.

Much better than before @finnlewis!

Any ideas on how we'd fully support revisions?

@markconroy
Copy link
Member

This PR is working for me to stop the funny chart.

@finnlewis finnlewis merged commit f809f00 into 1.x Jul 4, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants