Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix proposals admin form when editing #7042

Merged
merged 1 commit into from
Dec 21, 2020
Merged

Conversation

oriolgual
Copy link
Contributor

@oriolgual oriolgual commented Dec 17, 2020

🎩 What? Why?

When editing an official proposal fromt he admin there was no title or body content in the input fields, this fixes it.

📌 Related Issues

Testing

Edit an official proposal from the admin, the title and body input should have the content of the proposal.

📋 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/.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

♥️ Thank you!

@mrcasals
Copy link
Contributor

@oriolgual there are some failing tests!

@mrcasals
Copy link
Contributor

Apart from tests, implementation looks good to me!

@microstudi
Copy link
Contributor

Note: this should be backported to 0.23

@oriolgual oriolgual marked this pull request as ready for review December 18, 2020 15:45
@oriolgual
Copy link
Contributor Author

Ready for review @decidim/core

Copy link
Contributor

@tramuntanal tramuntanal left a comment

Choose a reason for hiding this comment

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

Good!

@tramuntanal tramuntanal merged commit 4aeded5 into develop Dec 21, 2020
@tramuntanal tramuntanal deleted the fix/proposal-admin-form branch December 21, 2020 07:09
@tramuntanal
Copy link
Contributor

@oriolgual can you backport to v0.23?

@mrcasals
Copy link
Contributor

@tramuntanal I'll do that!

@mrcasals
Copy link
Contributor

@tramuntanal please, check #7051! 😄

tramuntanal pushed a commit that referenced this pull request Dec 24, 2020
Co-authored-by: Oriol Gual <oriolgual@users.noreply.github.com>
@mrcasals mrcasals added module: proposals type: fix PRs that implement a fix for a bug labels Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: proposals type: fix PRs that implement a fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When editing official proposals, title and body appear blank
4 participants