
Hallo Martin, da stehtnatürlich ;-) : package Kernel::System::Console::Command::Maint::FAQ::FAQValidCheck; Gruß Sepp
Vorländer, Martin <MV@pdv-systeme.de> 08.01.2021 12:47 >>> Hallo Sepp,
was ganz Dummes: hast Du das erste Statement in Deinem Package richtig gesetzt, oder steht dort immer noch ...::PendingCheck? Grüße Martin ‑‑‑‑‑Ursprüngliche Nachricht‑‑‑‑‑ Von: otrs‑de <otrs‑de‑bounces@lists.otrs.org> Im Auftrag von Josef Penzkofer Gesendet: Freitag, 8. Januar 2021 11:55 An: otrs‑de@otrs.org Betreff: [otrs‑de] Neues Console‑Command Hallo OTRS‑Community, habe in Anlehnung an das Modul PendingCheck.pm ein neues Console‑Command FAQValidCheck.pm erstelt. Dieses Modul liegt im Verzeichnis: /Kernel/System/Console/Command/Maint/FAQ Ich wollte dieses Modul nun testweise auf der Konsole ausführen und hab Fehlermeldungen in die Datei: FAQValidCheck.txt schreiben lassen. Auszug aus FAQValidCheck.txt Compilation failed in require at /opt/otrs/Kernel/System/ObjectManager.pm line 254. at /opt/otrs/Kernel/System/Console/Command/List.pm line 53. List.pm: for my $Command ( $Self‑>ListAllCommands() ) { Line 53: my $CommandObject = $Kernel::OM‑>Get($Command); my $CommandName = $CommandObject‑>Name(); # Group by toplevel namespace my ($CommandNamespace) = $CommandName =~ m/^([^:]+)::/smx; $CommandNamespace //= ''; if ( $CommandNamespace ne $PreviousCommandNameSpace ) { $UsageText .= "<yellow>$CommandNamespace</yellow>\n"; $PreviousCommandNameSpace = $CommandNamespace; } Muss ich das Command‑Modul noch im System registrieren? Ein bin/otrs.Console.pl Maint::Config::Rebuild hat leider nichts gebracht. Wenn ich das Modul ausführen möchte erhalte ich nun die Fehlermeldung: Error: Could not find Kernel::System::Console::Command::Maint::FAQ::FAQValidCheck. Vielen Dank Gruß Sepp ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ OTRS mailing list: otrs‑de ‑ Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs‑de To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs‑de