Skip to content

Fix form builder assuming proposals module availability#7689

Merged
mrcasals merged 2 commits intodecidim:developfrom
mainio:fix/form-builder-assumes-proposals-module
Mar 25, 2021
Merged

Fix form builder assuming proposals module availability#7689
mrcasals merged 2 commits intodecidim:developfrom
mainio:fix/form-builder-assumes-proposals-module

Conversation

@ahukkanen
Copy link
Copy Markdown
Contributor

@ahukkanen ahukkanen commented Mar 23, 2021

🎩 What? Why?

When you don't install the proposals module, the form builder will assume its presence.

Testing

  • Install Decidim without the proposals module
  • Go to any page with forms (which is any page when logged out, as the login form is displayed)

📋 Checklist

  • 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.

- Add spec for testing the proposal length validation
- Add spec for testing the `length_for_attribute` method when the
  ProposalLengthValidator is not present
@mrcasals
Copy link
Copy Markdown
Contributor

Merging. Random failure is fixed in #7703.

@mrcasals mrcasals merged commit c32cce6 into decidim:develop Mar 25, 2021
@ahukkanen ahukkanen deleted the fix/form-builder-assumes-proposals-module branch March 25, 2021 11:58
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants