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

fix canCreate on ItilOject when empty object called #5331

Merged

Conversation

orthagh
Copy link
Contributor

@orthagh orthagh commented Feb 6, 2019

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes

In relation with tag plugin:

[06-Feb-2019 09:41:28 Europe/Berlin] PHP Fatal error:  Uncaught Error: Class '' not found in /var/www/html/glpi/9.4-git/inc/itilfollowup.class.php:132
Stack trace:
#0 /var/www/html/glpi/9.4-git/plugins/tag/inc/tag.class.php(513): ITILFollowup->canCreateItem()
#1 /var/www/html/glpi/9.4-git/plugins/tag/inc/tag.class.php(416): PluginTagTag::showTagDropdown(Array)
#2 /var/www/html/glpi/9.4-git/inc/plugin.class.php(1057): PluginTagTag::preItemForm(Array)
#3 /var/www/html/glpi/9.4-git/inc/commondbtm.class.php(2723): Plugin::doHook('pre_item_form', Array)
#4 /var/www/html/glpi/9.4-git/inc/itilfollowup.class.php(746): CommonDBTM->showFormHeader(Array)
#5 /var/www/html/glpi/9.4-git/ajax/timeline.php(116): ITILFollowup->showForm(NULL, Array)
#6 {main}
  thrown in /var/www/html/glpi/9.4-git/inc/itilfollowup.class.php on line 132

@orthagh orthagh requested a review from trasher February 6, 2019 08:47
@trasher trasher merged commit 3b5309e into glpi-project:9.4/bugfixes Feb 6, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants