Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with GLPI10 #31

Open
fabboyrie opened this issue Aug 22, 2022 · 5 comments
Open

Compatibility with GLPI10 #31

fabboyrie opened this issue Aug 22, 2022 · 5 comments

Comments

@fabboyrie
Copy link

Hi

Your plugin is really useful for us.

But I have problems since upgrade to GLPI 10
When I use the plugin with GLPI 10.0.2 , each time I update a ticket, glpi displays a blank page and no notification is sent.

Could you upgrade the plugin for GLPI10

Thanks

@ehrhart-jy-vig
Copy link

Hello,
I got the same problem.
In logs :
[2022-09-06 16:53:19] glpiphplog.CRITICAL: *** Uncaught Exception Error: Call to undefined function getAllDatasFromTable() in /var/www/glpi/plugins/notifications/hook.php at line 137
Backtrace :
src/Plugin.php:1468 plugin_notifications_item_get_datas()
src/NotificationTarget.php:1332 Plugin::doHook()
src/NotificationTemplate.php:278 NotificationTarget->getForTemplate()
src/NotificationEventAbstract.php:127 NotificationTemplate->getTemplateByLanguage()
src/NotificationEvent.php:187 NotificationEventAbstract::raise()
src/CommonITILActor.php:451 NotificationEvent::raiseEvent()
src/Group_Ticket.php:66 CommonITILActor->post_addItem()
src/CommonDBTM.php:1305 Group_Ticket->post_addItem()
src/CommonITILObject.php:8144 CommonDBTM->add()
src/CommonITILObject.php:1801 CommonITILObject->updateActors()
src/Ticket.php:1577 CommonITILObject->post_updateItem()
src/CommonDBTM.php:1698 Ticket->post_updateItem()
front/ticket.form.php:84 CommonDBTM->update()

[2022-09-06 16:54:35] glpiphplog.CRITICAL: *** Uncaught Exception Error: Call to undefined function getAllDatasFromTable() in /var/www/glpi/plugins/notifications/hook.php at line 137
Backtrace :
src/Plugin.php:1468 plugin_notifications_item_get_datas()
src/NotificationTarget.php:1332 Plugin::doHook()
src/NotificationTemplate.php:278 NotificationTarget->getForTemplate()
src/NotificationEventAbstract.php:127 NotificationTemplate->getTemplateByLanguage()
src/NotificationEvent.php:187 NotificationEventAbstract::raise()
src/ITILFollowup.php:371 NotificationEvent::raiseEvent()
src/CommonDBTM.php:1305 ITILFollowup->post_addItem()
front/itilfollowup.form.php:55 CommonDBTM->add()

@ehrhart-jy-vig
Copy link

The function getAllDatasFromTable() does not exist !
In the file /var/www/glpi/plugins/notifications/hook.php change all occurrences of getAllDatasFromTable by getAllDataFromTable (without s).

@Nicolas-ld
Copy link

Bonjour,

Même problème. Une mise à jour vers GLPI10 est prévue ?

Merci

@BastienGraziani
Copy link

Bonjour,

Même question, avez-vous prévu une mise à jour du plugin pour la version 10?

Merci d'avance.

@TR0LLL
Copy link

TR0LLL commented Nov 1, 2022

Please make it GLPI 10 compliant!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants