Hi
I managed to figure out a workaround,
I observed that on each attachment link of the AgentTicketZoom view has a missing sessionID
Hence, whenever I click on the attachment link, I will need to re-authenticate.
I tried adding the sessionID at end of the attachment link found in the AgentTicketZoom.dtl extension file.
The workaround seems to work.
Is this a bug ?
Please comment
Thanks
Xiaob
AgentTicketZoom.dtl,v 1.62.2.2
/otrs/Kernel/Output/HTML/Standard/AgentTicketZoom.dtl
added on Line90 and Line158
......&Session=$Env{SessionID"}.....
89 <!-- dtl:block:TreeItemAttachment -->
90 <a href="$Env{"CGIHandle"}/$LQData{"Filename"}?Action=AgentTicketAttachment&ArticleID=$QData{"ArticleID"}&FileID=$QData{"FileID"}&Session=$Env{SessionID"}" title="$QData{"Filename"} - $QData{"Filesize"}" $Data{"Target"}><img border="0" src="$Config{"Frontend::ImagePath"}attach-small.png"></a>
91 <!-- dtl:block:TreeItemAttachment -->
157 <!-- dtl:block:ArticleAttachmentRowLink -->
158 <a href="$Data{"Link"}&Session=$Env{SessionID"}" $Data{"Target"} onmouseover="window.status='$JSText{"$QData{"Action"}"}: $JSText{"$QData{"Filename"}"}';return true;" onmouseout="window.status='';"><img src="$Config{"Frontend::ImagePath"}$QData{"Image"}" border="0" alt="$Text{"$QData{"Action"}"}" title="$Text{"$QData{"Action"}"}"></a>
159 <!-- dtl:block:ArticleAttachmentRowLink -->
I am having this exact same issue.2.3.4->2.4.7 upgradeCentos 5.4 with apache/mysqlAnd when attachments are opened, you are redirected to login, and have to authenticate. Upon successful authentication, you are given the document.In my case, i am using AD auth (2 x seperate AD's, with a DB fall back).Any advice?On 1 March 2010 15:51, ah xiaob <ahxiaob@gmail.com> wrote:
Hi
I just upgraded from version 2.3.4 to 2.4.7.
Most things work for me except , when I try to open an attachment on a ticket, it will be redirected to a login page.
I tried login , select a role then the attachment can be downloaded.
The previous version 2.3.4, didn't have this problem .
As clicking on the attachment will just open the document.
My system is running on CentOS 5.4 , apache and MySQL
Can anyone advice on this very bizarre problem.
Please help. Thanks
xiaob
---------------------------------------------------------------------
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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/
---------------------------------------------------------------------
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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/