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

Exporting Results (Accountability) via VOTINGS #11107

Closed
greenwoodt opened this issue Jun 29, 2023 · 3 comments · Fixed by #11145
Closed

Exporting Results (Accountability) via VOTINGS #11107

greenwoodt opened this issue Jun 29, 2023 · 3 comments · Fixed by #11145
Assignees
Labels
module: elections type: bug Issues that describe a bug

Comments

@greenwoodt
Copy link
Contributor

greenwoodt commented Jun 29, 2023

Describe the bug

As an authenticated Admin, as I try to export any results (named Accountability) from the Voting's module, I get an rails error.

Note: This export function currently only doesn't work on the Votings module. Assembles and Processes seem to be working as normal.

Confirmed not working on 0.27

To Reproduce

  1. login as an admin.
  2. head over to edit.
  3. head over and click "votings" module, left side.
  4. Click any Votings available.
  5. Click on "Accountability".
  6. Click on "Export all", try export via any method (CSV or JSON)
  7. Notice rails error

Expected behavior

I click on an export method such as results as a CSV and the solution downloads my results as normal.

Screenshots

image

Rails error:

image

Stacktrace

No response

Extra data

  • Device: Macbook pro 2020 M1
  • Device OS: MacOS Ventura 13.4.1
  • Browser: Firefox
  • Decidim Version: 0.28 & 0.27
  • Decidim installation: development app

Additional context

No response

@greenwoodt greenwoodt added type: bug Issues that describe a bug module: elections labels Jun 29, 2023
@greenwoodt greenwoodt changed the title Exporting Results (Accountability) via different methods Exporting Results (Accountability) via VOTINGS Jun 29, 2023
@andreslucena
Copy link
Member

Confirmed in v0.28.0.dev locally

@alecslupu
Copy link
Contributor

When i am trying to export accountability results in 0.27 i get a 404 error.

@alecslupu
Copy link
Contributor

copied from #11115 (comment)

@greenwoodt I would do 2 thins here:

  1. Define the Decidim::Votings::Admin:ExportsController like the one from Decidim::ParticipatoryProcesses::Admin:ExportsController
  2. Make sure that all the other participatory spaces ( assemblies, initiative, consulations, conferences, participatory process, votings ) are supporting export functionality, and create it where is needed.

While writing this i see that at least Consultations, Initiatives and Votings modules could be verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: elections type: bug Issues that describe a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants