nach unendlich vielen Versuchen, "OwnerIDs" in Dashlets als Attribut zu nutzen, brauche ich jetzt eure Hilfe.
Wir haben ein laufendes System (OTRS 4.0.6) und wollen bestimmte Suchen als Dashlets im Dashboard darstellen.
Alle Attribute aus dem Kernel::System::Ticket::TicketSearch funktionieren ohne Probleme, außer das dringend benötigte "OwnerIDs".
Wir haben auch weitere, teilweise selbstentwickelte Pakete, die laufen. Jedoch habe ich genau die gleichen Dashlets auch auf einem Clean-Install (ebenfalls OTRS 4.0.6) getestet. Auch dort funktioniert die Suche gefiltert nach bestimmten Besitzern nicht. Deshalb schließe ich unsere Module aus.
Die Dashlets werden angezeigt. Das Ergebnis sind jedoch alle Tickets im Ticketsystem, komplett ungefiltert. Folgendes Dashlet bspw. funktioniert nicht:
Auch mehrere Attribute verknüpft mit der OwnerID funktionieren nicht.<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Config">
<ConfigItem Name="DashboardBackend###001_dashlets" Required="1" Valid="1">
<Description Translatable="1">Parameters for the dashboard backend of the ticket pending reminder overview of the agent interface. "Limit" is the number of entries shown by default. "Group" is used to restrict the access to the plugin (e. g. Group: admin;group1;group2;). "Default" determines if the plugin is enabled by default or if the user needs to enable it manually. "CacheTTLLocal" is the cache time in minutes for the plugin.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Dashboard</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
<Item Key="Title">OwnerID-Test</Item>
<Item Key="Description">Test fuer die Owner-ID</Item>
<Item Key="Attributes">OwnerIDs=79;</Item>
<Item Key="Filter">All</Item>
<Item Key="Time">Age</Item>
<Item Key="Limit">10</Item>
<Item Key="Permission">rw</Item>
<Item Key="Block">ContentLarge</Item>
<Item Key="Group">Beta;</Item>
<Item Key="Default">1</Item>
<Item Key="CacheTTLLocal">0.5</Item>
<Item Key="DefaultColumns">
<Hash>
<Item Key="Age">2</Item>
<Item Key="Changed">1</Item>
<Item Key="CustomerID">1</Item>
<Item Key="CustomerName">1</Item>
<Item Key="CustomerUserID">1</Item>
<Item Key="EscalationResponseTime">1</Item>
<Item Key="EscalationSolutionTime">1</Item>
<Item Key="EscalationTime">1</Item>
<Item Key="EscalationUpdateTime">1</Item>
<Item Key="TicketNumber">2</Item>
<Item Key="Lock">1</Item>
<Item Key="Owner">1</Item>
<Item Key="PendingTime">1</Item>
<Item Key="Queue">1</Item>
<Item Key="Responsible">1</Item>
<Item Key="Priority">1</Item>
<Item Key="Service">1</Item>
<Item Key="State">1</Item>
<Item Key="SLA">1</Item>
<Item Key="Title">2</Item>
<Item Key="Type">1</Item>
</Hash>
</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
Ist der Code ggf. falsch? Oder müssen wir noch irgendetwas anderes beachten? Wir sind für jede Hilfe dankbar.
Viele Grüße