ERROR 8 for Individual Report with show non existant photo selected

Bug #1071822 reported by pagedown
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webtrees
Fix Released
Undecided
Rob Peters

Bug Description

http://svn.webtrees.net/demo-stable/individual.php?pid=i68&ged=demo

Choosing "Reports, Individual" and then clicking "Download Report" with all options at defaults gives the following error

ERROR 8: Undefined index: mid
0 Error occurred on line 2798 of file Base.php in function HighlightedImageSHandler
1 called from in function call_user_func
2 called from line 1226 of file Base.php in function startElement
3 called from in function xml_parse
4 called from line 501 of file reportengine.php
Notice: Undefined index: mid in /home/svn/public_html/demo-stable/library/WT/Report/Base.php on line 2798 Fatal error: Call to a member function getImageAttributes() on a non-object in /home/svn/public_html/demo-stable/library/WT/Report/Base.php on line 2799

seems to happen because there are no photos to show for this individual

Changed in webtrees:
status: New → Confirmed
Revision history for this message
Rob Peters (makitso) wrote :

Happens on the demo site for Release and SVN. However, even with an image it throws the error. On my prod and SVN systems it only issues the error when there is no picture.

Revision history for this message
Rob Peters (makitso) wrote :

Fixed in SVN 14467

Changed in webtrees:
status: Confirmed → Fix Committed
assignee: nobody → makitso (makitso)
Revision history for this message
kanchan (kanchanpandey5) wrote :

ya i have upload no photo where i have to upload photos

Revision history for this message
fisharebest (fisharebest) wrote :

Released in webtrees 1.4.0

Changed in webtrees:
status: Fix Committed → Fix Released
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.