ladybirdweb / faveo-helpdesk

Faveo Open source ticketing system build on Laravel framework
https://www.faveohelpdesk.com/online-demo/
Open Software License 3.0
1.16k stars 565 forks source link

Add child custom forms to a select option from parent custom form #730

Open louisServeurcom opened 5 years ago

louisServeurcom commented 5 years ago

Description:

When I'm trying to open ticket I select my help topic with a custom form, select option appear and when I check some option the child custom form link to the option doesn't appear (I got server error code 500), and when I'm trying to send it says me that the child field is requiered.

I think it's related to this docker log error:

2019/01/07 11:39:36 [error] 28#28: *607 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught DaveJamesMiller\Breadcrumbs\Exception: Breadcrumb not found with name "forms.field.child" in /usr/share/nginx/vendor/davejamesmiller/laravel-breadcrumbs/src/Generator.php:20  Stack trace:

0 /usr/share/nginx/vendor/davejamesmiller/laravel-breadcrumbs/src/Generator.php(13): DaveJamesMiller\Breadcrumbs\Generator->call('forms.field.chi...', Array)

1 /usr/share/nginx/vendor/davejamesmiller/laravel-breadcrumbs/src/Manager.php(97): DaveJamesMiller\Breadcrumbs\Generator->generate(Array, 'forms.field.chi...', Array)

2 /usr/share/nginx/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(223): DaveJamesMiller\Breadcrumbs\Manager->render()

3 /usr/share/nginx/storage/framework/views/ff7e6d1d352128a5baa3e315d6eb7c595fc46ad2.php(247): Illuminate\Support\Facades\Facade::__callStatic('render', Array)

4 /usr/share/nginx/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(43): include('/usr/share/ngin...')

5 /usr/share/nginx/vendor/laravel/framework/...

PHP message: PHP Fatal error: Uncaught DaveJamesMiller\Breadcrumbs\Exception: Breadcrumb not found with name "forms.field.child" in /usr/share/nginx/vendor/davejamesmiller/laravel-breadcrumbs/src/Generator.php:20

Steps To Reproduce:

  1. Create Help topic
  2. Create a custom form with a field select required with few options
  3. Link custom form to help topic in help topic view
  4. Create another custom form with radio button field (Yes,No) requiered
  5. Add child to one option on select field of first custom form
  6. Save and check on ticket view

Downloaded from

louisServeurcom commented 5 years ago

Apparently this appear on docker install from ladybirdweb/faveo-docker but when I install on local version on apache2 no problem.