Hello,
In BACULUM WEB 11.0.2.2, if I click on one of my FILESET creations to get the 
detail, i get the following message.

Prado\Exceptions\TPhpErrorException

Description

[Warning] First parameter must either be an object or the name of an existing 
class (@line 158 in file 
/usr/share/baculum/htdocs/protected/Web/Portlets/BaculaConfigDirectives.php).

Fichier Source

/usr/share/baculum/htdocs/protected/Web/Portlets/BaculaConfigDirectives.php 
(158)
0147:             $data = $this->getData();
0148:             if (!empty($data)) {
0149:                 $config = $data;
0150:                 $predefined = true;
0151:             }
0152:         }
0153:         $data_desc = $this->Application->getModule('data_desc');
0154:         $resource_desc = $data_desc->getDescription($component_type, 
$resource_type);
0155:         foreach ($resource_desc as $directive_name => $directive_desc) {
0156:             $in_config = false;
0157:             if ($load_values === true) {
0158: $in_config = property_exists($config, $directive_name);0159: }0160: 0161: 
$directive_value = null;0162: if (($in_config === true && $load_values === 
true) || ($predefined && property_exists($config, $directive_name))) {0163: 
$directive_value = $config->{$directive_name};0164: }0165: 0166: $default_value 
= null;0167: $data = null;0168: $field_type = 'TextBox';0169: $resource = 
null;0170: $required = false;
Trace de la pile d'exécution:
#0 [internal function]: Prado\PradoBase::phpErrorHandler(2, 'First 
parameter...', '/usr/share/bacu...', 158, Array)
#1 
/usr/share/baculum/htdocs/protected/Web/Portlets/BaculaConfigDirectives.php(158):
 property_exists(Array, 'Name')
#2 
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TComponent.php(1169):
 BaculaConfigDirectives->loadConfig(Object(FileSetView), NULL, 
'ondirectivelist...')
#3 /usr/share/baculum/htdocs/protected/Web/Pages/FileSetView.php(57): 
Prado\TComponent->raiseEvent('ondirectivelist...', Object(FileSetView), NULL)
#4 
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TControl.php(1361):
 FileSetView->onPreRender(NULL)
#5 
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TPage.php(233):
 Prado\Web\UI\TControl->preRenderRecursive()
#6 
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TPage.php(208):
 Prado\Web\UI\TPage->processNormalRequest(Object(Prado\Web\UI\THtmlWriter))
#7 
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/Services/TPageService.php(528):
 Prado\Web\UI\TPage->run(Object(Prado\Web\UI\THtmlWriter))
#8 
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/Services/TPageService.php(465):
 Prado\Web\Services\TPageService->runPage(Object(FileSetView), Array)
#9 
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplication.php(1190):
 Prado\Web\Services\TPageService->run()
#10 
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplication.php(382):
 Prado\TApplication->runService()
#11 /usr/share/baculum/htdocs/index.php(31): Prado\TApplication->run()
#12 {main}
2021-08-18 13:58 Apache/2.4.6 (CentOS) PHP/7.3.28 PRADO/4.0.1

For example, my creation FileSet



Thank you for your answers


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to