Ok thanks,
PLASSE Lionel | Administrateur systèmes et réseaux 221 Allée de Fétan 01600 TREVOUX | https://www.google.fr/maps/place/221+Allée+de+Fétan,+01600+Trévoux/@45.9445028,4.7581844,17z/data=!4m13!1m7!3m6!1s0x47f4906e98463259:0x32e33a7755284538!2zMjEyIEFsbMOpZSBkZSBGw6l0YW4sIDAxNjAwIFRyw6l2b3V4!3b1!8m2!3d45.9444281!4d4.7578088!3m4!1s0x47f4906e98463259:0x32e33a7755284538!8m2!3d45.9444281!4d4.7578088?hl=fr Tel : 04.37.49.91.39 pla...@cofiem.fr https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/ De : Marcin Haba <ganius...@gmail.com> Envoyé : vendredi 10 mars 2023 19:54 À : Lionel PLASSE <pla...@cofiem.fr> Cc : bacula-users <bacula-users@lists.sourceforge.net> Objet : Re: [Bacula-users] Baculum 11.6 Adding new section block or File/Dir Field error Hello Lionel, This is a bug that is fixed in Branch-13.0 starting from version 13.0.0. https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/b706fe1929ae5655eb0899392101f93713e4dffc Best regards, Marcin Haba (gani) On Fri, 10 Mar 2023 at 10:16, Lionel PLASSE <mailto:pla...@cofiem.fr> wrote: Hello, I'm testing baculum 11.6 with Bacula 13.0.1 on Debian bullseye , php v 8.2.3 , mysql Ver 15.1 Distrib 10.10.3-MariaDB, apache2 All works good except when I want to add an option block or include/exlude block in a fileset or add a new single file/directory it always focus on the last current field or block and don't create new fields or blocks It is the same in job section when adding a runscript block In firefox (but don't works on edge/chromium too) TypeError with message "method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given" in /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveControlTemplate.php(37) Stack trace: #0 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveControlTemplate.php(37): undefined->method_exists() #1 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTemplate.php(108): DirectiveControlTemplate->getCmdParam() #2 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTemplate.php(190): DirectiveTemplate->saveValue() #3 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTextBox.php(46): DirectiveTemplate->getDirectiveValue() #4 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(129): DirectiveTextBox->createDirective() #5 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(88): DirectiveRenderer->createItem() #6 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(82): DirectiveRenderer->createItemInternal() #7 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1681): DirectiveRenderer->loadState() #8 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1250): Prado\Web\UI\TControl->loadStateRecursive() #9 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControlCollection.php(65): Prado\Web\UI\TControl->addedControl() #10 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Collections/TList.php(144): Prado\Web\UI\TControlCollection->insertAt() #11 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(473): Prado\Collections\TList->add() #12 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(637): Prado\Web\UI\WebControls\TRepeater->createItemInternal() #13 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(606): Prado\Web\UI\WebControls\TRepeater->restoreItemsFromViewState() #14 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControlAdapter.php(71): Prado\Web\UI\WebControls\TRepeater->loadState() #15 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1679): Prado\Web\UI\TControlAdapter->loadState() #16 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): Prado\Web\UI\TControl->loadStateRecursive() #17 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): Prado\Web\UI\TControl->loadStateRecursive() #18 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): Prado\Web\UI\TControl->loadStateRecursive() #19 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): Prado\Web\UI\TControl->loadStateRecursive() #20 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): Prado\Web\UI\TControl->loadStateRecursive() #21 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): Prado\Web\UI\TControl->loadStateRecursive() #22 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(794): Prado\Web\UI\TControl->loadStateRecursive() #23 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(340): Prado\Web\UI\TPage->loadPageState() #24 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(203): Prado\Web\UI\TPage->processCallbackRequest() #25 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/Services/TPageService.php(528): Prado\Web\UI\TPage->run() #26 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/Services/TPageService.php(465): Prado\Web\Services\TPageService->runPage() #27 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/TApplication.php(1190): Prado\Web\Services\TPageService->run() #28 /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/TApplication.php(382): Prado\TApplication->runService() #29 /usr/share/baculum/htdocs/index.php(32): Prado\TApplication->run() Apache/2.4.54 (Debian) 4.0.1 2023-03-10 08:28 _______________________________________________ Bacula-users mailing list mailto:Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- "Greater love hath no man than this, that a man lay down his life for his friends." Jesus Christ "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users