Skip to content

Fix validations for registration related fields in Conference form#7675

Merged
mrcasals merged 1 commit intodecidim:developfrom
CodiTramuntana:fix/conferences_available_slots
Mar 25, 2021
Merged

Fix validations for registration related fields in Conference form#7675
mrcasals merged 1 commit intodecidim:developfrom
CodiTramuntana:fix/conferences_available_slots

Conversation

@tramuntanal
Copy link
Copy Markdown
Contributor

@tramuntanal tramuntanal commented Mar 22, 2021

🎩 What? Why?

When registrations are enabled, if Conference.available_slots is left blank the application crashes (see screenshots)

📌 Related Issues

This fix is analogous to what was happening in #7636. #7636 was happening in meeting registrations and this one happens in conferences registrations.

Testing

Describe the best way to test or validate your PR.

  • Edit a Conference
  • Enable registrations
  • delete the content of "available slots" field
  • Save
  • See the crash

📋 Checklist

🚨 Please review the guidelines for contributing to this repository.

  • CONSIDER adding a unit test if your PR resolves an issue.
  • ✔️ DO check open PR's to avoid duplicates.
  • ✔️ DO keep pull requests small so they can be easily reviewed.
  • ✔️ DO build locally before pushing.
  • ✔️ DO make sure tests pass.
  • ✔️ DO make sure any new changes are documented in docs/.
  • ✔️ DO add and modify seeds if necessary.
  • ✔️ DO add CHANGELOG upgrade notes if required.
  • ✔️ DO add to GraphQL API if there are new public fields.
  • ✔️ DO add link to MetaDecidim if it's a new feature.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

📷 Screenshots

Before
image

After
image

♥️ Thank you!

@mrcasals mrcasals merged commit f912cb6 into decidim:develop Mar 25, 2021
@tramuntanal tramuntanal deleted the fix/conferences_available_slots branch March 25, 2021 12:03
tramuntanal added a commit to CodiTramuntana/decidim that referenced this pull request Mar 25, 2021
entantoencuanto added a commit that referenced this pull request Mar 26, 2021
* develop: (64 commits)
  Fix report mailers when author is a meeting (#7683)
  New Crowdin updates (#7729)
  Fix form builder assuming proposals module availability (#7689)
  Fix a series of issues with proposal attachments in the public area (#7699)
  New Crowdin updates (#7711)
  Add accessibility labels to the <nav> menus (#7709)
  Fix heading order on the home page (#7710)
  Fix dropdown menu accessibility audits (#7708)
  Fix the aria attribute names (no aria prefix) (#7707)
  Fix validations for registration related fields in Conference form (#7675)
  New Crowdin updates (#7613)
  Use comments counter cache instead of additional query (#7627)
  Upgrade to decidim-bulletin_board 0.15.2 (#7659)
  Bump mimemagic to 0.3.6 (#7701)
  Ensure pagination elements per page is a valid option (#7680)
  Fix link to "Getting started guide" in README.adoc (#7695)
  Fix link to CONTRIBUTING.adoc in PR template (#7696)
  Fix the screen reader class name for comments opinion toggle (#7698)
  Fix initiative-m card hashtags (#7679)
  Don't run all jobs on every PR (#7693)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: conferences type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants