Defect #23242

thumbnail macro does not render when displaying wiki content version

Added by Jens Krämer over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Wiki
Target version:3.3.1
Resolution:Fixed Affected version:

Description

when looking at an older version of a wiki page, the thumbnail macro fails to render because WikiContent::Version does not respond_to? :attachments

Attached patch fixes this.

0001-adds-attachments-accessor-to-WikiContent-Version.patch Magnifier (760 Bytes) Jens Krämer, 2016-07-05 11:23

Associated revisions

Revision 15610
Added by Jean-Philippe Lang over 1 year ago

Adds attachments accessor to WikiContent::Version (#23242).

Patch by Jens Kraemer.

Revision 15611
Added by Jean-Philippe Lang over 1 year ago

Adds a test for #23242.

History

#1 Updated by Toshi MARUYAMA over 1 year ago

  • Target version set to 3.3.1

#2 Updated by Toshi MARUYAMA over 1 year ago

  • Tracker changed from Patch to Defect

#3 Updated by Jean-Philippe Lang over 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Patch committed, thanks.

#4 Updated by Jean-Philippe Lang over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF