Hello,
After migrating to GLPI 11 and testing the Resources plugin, I noticed several points that may be useful to report.
Overall, the plugin works well and the latest version brings some welcome improvements, but I encountered one notification issue, one issue with the Directory feature, and I also have a few suggestions that could make the plugin even more useful.
1. Resource notification recipients were not available
For notifications related to Resources, the recipient list was no longer displayed in the notification configuration.
I found that the itemtype stored in the glpi_notifications table was still using the old value:
PluginResourcesResource
while GLPI 11 now expects the namespaced class:
GlpiPlugin\Resources\Resource
I fixed the existing notifications with the following SQL query:
UPDATE glpi_notifications
SET itemtype = CONCAT(
'GlpiPlugin',
CHAR(92),
'Resources',
CHAR(92),
'Resource'
)
WHERE itemtype = 'PluginResourcesResource';
SELECT ROW_COUNT() AS notifications_corrigees;
SELECT id, name, itemtype
FROM glpi_notifications
WHERE id BETWEEN 84 AND 104
ORDER BY id;
After this change, the Resources notification recipients were available again.
It may be useful to include this conversion automatically during the plugin upgrade/migration process.
2. "Service" field in email notifications
A very welcome improvement in the latest version is that the Service field can now finally be used correctly in notification emails.
The corresponding notification tag did not work properly in the previous version.
This is very useful for HR/resource notification templates.
3. Directory feature returns an error
The Directory feature currently generates an error when trying to use the search/filter function.
The interface only displays:
An error has occurred
I temporarily disabled/hidden the Directory feature for the affected user profiles while waiting for a fix.
4. Suggestion: add an Email field
The Resources form currently contains fields such as:
Phone
Mobile phone
Several users have asked me to also have an Email field directly in the Resource information.
I think the best option would be to keep both existing phone fields and simply add a dedicated Email field.
This would be particularly useful when the Resource object is used for HR processes and when information is sent through notifications.
5. Suggestion: additional notification tags
It would also be very useful to expose additional notification tags for Resources, especially:
Employee ID / Matricule
Email
For example, having notification tags equivalent to:
##resource.employeeid##
and
##resource.email##
would allow these values to be used directly inside email notification templates.
The exact tag names can of course follow the plugin's existing naming convention.
Summary
The main points are therefore:
Existing Resource notifications may still use the old PluginResourcesResource itemtype after migration.
Updating it to GlpiPlugin\Resources\Resource restores the notification recipients.
The Service notification field/tag now works correctly, which is a great improvement.
The Directory search currently produces an error.
Adding an Email field to Resources would be useful.
Adding notification tags for Employee ID / Matricule and Email would make notification templates much more flexible.
Thank you for maintaining and improving the plugin.
These additions would make the Resources plugin even more useful for HR workflows on GLPI 11.
Hello,
After migrating to GLPI 11 and testing the Resources plugin, I noticed several points that may be useful to report.
Overall, the plugin works well and the latest version brings some welcome improvements, but I encountered one notification issue, one issue with the Directory feature, and I also have a few suggestions that could make the plugin even more useful.
1. Resource notification recipients were not available
For notifications related to Resources, the recipient list was no longer displayed in the notification configuration.
I found that the
itemtypestored in theglpi_notificationstable was still using the old value:PluginResourcesResourcewhile GLPI 11 now expects the namespaced class:
GlpiPlugin\Resources\ResourceI fixed the existing notifications with the following SQL query:
After this change, the Resources notification recipients were available again.
It may be useful to include this conversion automatically during the plugin upgrade/migration process.
2. "Service" field in email notifications
A very welcome improvement in the latest version is that the Service field can now finally be used correctly in notification emails.
The corresponding notification tag did not work properly in the previous version.
This is very useful for HR/resource notification templates.
3. Directory feature returns an error
The Directory feature currently generates an error when trying to use the search/filter function.
The interface only displays:
An error has occurred
I temporarily disabled/hidden the Directory feature for the affected user profiles while waiting for a fix.
4. Suggestion: add an Email field
The Resources form currently contains fields such as:
Phone
Mobile phone
Several users have asked me to also have an Email field directly in the Resource information.
I think the best option would be to keep both existing phone fields and simply add a dedicated Email field.
This would be particularly useful when the Resource object is used for HR processes and when information is sent through notifications.
5. Suggestion: additional notification tags
It would also be very useful to expose additional notification tags for Resources, especially:
Employee ID / Matricule
Email
For example, having notification tags equivalent to:
##resource.employeeid##
and
##resource.email##
would allow these values to be used directly inside email notification templates.
The exact tag names can of course follow the plugin's existing naming convention.
Summary
The main points are therefore:
Existing Resource notifications may still use the old PluginResourcesResource itemtype after migration.
Updating it to GlpiPlugin\Resources\Resource restores the notification recipients.
The Service notification field/tag now works correctly, which is a great improvement.
The Directory search currently produces an error.
Adding an Email field to Resources would be useful.
Adding notification tags for Employee ID / Matricule and Email would make notification templates much more flexible.
Thank you for maintaining and improving the plugin.
These additions would make the Resources plugin even more useful for HR workflows on GLPI 11.