Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
image.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2012 at 15:56 UTC
Updated:
29 Jul 2014 at 20:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedTry to download newer version.
Comment #2
Louis Bob commentedsame issue with the last version (7.x-1.0-alpha1) when previewing the node:
There is no error when the Plup module is not used to upload the images.
Comment #3
Louis Bob commentedre-opening the issue, since it is not solved and seems directly related to this module.
Comment #4
Anonymous (not verified) commentedI've tried it in fresh installation but still cannot reproduce.
Comment #5
Louis Bob commentedTo reproduce the error, I think you need to "untick" the "Enable the Alt field" and "Enable the Title field" lines in the image field settings of the node.
=> when these are ticked, I have no error.
So I guess that the Plup module cannot treat the case where these values are missing?
Comment #6
casey commentedThis also happens without plup. Previews are build out of form data. If the alt and title form fields aren't available you get these notices.
Comment #8
Louis Bob commented#6: 1424602-D7.patch queued for re-testing.
Comment #10
Louis Bob commentedOk thank you.
So it means that I have to apply the above patches to the image core module ?
Comment #11
tim.plunkettThis is a duplicate of #1587870: Undefined index: alt in theme_image_formatter() and Undefined index: title in theme_image_formatter() which is being fixed in #1038932: theme_image_formatter() assumes that title, alt, and options are always set.