PopulateTools / decidim-module-extra_user_fields

Add dynamic custom fields to users
https://decidim.org
GNU Affero General Public License v3.0
3 stars 13 forks source link

Error when opening Participants tab #5

Closed PierreMesure closed 2 years ago

PierreMesure commented 2 years ago

Hi,

We've been using this module on one of our platforms and I just realised we're having an issue that prevents us from seeing the list of participants in the admin panel (/admin/officializations).

We forked the module to change the extra fields but I couldn't see any reason for the changes to trigger this problem.

Stacktrace

ActionView::Template::Error (undefined local variable or method `extra_user_fields_export_users_dropdown' for #<#<Class:XXX>):
1: <span class="exports dropdown tiny button button--simple" data-toggle="export-dropdown"><%= t "actions.export", scope: "decidim.admin" %></span>
2: <div class="dropdown-pane" id="export-dropdown" data-dropdown data-position=bottom data-alignment=right data-auto-focus="true" data-close-on-click="true">
3:   <%= extra_user_fields_export_users_dropdown %>
4: </div>

decidim-module-extra_user_fields (XXX) app/views/decidim/extra_user_fields/admin/export_users/_dropdown.html.erb:3

Any idea what might cause the issue?

ferblape commented 2 years ago

Hi @PierreMesure I've checked in your changes and I can't see either any reason for that error. That method is defined in an ApplicationHelper loaded here. Maybe you can start digging there.

Are you using Decidim 0.26? Notice we released a version of this module compatible with 0.26, in case you haven't updated.

ferblape commented 2 years ago

Closing due to inactivity, please feel free to answer my question if it's still an issue and we'll follow up.

PierreMesure commented 2 years ago

Hi Fernando, sorry I was doing some more investigations and forgot to update this issue.

Still using 0.25. I solved it on our fork by removing the dropdown.