Skip to content

fix: Initiatives error 500 when single initiative type#997

Open
AyakorK wants to merge 6 commits into
rc-4.0.0from
fix/initiatives_not_creating
Open

fix: Initiatives error 500 when single initiative type#997
AyakorK wants to merge 6 commits into
rc-4.0.0from
fix/initiatives_not_creating

Conversation

@AyakorK
Copy link
Copy Markdown
Contributor

@AyakorK AyakorK commented Jun 2, 2026

🎩 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
Copy link
Copy Markdown
Contributor

@Stef-Rousset Stef-Rousset left a comment

Choose a reason for hiding this comment

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

LGTM !

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.

2 participants