Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamciField Script: Emptying the "Preview Triggers" option shows error "Bad value in PreviewTriggers." #4121

Closed
StefanAbel-OTOBO opened this issue Feb 5, 2025 · 0 comments · Fixed by #4122
Assignees
Labels
bug Something isn't working as intended
Milestone

Comments

@StefanAbel-OTOBO
Copy link
Contributor

Steps to reproduce:

  1. Add a new Dynamic Field for object Ticket with type Script (Template Toolkit) and fill out e.g. Name, Label, Expression, Requirements and Storage Triggers (Events), but not the Preview Triggers - and save it.
  2. Open it again, select anything in Preview Triggers (confirm to select), end empty it again with X (remove selection). Now try to save it, and see the error message:

Bad value in PreviewTriggers.
Backend ERROR: OTOBO-CGI-313 Perl: 5.34.0 OS: linux Time: Wed Feb 5 17:27:12 2025

Message: Bad value in PreviewTriggers.

 RemoteAddress: [.....]
 RequestURI: /otobo/index.pl

 Traceback (3772210): 
   Module: Kernel::Output::HTML::Layout::Error Line: 1104
   Module: Kernel::Output::HTML::Layout::ErrorScreen Line: 1084
   Module: Kernel::Modules::AdminDynamicFieldScript::_ChangeAction Line: 625
   Module: Kernel::Modules::AdminDynamicFieldScript::Run Line: 156
   Module: Kernel::System::Web::InterfaceAgent::Content Line: 1247
   Module: Kernel::System::Web::InterfaceAgent::Response Line: 1329
   Module: Kernel::System::Web::App::call Line: 86
   Module: Plack::Component::__ANON__ Line: 50
   Module: Plack::App::URLMap::call Line: 71
   Module: Plack::Component::__ANON__ Line: 50
   Module: Plack::Sandbox::_2fhome_2fVirtualOTOBO_2fov313_2fbin_2fcgi_2dbin_2f_2e_2e_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 184
   Module: Plack::Sandbox::_2fhome_2fVirtualOTOBO_2fov313_2fbin_2fcgi_2dbin_2f_2e_2e_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 154
   Module: Plack::Sandbox::_2fhome_2fVirtualOTOBO_2fov313_2fbin_2fcgi_2dbin_2f_2e_2e_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 140
   Module: Plack::Middleware::HTTPExceptions::try {...}  Line: 20

Tested on ov313 with 11.0.7 (DynamicField "SkriptTest"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants