Defect #7510

Link to attachment should return latest attachment

Added by Ernad Husremovic almost 7 years ago. Updated almost 5 years ago.

Status:ClosedStart date:2011-02-01
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Attachments
Target version:2.2.2
Resolution:Fixed Affected version:

Description

when we have more file.zip attached, this command

attachment:file.zip

should return last version. This is working with image tag:

!file.jpg!

solution patch is attached

attachments_reverse.patch Magnifier (854 Bytes) Ernad Husremovic, 2011-02-01 14:09

Associated revisions

Revision 11196
Added by Jean-Philippe Lang almost 5 years ago

Link to attachment should return latest attachment (#7510).

Revision 11229
Added by Jean-Philippe Lang almost 5 years ago

Backported r11196 from trunk (#7510).

History

#1 Updated by Etienne Massip almost 7 years ago

  • Category set to Attachments

#2 Updated by Daniel Felix almost 5 years ago

  • Status changed from New to Needs feedback

Anyone could take a look at this patch please? Maybe this is already solved in Redmine 2.2.1.

#3 Updated by Jean-Philippe Lang almost 5 years ago

  • Subject changed from attachment last version to Link to attachment should return latest attachment
  • Status changed from Needs feedback to Confirmed
  • Target version set to 2.2.2

#4 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from Confirmed to Resolved
  • Resolution set to Fixed

Fixed in r11196.

#5 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from Resolved to Closed

Merged in 2.2-stable.

Also available in: Atom PDF