N°463 use CDATA on oql tags

This commit is contained in:
vdumas
2021-08-25 14:12:47 +02:00
parent 32e0031242
commit 8d59024d8e
3 changed files with 75 additions and 75 deletions

View File

@@ -4,7 +4,7 @@
<name>Bearbeiter des Tickets</name>
<description>Kann in Benachrichtigungen genutzt werden, um den Bearbeiter des Tickets zu verständigen.</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;agent_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->agent_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -14,7 +14,7 @@
Es wird keine E-Mail gesendet, wenn die auslösende Person der Benachrichtigung der Bearbeiter des Tickets ist.
</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;agent_id AND id != :current_contact_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->agent_id AND id != :current_contact_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -22,10 +22,10 @@
<name>Melder und Kontaktliste des Tickets</name>
<description>Kann in Benachrichtigungen verwendet werden, um den Melder und alle verknüpften Kontakte eines Tickets zu verständigen.</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this-&gt;id
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this->id
UNION
SELECT Person WHERE id=:this-&gt;caller_id
</oql>
SELECT Person WHERE id=:this->caller_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -33,7 +33,7 @@
<name>Melder des Tickets</name>
<description>Kann in Benachrichtigungen verwendet werden, um den Melder zu verständigen.</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;caller_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->caller_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -41,7 +41,7 @@
<name>Kontaktliste des Tickets</name>
<description>Kann in Benachrichtigungen verwendet werden, um alle verknüpften Kontakte eines Tickets zu verständigen</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this-&gt;id</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this->id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -49,7 +49,7 @@
<name>Manager des Ticketmelders</name>
<description>Kann in Benachrichtigungen verwendet werden, um den Manager des Melders eines Tickets zu verständigen.</description>
<is_template>yes</is_template>
<oql>SELECT Person AS manager JOIN Person AS employee ON employee.manager_id = manager.id WHERE employee.id=:this-&gt;caller_id</oql>
<oql><![CDATA[SELECT Person AS manager JOIN Person AS employee ON employee.manager_id = manager.id WHERE employee.id=:this->caller_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -59,7 +59,7 @@
Wird dieser Befehl allein ausgelöst, wird die Person zurückgegeben, die mit dem angemeldeten Benutzer verknüpft ist, der diesen Befehl ausführt.
</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id = :current_contact_id</oql>
<oql><![CDATA[SELECT Person WHERE id = :current_contact_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -67,9 +67,9 @@
<name>Teammitglieder des Tickets</name>
<description>Kann in Benachrichtigungen verwendet werden, um den alle Mitglieder des Teams zu verständigen, an das das Ticket verteilt ist.</description>
<is_template>yes</is_template>
<oql>SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this-&gt;team_id
</oql>
<oql><![CDATA[SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this->team_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -79,9 +79,9 @@
Der Bearbeiter des Tickets ist aus dieser Liste ausgeschlossen.
</description>
<is_template>yes</is_template>
<oql>SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this-&gt;team_id AND P.id != :this-&gt;agent_id
</oql>
<oql><![CDATA[SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this->team_id AND P.id != :this->agent_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -89,7 +89,7 @@
<name>Team des Tickets</name>
<description>Kann in Benachrichtigungen verwendet werden, um das Team, an das das Ticket verteilt ist, über eine hinterlegte Team-Mail-Ad­res­se zu benachrichtigen.</description>
<is_template>yes</is_template>
<oql>SELECT Team WHERE id = :this-&gt;team_id</oql>
<oql><![CDATA[SELECT Team WHERE id = :this->team_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -97,9 +97,9 @@
<name>Kontaktliste eines Funktionales CI</name>
<description>Kann in Benachrichtigungen verwendet werden, um alle verknüpften Kontakte eines Funktionales CI zu verständigen</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToFunctionalCI AS L ON L.contact_id=C.id
WHERE L.functionalci_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToFunctionalCI AS L ON L.contact_id=C.id
WHERE L.functionalci_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -107,9 +107,9 @@
<name>Kontaktliste eines Dienstes</name>
<description>Kann in Benachrichtigungen verwendet werden, um alle verknüpften Kontakte eines Dienstes zu verständigen</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToService AS L ON L.contact_id=C.id
WHERE L.service_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToService AS L ON L.contact_id=C.id
WHERE L.service_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -117,9 +117,9 @@
<name>Kontaktliste eines Vertrages</name>
<description>Kann in Benachrichtigungen verwendet werden, um alle verknüpften Kontakte eines Vertrages zu verständigen</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToContract AS L ON L.contact_id=C.id
WHERE L.contract_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToContract AS L ON L.contact_id=C.id
WHERE L.contract_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>

View File

@@ -4,7 +4,7 @@
<name>Agent of the Ticket</name>
<description>Can be used in Notification, to notify the agent of a Ticket.</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;agent_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->agent_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -14,7 +14,7 @@
No email will be send if the person who triggered that notification is the agent himself.
</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;agent_id AND id != :current_contact_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->agent_id AND id != :current_contact_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -22,10 +22,10 @@
<name>Caller and Contacts linked to the Ticket</name>
<description>Can be used in Notification, to notify the caller and all contacts associated to a Ticket</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this-&gt;id
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this->id
UNION
SELECT Person WHERE id=:this-&gt;caller_id
</oql>
SELECT Person WHERE id=:this->caller_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -33,7 +33,7 @@
<name>Caller of the Ticket</name>
<description>To be used in Notification, to notify the caller of a Ticket</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;caller_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->caller_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -41,7 +41,7 @@
<name>Contacts linked to the Ticket</name>
<description>Can be used in Notification, to notify contacts associated to a Ticket</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this-&gt;id</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this->id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -49,7 +49,7 @@
<name>Manager of the Ticket caller</name>
<description>Can be used in Ticket Notification, to notify the manager of the caller.</description>
<is_template>yes</is_template>
<oql>SELECT Person AS manager JOIN Person AS employee ON employee.manager_id = manager.id WHERE employee.id=:this-&gt;caller_id</oql>
<oql><![CDATA[SELECT Person AS manager JOIN Person AS employee ON employee.manager_id = manager.id WHERE employee.id=:this->caller_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -59,7 +59,7 @@
If used alone, it returns the person connected to iTop and running that query.
</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id = :current_contact_id</oql>
<oql><![CDATA[SELECT Person WHERE id = :current_contact_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -67,9 +67,9 @@
<name>Team members of the Ticket</name>
<description>Can be used in Notification, to notify the team members, to which the Ticket was dispatched.</description>
<is_template>yes</is_template>
<oql>SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this-&gt;team_id
</oql>
<oql><![CDATA[SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this->team_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -79,9 +79,9 @@
The agent himself is excluded from that list.
</description>
<is_template>yes</is_template>
<oql>SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this-&gt;team_id AND P.id != :this-&gt;agent_id
</oql>
<oql><![CDATA[SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this->team_id AND P.id != :this->agent_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -89,7 +89,7 @@
<name>Team of the Ticket</name>
<description>Can be used in Notification, to notify the team generic email, to which the Ticket was dispatched.</description>
<is_template>yes</is_template>
<oql>SELECT Team WHERE id = :this-&gt;team_id</oql>
<oql><![CDATA[SELECT Team WHERE id = :this->team_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -97,9 +97,9 @@
<name>Contacts of a Functional CI</name>
<description>Can be used in Notification, to notify the Contacts linked to the Functional CI.</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToFunctionalCI AS L ON L.contact_id=C.id
WHERE L.functionalci_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToFunctionalCI AS L ON L.contact_id=C.id
WHERE L.functionalci_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -107,9 +107,9 @@
<name>Contacts of a Service</name>
<description>Can be used in Notification, to notify the Contacts linked to the Service.</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToService AS L ON L.contact_id=C.id
WHERE L.service_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToService AS L ON L.contact_id=C.id
WHERE L.service_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -117,9 +117,9 @@
<name>Contacts of a Contract</name>
<description>Can be used in Notification, to notify the Contacts linked to the Contract.</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToContract AS L ON L.contact_id=C.id
WHERE L.contract_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToContract AS L ON L.contact_id=C.id
WHERE L.contract_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>

View File

@@ -4,7 +4,7 @@
<name>L'agent du ticket</name>
<description>Utilisable dans les notifications, pour informer l'agent en charge du ticket.</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;agent_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->agent_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -13,7 +13,7 @@
<description>Utilisable dans les notifications, pour informer l'agent en charge du ticket, sauf si c'est l'agent lui-même qui déclenche la notification
</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;agent_id AND id != :current_contact_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->agent_id AND id != :current_contact_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -21,9 +21,9 @@
<name>Le demandeur et les contacts liés au Ticket</name>
<description>Utilisable dans les notifications, pour informer le demandeur ainsi que tout les contacts liés au ticket</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this-&gt;id
UNION SELECT Person WHERE id=:this-&gt;caller_id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this->id
UNION SELECT Person WHERE id=:this->caller_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -31,7 +31,7 @@
<name>Le demandeur du Ticket</name>
<description>Utilisable dans les notifications, pour informer le demandeur du ticket</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id=:this-&gt;caller_id</oql>
<oql><![CDATA[SELECT Person WHERE id=:this->caller_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -39,7 +39,7 @@
<name>Les contacts liés au Ticket</name>
<description>Utilisable dans les notifications, pour informer tout les contacts liés au ticket</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this-&gt;id</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToTicket AS L ON L.contact_id=C.id WHERE L.ticket_id=:this->id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -47,7 +47,7 @@
<name>Le manager du demandeur</name>
<description>Utilisable dans les notifications, pour informer le manager du demandeur d'un Ticket</description>
<is_template>yes</is_template>
<oql>SELECT Person AS manager JOIN Person AS employee ON employee.manager_id = manager.id WHERE employee.id=:this-&gt;caller_id</oql>
<oql><![CDATA[SELECT Person AS manager JOIN Person AS employee ON employee.manager_id = manager.id WHERE employee.id=:this->caller_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -57,7 +57,7 @@
Utilisée seule, cette requête retourne la personne liée à l'utilisateur iTop qui l'execute.
</description>
<is_template>yes</is_template>
<oql>SELECT Person WHERE id = :current_contact_id</oql>
<oql><![CDATA[SELECT Person WHERE id = :current_contact_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -65,9 +65,9 @@
<name>Les membres de l'équipe en charge du Ticket</name>
<description>Utilisable dans les notifications, pour informer les membres de l'équipe en charge du ticket.</description>
<is_template>yes</is_template>
<oql>SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this-&gt;team_id
</oql>
<oql><![CDATA[SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this->team_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -77,9 +77,9 @@
L'agent lui-même est exclus de cette liste.
</description>
<is_template>yes</is_template>
<oql>SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this-&gt;team_id AND P.id != :this-&gt;agent_id
</oql>
<oql><![CDATA[SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this->team_id AND P.id != :this->agent_id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -87,7 +87,7 @@
<name>L'équipe du Ticket</name>
<description>Utilisable dans les notifications, pour informer l'équipe en charge du ticket, via son email générique.</description>
<is_template>yes</is_template>
<oql>SELECT Team WHERE id = :this-&gt;team_id</oql>
<oql><![CDATA[SELECT Team WHERE id = :this->team_id]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -95,9 +95,9 @@
<name>Les contacts d'un CI fonctionnel</name>
<description>Utilisable dans les notifications, pour informer les contacts liés au CI fonctionnel courant.</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToFunctionalCI AS L ON L.contact_id=C.id
WHERE L.functionalci_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToFunctionalCI AS L ON L.contact_id=C.id
WHERE L.functionalci_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -105,9 +105,9 @@
<name>Les contacts d'un Service</name>
<description>Utilisable dans les notifications, pour informer les contacts liés au Service courant.</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToService AS L ON L.contact_id=C.id
WHERE L.service_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToService AS L ON L.contact_id=C.id
WHERE L.service_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>
@@ -115,9 +115,9 @@
<name>Les contacts d'un Contrat</name>
<description>Utilisable dans les notifications, pour informer les contacts liés au Contrat courant.</description>
<is_template>yes</is_template>
<oql>SELECT Contact AS C JOIN lnkContactToContract AS L ON L.contact_id=C.id
WHERE L.contract_id = :this-&gt;id
</oql>
<oql><![CDATA[SELECT Contact AS C JOIN lnkContactToContract AS L ON L.contact_id=C.id
WHERE L.contract_id = :this->id
]]></oql>
<fields>id,email</fields>
<finalclass>QueryOQL</finalclass>
</QueryOQL>