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

Backport 'Fix Empty participatory process group is created when importing a PP …' to v0.27 #10732

Conversation

alecslupu
Copy link
Contributor

🎩 What? Why?

Backport #10692 to v0.27

♥️ Thank you!

@alecslupu alecslupu added backport Pull Requests that are a backport for a fixed bug module: participatory processes type: fix PRs that implement a fix for a bug labels Apr 19, 2023
@alecslupu alecslupu force-pushed the backport/0.27/fix-empty-participatory-proces-10692 branch 3 times, most recently from 99206b7 to f0c9c8e Compare April 19, 2023 14:56
@alecslupu alecslupu force-pushed the backport/0.27/fix-empty-participatory-proces-10692 branch from f0c9c8e to ea2069a Compare April 19, 2023 15:12
@@ -91,3 +91,6 @@ Rails/SkipsModelValidations:
Rails/Validation:
Include:
- decidim-*/app/models/**/*.rb

Rails/CompactBlank:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is disabled because compact_blank is a method available in later raiils versions ... and I got in a situation when I was trying to locally disable, but it errored with "Unecesary disable"... yet if i do not disable it, recommends to set:

translation.reject { |_k, v| v.blank? }

as

translation.compact_blank

Which will result in NoMethodError

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the explanation!

@alecslupu alecslupu requested a review from a team April 19, 2023 16:01
@alecslupu alecslupu added this to Pending review from Product in Maintainers via automation Apr 19, 2023
@andreslucena andreslucena merged commit 4d6c894 into release/0.27-stable Apr 25, 2023
Maintainers automation moved this from Pending review from Product to Done Apr 25, 2023
@andreslucena andreslucena deleted the backport/0.27/fix-empty-participatory-proces-10692 branch April 25, 2023 06:59
@alecslupu alecslupu added this to the 0.27.3 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Pull Requests that are a backport for a fixed bug module: participatory processes type: fix PRs that implement a fix for a bug
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants