Skip to content

Reference prefix technically needed but not required to try to save settings #3054

@PierreMesure

Description

@PierreMesure

This is a Bug Report

🎩 Description

For bug reports:

  • What went wrong?

Seems like you can't save your settings with an empty Reference prefix
at http://localhost:3000/admin/organization/edit

  • What did you expect should have happened?

There is no asterisk so I expected to be able to have no reference prefix.

  • What was the config you used?

Brand new decidim app with seeds

  • What stacktrace or error message from your provider did you see?

ActiveRecord::RecordInvalid in Decidim::Admin::OrganizationController#update Validation failed: Reference prefix can't be blank

For feature proposals:

  • What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.

I guess you could just make the field required.

  • If there is additional config how would it look

📌 Related issues

📋 Additional Data

  • Decidim deployment where you found the issue:
  • Browser & version:
    Safari latest
  • Screenshot:
    Not necessary
  • Error messages:
    ActiveRecord::RecordInvalid in Decidim::Admin::OrganizationController#update Validation failed: Reference prefix can't be blank
  • URL to reproduce the error:
    http://localhost:3000/admin/organization/edit

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions