Projet

Général

Profil

Actions

Anomalie #1675

fermé

Simple members can't access their list of contributions from the main menu

Ajouté par Guillaume AGNIERAY il y a plus d'un an. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
Core
Version cible:
Début:
13/03/2023
Echéance:
% réalisé:

100%

Temps estimé:
Version utilisée:

Description

When logged in as a simple member, from the main menu, an inline error message is displayed above the dashboard:

Whereas from the dashboard's buttons, contributions are properly displayed.

The main menu and the dashboard buttons call 2 different routes.
The first one, used in the main menu is failling with the error message :

No warning or errors in the logs :

127.0.0.1 - 2023-03-13 16:31:52 - INFO - Database version not checked in DEV mode.
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Setting property `filtre_transactions`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Setting property `filtre_cotis_children`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `date_field`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `start_date_filter`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `end_date_filter`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `payment_type_filter`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `from_transaction`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `max_amount`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `filtre_cotis_adh`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `filtre_cotis_children`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `filtre_cotis_children`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `filtre_transactions`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `ordered`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `filtre_cotis_adh`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `filtre_cotis_children`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `filtre_cotis_children`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `date_field`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `date_field`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `date_field`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `start_date_filter`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `end_date_filter`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `payment_type_filter`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `ordered`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `orderby`
127.0.0.1 - 2023-03-13 16:31:52 - DEBUG - [ContributionsList] Getting property `filtre_cotis_adh`

Using the same route as on the member's dashboard, the member's own contributions are properly filtered.
But if the user is an admin, other members' contributions are also displayed in the list.


Fichiers

Actions

Formats disponibles : Atom PDF