Skip to content

fix: Initiatives error 500 when single initiative type#997

Merged
moustachu merged 6 commits into
rc-4.0.0from
fix/initiatives_not_creating
Jun 12, 2026
Merged

fix: Initiatives error 500 when single initiative type#997
moustachu merged 6 commits into
rc-4.0.0from
fix/initiatives_not_creating

Conversation

@AyakorK

@AyakorK AyakorK commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

🎩 Description

There was some misconfigurations and also an error 500 when we were trying to get to the inititatives front-office page when we had only one initiative_type

Testing

Initial local setup :

  • Run your bundle exec rails console
  • Clear all your initiatives by running Decidim::Initiative.delete_all
  • Clean all your initiatives_type by running Decidim::InitiativesType.delete_all

Example:

  • Log in as admin
  • Access Backoffice
  • Go to initiatives
  • Create a new initiative type
  • Configure the signatures
  • Go to front office and access the page
  • Make sure you can create a new initiative
  • Validate it through the back-office
  • Use another account to vote for your new initiative
  • Make sure everything works correctly

📌 Related Issues

Tasks

  • Remove deprecated files
  • Remove deprecated locales
  • Add new locales linked to the new feature of the new workflow

@AyakorK AyakorK requested review from Stef-Rousset and moustachu June 2, 2026 15:27

@Stef-Rousset Stef-Rousset left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM !

@moustachu moustachu merged commit c5df68d into rc-4.0.0 Jun 12, 2026
13 checks passed
@moustachu moustachu deleted the fix/initiatives_not_creating branch June 12, 2026 09:00
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