All attachments showing as last uploaded file after upgrade.

Moderator: crythias

Locked
ssanfordph
Znuny newbie
Posts: 8
Joined: 14 Mar 2013, 17:54
Znuny Version: 3.2.3

All attachments showing as last uploaded file after upgrade.

Post by ssanfordph »

When submitting and e-mail attachment, all links fromt he agent screen link to the last file attached. e.g. If I send an e-mail with file1.txt, file2.txt, file3.txt. The links for all 3 of those files will link to file3.txt. When looking at the database the article_attachment table does appear to have the correct data.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: All attachments showing as last uploaded file after upgrade.

Post by jojo »

OTRS version?
"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
ssanfordph
Znuny newbie
Posts: 8
Joined: 14 Mar 2013, 17:54
Znuny Version: 3.2.3

Re: All attachments showing as last uploaded file after upgrade.

Post by ssanfordph »

This is after an upgrade to 4.03
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: All attachments showing as last uploaded file after upgrade.

Post by jojo »

something might gone wrong. On my system everything works a designed
"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
ssanfordph
Znuny newbie
Posts: 8
Joined: 14 Mar 2013, 17:54
Znuny Version: 3.2.3

Re: All attachments showing as last uploaded file after upgrade.

Post by ssanfordph »

The upgrade seems to have worked fine otherwise. This is on MSSQL 2008 R2 and IIS.
ssanfordph
Znuny newbie
Posts: 8
Joined: 14 Mar 2013, 17:54
Znuny Version: 3.2.3

Re: All attachments showing as last uploaded file after upgrade.

Post by ssanfordph »

Went throught he upgrade procedure again today. And expiriencing the same issues. This occurs when adding a ticket via the agent interface as well. If there's only 1 attachment it appears to work fine. If there's multiple it always brings up the last attachment in the list.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: All attachments showing as last uploaded file after upgrade.

Post by jojo »

might be a mssql issue
"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
ssanfordph
Znuny newbie
Posts: 8
Joined: 14 Mar 2013, 17:54
Znuny Version: 3.2.3

Re: All attachments showing as last uploaded file after upgrade.

Post by ssanfordph »

This is a bug, just tried it with a fresh default install. IIS7.5 MSSQL 2008 R2. ActiveState perl 5.14. Same results. To duplicate just run install create ticket. Attach file1, then attach file2. Submit, try to access file1 and you will get the content of file2. Doesn't matter if it's inline to attachment.
Locked