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

[ServiceSet][1.10.0] Undefined property: stdClass::$uuid #2619

Closed
Yoda-BZH opened this issue Sep 30, 2022 · 4 comments
Closed

[ServiceSet][1.10.0] Undefined property: stdClass::$uuid #2619

Yoda-BZH opened this issue Sep 30, 2022 · 4 comments
Assignees
Labels
Milestone

Comments

@Yoda-BZH
Copy link

Expected Behavior

In Overview, when clicking on Modify of a service, we should be able to modify a service.

Current Behavior

the following error triggers:

Undefined property: stdClass::$uuid

#0 /usr/share/icingaweb2/modules/director/library/Director/DirectorObject/Lookup/AppliedServiceSetServiceInfo.php(48): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(Integer, String, String, Integer, Array)
#1 /usr/share/icingaweb2/modules/director/library/Director/DirectorObject/Lookup/ServiceFinder.php(45): Icinga\Module\Director\DirectorObject\Lookup\AppliedServiceSetServiceInfo::find(Object(Icinga\Module\Director\Objects\IcingaHost), String)
#2 /usr/share/icingaweb2/modules/director/library/Director/DirectorObject/Lookup/ServiceFinder.php(63): Icinga\Module\Director\DirectorObject\Lookup\ServiceFinder::find(Object(Icinga\Module\Director\Objects\IcingaHost), String)
#3 /usr/share/icingaweb2/modules/director/application/controllers/HostController.php(156): Icinga\Module\Director\DirectorObject\Lookup\ServiceFinder->getRedirectionUrl(String)
#4 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Director\Controllers\HostController->findserviceAction()
#5 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch(String)
#6 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#7 /usr/share/php/Icinga/Application/Web.php(290): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#8 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#9 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#10 {main}

image

Possible Solution

Steps to Reproduce (for bugs)

Create a service set with one service. Apply to one host.

In overview, try to modify the service through the Modify link.

Note

May be related to #2618 , #2615

Your Environment

  • Director version (System - About): 1.10.0
  • Icinga Web 2 version and modules (System - About): 2.11
  • Icinga 2 version (icinga2 --version): 2.13.5-1.bullseye
  • Operating System and version: Debian 11
  • Webserver, PHP versions: Nginx + php-fpm 7.4.30
@Thomas-Gelf Thomas-Gelf self-assigned this Sep 30, 2022
@Thomas-Gelf Thomas-Gelf added this to the 1.10.1 milestone Sep 30, 2022
@Thomas-Gelf
Copy link
Contributor

Thanks for reporting this, should now be fixed. Could you please give it a try?

@Yoda-BZH
Copy link
Author

hello

Thank you for the quick fix

I applied 867138a and b6ed832, and it fixed the problem.

Thank you !

@Thomas-Gelf
Copy link
Contributor

You're welcome, thanks for letting me know! The fix has been ported to the support/1.10 branch and will be released with v1.10.1

@tectumopticum
Copy link

Perfect @Thomas-Gelf ! Thanks!

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

No branches or pull requests

3 participants