Hi Claude,
Do you have the menu “Attachments” in the “Queue &
Responses” column in the OTRS admin panel? That is the place where you
will find the list of available attachments.
If so, just select an attachment, click “Change” and look at the
bottom dark grey bar of the right attachment attribute view, there is a
blue link called “delete this attachment” left beside your “add a
attachment” link. If there is not that link duo, you are probably using
a modified *dtl file.
I recommend to run this command to see if the link is missing at
all:
grep -ir "delete this attachment”
$OTRS_HOME/Kernel/Output/HTML/
My output is the following and this should be similar to yours:
mole:Kernel root# grep -ir "delete this attachment"
/opt/otrs246itsm/Kernel/Output/
/opt/otrs246itsm/Kernel/Output/HTML/Standard/AdminAttachmentForm.dtl:
<dtl if ($Data{"Subaction"} eq "Change") { $Data{"DeleteLink"} =
"$Text{"delete this attachment"}"; }>

On 25.10.2010, at 11:05, PREF31 OTRS wrote:
Hi,
I already tried this solution and It doesn't work. So I told you, I
only have "add a attachment" and not the list of attachments so I can't
delete one .
I will try to remove all references to these files in BDD (on a test
server).
Thanks you anyway
Claude
-------- Message original --------
Sujet : Re: [otrs] Attachments <-> Responses
De : Michiel Beijen
<michiel.beijen@otrs.com>
Pour : User questions and discussions about OTRS.
<otrs@otrs.org>
Date : 22/10/2010 15:54
Hi Claude,
I'm afraid you are using versions of files that are meant for upcoming
OTRS 3 and not for the OTRS 2.4 branch.
Again; please make sure to get these three files:
otrs/Kernel/System/StdAttachment.pm version 1.31.2.2
http://source.otrs.org/viewvc.cgi/otrs/Kernel/System/StdAttachment.pm?revision=1.31.2.2&view=markup
otrs/Kernel/Modules/AdminAttachment.pm version 1.21.2.1
http://source.otrs.org/viewvc.cgi/otrs/Kernel/Modules/AdminAttachment.pm?revision=1.21.2.1&view=markup
otrs/Kernel/Output/HTML/Standard/AdminAttachmentForm.dtl version 1.18.2.1
http://source.otrs.org/viewvc.cgi/otrs/Kernel/Output/HTML/Standard/AdminAttachmentForm.dtl?revision=1.18.2.1&view=markup
--
Mike
On Thu, Oct 21, 2010 at 3:39 PM, PREF31 OTRS
<otrs@haute-garonne.pref.gouv.fr> wrote:
Hi Mike,
Thanks for your mail, but your solution doesn't work. I have only "Add a new
Attachment." in a left panel and in the right panel, attachments are listed
but I can only change attributes
I try this :
I have downloaded the most recent version of AdminAttachment.pm and
StdAttachment.pm and I found a note saying that the AdminAttachmentForm.dtl
file was a dead file and will be replaced by the AdminAttachment.dtl.
With this files now I can add, modify or delete attachment
But menu 'responses' doesn't work.
I have software error :
in 'responses'
Can't locate object method "GetAllStdAttachments" via package
"Kernel::System::StdAttachment" at ../..//Kernel/Modules/AdminResponse.pm
line 67.
Regards and sorry for my bad english
Claude
-------- Message original --------
Sujet : Re: [otrs] Attachments <-> Responses
De : Michiel Beijen <michiel.beijen@otrs.com>
Pour : User questions and discussions about OTRS. <otrs@otrs.org>
Date : 20/10/2010 12:50
Hi Claude,
The file otrs/Kernel/System/StdAttachment.pm mentioned in the bug
report was not completely correct and has been updated since. Please
try again with this version:
http://source.otrs.org/viewvc.cgi/otrs/Kernel/System/StdAttachment.pm?revision=1.31.2.2&view=markup
--
Mike
On Wed, Oct 20, 2010 at 12:38 PM, PREF31 OTRS
<otrs@haute-garonne.pref.gouv.fr> wrote:
Hi,
This problem was already fixed in bug 4658.
So I donwload the three files mentioned and I replace
Kernel/Output/HTML/Standard/AdminAttachmentForm.dtl,
Kernel/Modules/AdminAttachment.pm and Kernel/System/StdAttachment.pm with
the files downloaded.
But it's doesn't work, now when I go to management -> attachements there is
no attachment listed.
Thanks
Claude
-------- Message original --------
Sujet : Re: [otrs] Attachments <-> Responses
De : Nils Leideck - ITSM <nils.leideck@leidex.net>
Pour : User questions and discussions about OTRS. <otrs@otrs.org>
Date : 12/10/2010 12:37
Hi,
Could you please be so kind and spent some minutes to open a Bug entry on
http://bugs.otrs.org for this one.
On 08.10.2010, at 22:46, PREF31 OTRS wrote:
I have one attachment associated to one response . How can I delete this
attachement ?
When I try to delete the attachment, it occurs the error "Invalid Challenge
Token"
Cheers, Nils
—
Nils Leideck
Senior Consultant
http://webint.cryptonode.de / a Fractal project
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Cheers, Nils
—
Nils Leideck
Senior Consultant
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs