Actions
Anomalie #1675
closedSimple members can't access their list of contributions from the main menu
Start date:
03/13/2023
Due date:
% Done:
100%
Estimated time:
Version utilisée:
Vote:
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 :
- source:/galette/includes/routes/contributions.routes.php@develop#L43
- source:/galette/includes/routes/contributions.routes.php@develop#L48
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.
Files
Updated by Guillaume AGNIERAY over 1 year ago
Updated by Johan Cwiklinski over 1 year ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 6ff8dbfbae53ed1eeda0c2982f28ae592a3b09d5.
Updated by Johan Cwiklinski over 1 year ago
- Status changed from Fermé to Résolu
- Version utilisée changed from 1.0.0 to 0.9.6.2
Actions