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

Link handling bug with multivalue reference fields #34

Open
stefanhaerter opened this issue Dec 17, 2024 · 0 comments
Open

Link handling bug with multivalue reference fields #34

stefanhaerter opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@stefanhaerter
Copy link
Contributor

When using a multivalue reference field (ConfigItem in this case) and filling the values like so:

Bildschirmfoto_20241217_083425

the following error pops up in the log:

web-1      | DBD::mysql::st execute_array failed: executing 3 generated 1 errors at /opt/otobo/bin/psgi-bin/../../Kernel/System/DB.pm line 656.
web-1      | ERROR: OTOBO-CGI-10 Perl: 5.38.2 OS: linux Time: Tue Dec 17 07:28:10 2024
web-1      | 
web-1      |  Message: Need ConfigItemID!
web-1      | 
web-1      |  RemoteAddress: 127.0.0.1
web-1      |  RequestURI: /
web-1      | 
web-1      |  Traceback (16): 
web-1      |    Module: Kernel::System::ITSMConfigItem::CurInciStateRecalc Line: 1682
web-1      |    Module: Kernel::System::ITSMConfigItem::Event::RecalcCurInciState::Run Line: 159
web-1      |    Module: (eval) Line: 241
web-1      |    Module: Kernel::System::EventHandler::EventHandler Line: 235
web-1      |    Module: Kernel::System::EventHandler::EventHandlerTransaction Line: 308
web-1      |    Module: Kernel::System::ObjectManager::ObjectEventsHandle Line: 459
web-1      |    Module: Kernel::System::ObjectManager::ObjectsDiscard Line: 507
web-1      |    Module: Kernel::System::ObjectManager::DESTROY Line: 677
web-1      |    Module: (eval) Line: 720
web-1      |    Module: Plack::Sandbox::_2fopt_2fotobo_2fbin_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 720
web-1      |    Module: Plack::Sandbox::_2fopt_2fotobo_2fbin_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 154
web-1      |    Module: Plack::Sandbox::_2fopt_2fotobo_2fbin_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 140
web-1      |    Module: Plack::Middleware::HTTPExceptions::try {...}  Line: 20

I didn't do any deep digging yet, but I suspect that Kernel::System::LinkObject::ITSMConfigItem::LinkAddPost() may be involved.

@stefanhaerter stefanhaerter added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant