When the default locale is set to a non-ASCII language (such as Japanese :ja
), the create_default_states!
method in decidim-proposals
fails to create ProposalState records. This prevents proposal components from having the necessary states (evaluating, accepted, rejected), making proposal answering functionality unavailable in the admin interface.
The issue occurs because the generate_token
method in ProposalState cannot properly handle non-ASCII characters in titles when generating tokens, and it incorrectly processes symbol tokens passed from create_default_states!
.