Quiz widget template for images breaks Person Profile report

Bug #1361852 reported by nedosa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool Quiz
Fix Released
Low
Douglas Cerna

Bug Description

With schooltool.quiz installed when a user generates a Profile report for a person with an image attached, the Profile report includes a snippet of html, instead of the actual image.

See attached screenshot. This is from latest 2.8.1.

Revision history for this message
nedosa (nedosa) wrote :
Revision history for this message
Douglas Cerna (replaceafill) wrote : Re: Person Profile report doesn't display image when schooltool.quiz is installed

This part in quiz/browser/widget.zcml is the problem:

  <z3c:widgetTemplate
      mode="display"
      field="schooltool.skin.flourish.fields.IImage"
      layer="schooltool.skin.flourish.IFlourishLayer"
      template="templates/image_display.pt"
      />

summary: - Person Profile report doesn't display image when schooltool.fee is
+ Person Profile report doesn't display image when schooltool.quiz is
installed
description: updated
affects: schooltool → schooltool.quiz
summary: - Person Profile report doesn't display image when schooltool.quiz is
- installed
+ Quiz widget template for images breaks Person Profile report
Changed in schooltool.quiz:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Douglas Cerna (replaceafill)
Changed in schooltool.quiz:
status: Fix Committed → Fix Released
milestone: none → 2.8.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.