Skip to content

Fix: private body in proposals#984

Open
Stef-Rousset wants to merge 4 commits into
rc-4.0.0from
fix/private_body_in_proposals
Open

Fix: private body in proposals#984
Stef-Rousset wants to merge 4 commits into
rc-4.0.0from
fix/private_body_in_proposals

Conversation

@Stef-Rousset
Copy link
Copy Markdown
Contributor

@Stef-Rousset Stef-Rousset commented May 7, 2026

🎩 Description

This PR adds the registering of private_body in create_proposal method from create_proposal_extends. As the rror spotted in production has not been reproduced in local env, this PR needs to be tested in production.

This PR also removes the override of FindAndUpdtaeDescendantsJob, because of the evolution of the code in 0.31 (notably 2 arguments instead of one in perfom method that causes error). The necessity of the override in 0.31 should be study in another card (cfhttps://github.com/orgs/OpenSourcePolitics/projects/26/views/1?pane=issue&itemId=186116483&issue=OpenSourcePolitics%7Cintern-tasks%7C443)

Testing

  1. As an admin, in the BO, go to decidim awesome tab > Proposals custom fields > Private fields, and add some fields (screenshot one)
  2. As a user in the FO, create a new proposal with content in private fields and publish it.
  3. As an admin, go to the list of proposals, and for the proposal you created, click on "Answer proposal" button and check that the the private body is filled

📌 Related Issues

Tasks

  • Update specs

📷 Screenshots

ONE
Capture d’écran 2026-05-07 à 15 45 06

TWO
Capture d’écran 2026-05-07 à 15 50 36

@Stef-Rousset Stef-Rousset marked this pull request as ready for review May 11, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant