-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
GLPI Version
11
Plugin version
1.15
Bug description
After migrating GLPI from 9.5 (bare metal) to 11, the Credit plugin partially works: credit quantities display correctly in entities and related views. However, it’s not possible to apply or consume credit when creating a new ticket (or task). The “maximum consumable quantity” remains at 0 regardless of the selected credit, including unlimited credits.
Steps to reproduce:
Complete migration from GLPI 9.5 (bare metal) to 11(docker with no apparent data loss).
Update or reinstall the Credit plugin from the Marketplace (version currently in use: 1.15).
Go to Administration > Entities > [Entity] > Credit and verify credit types and sold/remaining quantities are correct (including unlimited).
Create a new ticket via Assistance > Tickets > New (or from a task/project).
In the ticket form, select a credit type (including unlimited) in the Credit plugin section.
Submit the ticket: consumable quantity remains 0 and no debit is applied. The ticket is created without associated charging.
What was expected:
To be able to apply and consume credits on new tickets as before the migration, including for unlimited credits.
What actually happens:
Credit quantities are visible and correct at entity level, but charging on ticket creation is blocked; the consumable quantity is fixed at 0 even with valid/unlimited credits.
Additional checks performed:
Verified default options at entity level to associate credit types to actions such as “New ticket”, “Follow-up”, or “Solution”.
Enabled “Allow overconsumption” for unlimited credits and ensured non-zero sold quantity where applicable.
Confirmed profiles have the necessary permissions for the Credit plugin.
Reviewed GLPI logs (files/_log and php-error.log); no obvious SQL/PHP errors found related to Credit consumption step. Can provide log excerpts if helpful.
Issue reproduces consistently on fresh tickets, even with unlimited credits configured.
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response