Closed (won't fix)
Project:
ImageField
Version:
5.x-2.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2009 at 21:05 UTC
Updated:
28 Apr 2010 at 22:55 UTC
configured as follows
imagefield 5.x-2.4
cck 5.x-1.10
drupal 5.15
I am having a problem where images are dissappearing from a multiple image field. It seems to happen after a node has been edited after saving. I have found the break, but can't find a fix. When dissecting the database tables, I am seeing that all of the rows in the cck field table are referencing the first image uploaded. the rows in the files table is correct. see below for example.
NID = 21630
mysql> select vid,nid,field_article_image_fid,field_article_image_title from groups_content_field_article_image where nid=21630;
+-------+-------+-------------------------+----------------------------------+
| vid | nid | field_article_image_fid | field_article_image_title |
+-------+-------+-------------------------+----------------------------------+
| 31583 | 21630 | 0 | |
| 31930 | 21630 | 0 | |
| 32425 | 21630 | 17656 | |
| 32426 | 21630 | 17656 | |
| 32429 | 21630 | 17656 | |
| 32432 | 21630 | 17656 | Jethro Easyfields |
| 33102 | 21630 | 17656 | |
+-------+-------+-------------------------+----------------------------------+
mysql> select * from groups_files where nid=21630;;
+-------+-------+---------------------------------+------------------------------------------------------+------------+----------+
| fid | nid | filename | filepath | filemime | filesize |
+-------+-------+---------------------------------+------------------------------------------------------+------------+----------+
| 17656 | 21630 | jethro_ka.jpg | files/article_images/jethro_ka_0.jpg | image/jpeg | 9483947 |
| 17657 | 21630 | 1_3.JPG | files/article_images/1_3_0.JPG | image/jpeg | 870227 |
| 17658 | 21630 | zb1.thm.jpg | files/article_images/zb1.thm.jpg | image/jpeg | 5599 |
| 17659 | 21630 | SoulBus1.jpg | files/article_images/SoulBus1.jpg | image/jpeg | 1122575 |
| 17660 | 21630 | SoulBus2.jpg | files/article_images/SoulBus2.jpg | image/jpeg | 2496900 |
| 17662 | 21630 | rob-dixon-1.jpg | files/article_images/rob-dixon-1.jpg | image/jpeg | 4551483 |
| 17665 | 21630 | IMG_2499.JPG | files/article_images/IMG_2499.JPG | image/jpeg | 2542574 |
| 17666 | 21630 | prn-brenner2008.JPG | files/article_images/prn-brenner2008.JPG | image/jpeg | 829308 |
| 17667 | 21630 | _N2J6996.jpg | files/article_images/_N2J6996.jpg | image/jpeg | 919745 |
| 17668 | 21630 | FrankGlover_Jazz_Kitchen_BW.jpg | files/article_images/FrankGlover_Jazz_Kitchen_BW.jpg | image/jpeg | 564917 |
| 17669 | 21630 | SoulBus1.jpg | files/article_images/SoulBus1_0.jpg | image/jpeg | 1122575 |
+-------+-------+---------------------------------+------------------------------------------------------+------------+----------+
11 rows in set (0.00 sec)
Comments
Comment #1
cangeceiro commentedbump.
Does anyone have the faintest clue on this? I have exhausted all ideas and im pulling my hair out here.
Comment #2
quicksketchI'd suggest first updating to the latest version of ImageField (2.6), the problem may have already been fixed. Support for the Drupal 5 version is pretty minimal, since none of the maintainers are using Drupal 5 any more.
Comment #3
cangeceiro commentedI have since upgraded to 2.6 but the issue still persists. The best I can come up with, is that session variables are getting over written, It appears to be some type of javascript issue. But i just cant put my finger on where this is happening or how to fix it.
Comment #4
quicksketchComment #5
xurizaemonI bumped into this issue (or it's identical cousin) today, and noticed that there may be no need to re-upload the file; simply hitting edit => save made the image re-appear. Try it and let me know if it works for you :)
Comment #6
quicksketchClosing out Drupal 5 issues.