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

#2373 - Bug: Proposal does not expire #2388

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

SebinSong
Copy link
Collaborator

@SebinSong SebinSong commented Oct 21, 2024

closes #2373

I can see the app now handles proposal expiration correctly.



It appears that gi.actions/group/markProposalsExpired used to only take one proposal ID as the param(data.proposalHash) and then was changed to take an array of IDs(data.proposalIds) later. But the relevant part in frontend/controller/actions/group.js file has not been updated to take this into account, which lead to causing below runtime error:


So made a fix accordingly.

@SebinSong SebinSong self-assigned this Oct 21, 2024
Copy link

cypress bot commented Oct 21, 2024

group-income    Run #3327

Run Properties:  status check passed Passed #3327  •  git commit 68a6a6cbba ℹ️: Merge 6c84e691aa17117f5e7d6b57c27be50accdcfbcc into cd4e463201e39c77101340b487a8...
Project group-income
Branch Review sebin/task/#2373-close-proposal-bug
Run status status check passed Passed #3327
Run duration 09m 09s
Commit git commit 68a6a6cbba ℹ️: Merge 6c84e691aa17117f5e7d6b57c27be50accdcfbcc into cd4e463201e39c77101340b487a8...
Committer Sebin Song
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 10
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 111
View all changes introduced in this branch ↗︎

@taoeffect
Copy link
Member

Note to self when testing this: be sure to test with existing data from server to verify that old messages won't be broken by this PR.

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@taoeffect taoeffect merged commit 7d0fe3b into master Oct 23, 2024
4 checks passed
@taoeffect taoeffect deleted the sebin/task/#2373-close-proposal-bug branch October 23, 2024 19:35
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.

Close proposals when they expire
2 participants