Skip to content

Fix linked proposals#14244

Merged
andreslucena merged 2 commits intodevelopfrom
fix/linked-proposals
Mar 9, 2025
Merged

Fix linked proposals#14244
andreslucena merged 2 commits intodevelopfrom
fix/linked-proposals

Conversation

@alecslupu
Copy link
Copy Markdown
Contributor

🎩 What? Why?

Today @mllocs let me know that linked proposals to meetings are actually raising an error. This is the same error i got while trying to implement the proposal voting in the 0.29 branch.

This was not caught before because it was not added in the meetings, and in the budgets (where i've encountered the issue) we have the history implementation.

📌 Related Issues

Link your PR to an issue

Testing

  1. Take the spec added to this PR
  2. Run it against develop
  3. See it crashes
  4. Also see this pipeline is green

♥️ Thank you!

@alecslupu alecslupu added type: fix PRs that implement a fix for a bug release: v0.30 Issues or PRs that need to be tackled for v0.30 labels Mar 6, 2025
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

Seems like we're playing wack-a-mole with this bug.

I think we should re-think the hide_voting argument, so it is actually a show_voting that's only called when we actually have a voting with a proposal card (basically in the proposal index page, if I'm not mistaken).

If you want, we can merge this as is (as it is fixing this particular issue), but what I'd want is to have another PR afterwards with a rethink of this feature, as I think there are too many places where this card is used (for instance sortitions, where we had this same bug with #14087)

@andreslucena
Copy link
Copy Markdown
Member

Merging as this is fixing the issue (and hopefully we can fix the real problem as I'm proposing in my comment in the next few weeks 😄)

@andreslucena andreslucena merged commit bd6ca56 into develop Mar 9, 2025
56 of 59 checks passed
@andreslucena andreslucena deleted the fix/linked-proposals branch March 9, 2025 15:26
@alecslupu alecslupu added the no-backport Pull Requests that should not be backported label Mar 13, 2025
@alecslupu
Copy link
Copy Markdown
Contributor Author

adding no-backport to avoid backporting to 28 & 29

fblupi pushed a commit to AjuntamentdeBarcelona/decidim that referenced this pull request Mar 31, 2025
* Fix linked proposals

* Add specs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: proposals no-backport Pull Requests that should not be backported release: v0.30 Issues or PRs that need to be tackled for v0.30 type: fix PRs that implement a fix for a bug

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants