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 <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
> 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

Reply via email to