Something went wrong while setting issue due date.
Crash when I try to create a server with argonaut plugin and without dns plugin
Closed
Crash when I try to create a server with argonaut plugin and without dns plugin
Description
I installed the plugin argonaut for FusionDirectory
When I try to create a server I see the next crash
Fatal error: Uncaught NonExistingObjectTypeException: Non-existing type "dnsZone" in /usr/share/fusiondirectory/include/class_objects.inc:335
Stack trace:
#0 /usr/share/fusiondirectory/include/class_objects.inc(61): objects::infos('dnsZone')
#1 /usr/share/fusiondirectory/plugins/admin/systems/services/argonaut/class_argonautDNSConfig.inc(152): objects::ls(Array, NULL, 'dc=nodomain', '', true)
#2 /usr/share/fusiondirectory/plugins/admin/systems/class_serverService.inc(92): argonautDNSConfig->__construct('new', Object(ServerService))
#3 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(92): ServerService->__construct('new', Object(serverGeneric), Object(servtabs), false)
#4 /usr/share/fusiondirectory/include/class_objects.inc(279): simpleTabs->__construct('SERVER', 'new')
#5 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(693): objects::open('new', 'SERVER')
#6 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(945): simpleManagement->newEntry('new_SERVER in /usr/share/fusiondirectory/include/class_objects.inc on line 335
The crash disappear if I install the dns plugin
Distribution Name and Version
Debian Stretch
FusionDirectory Version
1.3
Plugin with the defect
Systems / DNS
PHP version used
7.0.33
Origin of php packages
Debian
Steps to Reproduce
- Install FD + Argonaut plugin
- Try to create a server and see the crash
- Install DNS plugin and try to create a server again to see it solve the issue
Expected behavior:
We should be able to use argonaut plugin alone without the dns plugin
Actual behavior:
It look like the DNS plugin must be a dependence of argonaut plugin
Reproduces how often: 100%