OTRS 6.0.1 Notiz Entwurf

Hilfe zu OTRS Problemen aller Art
Post Reply
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

OTRS 6.0.1 Notiz Entwurf

Post by NancyL »

Hey OTRS Gemeinde,

in OTRS 6.0.1 habe ich die Meldung nachdem ein Entwurf erstellt wurde :

Backend ERROR: OTRS-CGI-11 Perl: 5.22.1 OS: linux Time: Thu Nov 23 12:34:24 2017

Message: No TicketID is given!

RemoteAddress:
RequestURI: /otrs/index.pl?Action=AgentTicketNote;TicketID=;LoadFormDraft=1;FormDraftID=2

Traceback (1413):
Module: Kernel::Output::HTML::Layout::Error Line: 1021
Module: Kernel::Output::HTML::Layout::ErrorScreen Line: 1002
Module: Kernel::Modules::AgentTicketActionCommon::Run Line: 108
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1098
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32


die Meldung erscheint beim öffnen und beim Löschen des Entwurf.
kann das jemand nachstellen oder einen Tipp zum beheben geben?
OTRS 6.0.30 /OS: Ubuntu/ Mysql
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: OTRS 6.0.1 Notiz Entwurf

Post by NancyL »

gebe ich den link mit ID ein klappt es - klar
/otrs/index.pl?Action=AgentTicketNote;TicketID=xxxx;LoadFormDraft=1;FormDraftID=5

aber wie wird das zusammen gebaut und warum macht es das nicht allein ...
jemand ne Idee?
OTRS 6.0.30 /OS: Ubuntu/ Mysql
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 6.0.1 Notiz Entwurf

Post by jojo »

Umlaute im Entwurfsnamen?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: OTRS 6.0.1 Notiz Entwurf

Post by NancyL »

Hallo Jojo,

nein keine Umlaute - in der DB werden die Datensätze auch komplett erzeugt. Allerdings wird im Fehler die TicketID gefragt, auf der DB als ObjectID angelegt ...
Unbenannt.JPG
You do not have the required permissions to view the files attached to this post.
OTRS 6.0.30 /OS: Ubuntu/ Mysql
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: OTRS 6.0.1 Notiz Entwurf

Post by NancyL »

Hallo,

ich hole das nochmal vor - komme nicht weiter,
habe ein anderes System (Standard) von OTRS 5 auf 6.0.4 updatete - Wir setzen als DB Oracle ein.

Sweit passt alles wunderbar... nur auch hier wird der Link für Notizentwürfe nicht vollständig zusammengesetzt.

Ich fasse mal zusammen:

Link: /otrs/index.pl?Action=AgentTicketNote;TicketID=;LoadFormDraft=1;FormDraftID=3

Meldung:

Ein Fehler ist aufgetreten
Keine TicketID übermittelt!


gebe ich die ID ein passt es:
1.JPG
Auf der DB ist der Artikel entsprechend abgelegt

die Suche auf ein Teil des links ...also: fgrep -R ";LoadFormDraft=1;FormDraftID="
bringt folgendes Ergebnis:



Kernel/Output/HTML/Templates/Standard/AgentTicketZoom.tt:

href="[% Env("Baselink") %][% FormDraft.Link | Interpolate %];LoadFormDraft=1;FormDraftID=[% FormDraft.FormDraftID | html %]"

in der Datei geht es dann auch Inder Zeile 82 los:

Code: Select all

[% RenderBlockStart("FormDraftTable") %]
            <div class="WidgetSimple">
                <div class="Header">
                    <div class="WidgetAction Toggle">
                        <a href="#" title="[% Translate("Show or hide the content") | html %]"><i class="fa fa-caret-right"></i><i class="fa fa-caret-down"></i></a>
                    </div>
                    <h2>[% Translate( "Drafts") | html %]</h2>
                </div>

                <div class="Content">
                    <table class="DataTable" id="FormDraftTable">
                        <tbody>
                            [% FOREACH FormDraft IN Data.FormDrafts %]
                            <tr class="MasterAction">
                                <td class="DraftName">
                                    <a
                                        href="[% Env("Baselink") %][% FormDraft.Link | Interpolate %];LoadFormDraft=1;FormDraftID=[% FormDraft.FormDraftID | html %]"
                                        class="[% FormDraft.Class | html %] MasterActionLink"
                                        [% FormDraft.LinkParam %]>

                                        <span title="[% Translate(FormDraft.Description) | html %]">
                                            [% Translate(FormDraft.Name) | html %] -
                                        </span>
                                        <span title="[% Translate("Created") | html %] [% FormDraft.CreateTime | Localize("TimeShort") %] [% Translate("by") | html %] [% FormDraft.CreatedByUser | html %] [% Translate("Changed") | html %] [% FormDraft.ChangeTime | Localize("TimeShort") %] [% Translate("by") | html %] [% FormDraft.ChangedByUser | html %]">
                                            [% FormDraft.Title | html %]
                                        </span>
                                    </a>
                                </td>
Nur leider verstehe ich nicht was hier schief geht und wo der Link falsch zusammengebaut wird?

ich komme an der Stelle nicht weiter ...


mein Bug ist auch schon zu:

https://bugs.otrs.org/show_bug.cgi?id=13380
You do not have the required permissions to view the files attached to this post.
OTRS 6.0.30 /OS: Ubuntu/ Mysql
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: OTRS 6.0.1 Notiz Entwurf

Post by NancyL »

...vielleicht weiß jemand ob und wo man zur Lösung dieses Problems einmalig Support ohne Servicevertrag einkaufen kann?
OTRS 6.0.30 /OS: Ubuntu/ Mysql
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: OTRS 6.0.1 Notiz Entwurf

Post by wurzel »

Hi,

es gibt 'ne Liste hier
viewtopic.php?f=104&t=8247&hilit=OTRS

aber ob die aktuell ist?

viele Grüße
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Post Reply