Jump to:
| Project: | Image Gallery Management |
| Version: | 6.x-1.0-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I am trying to set up three image galleries. Got them uploaded. So far so good. Some of one galleries images are in the wrong place. I try to move them.
When I move them I select the image, tell it what gallery to go to and poof it goes to the new gallery or seems to, but when I go to the gallery to see how the files that are moved I am getting differing images than the one I moved. It never moves the file that is selected.
I am using the latest drupal, latest image and version of this module, and nothing esoteric in terms of modules, view calendar cck pathauto token and pagination.
Once in a while, it moves the file correctly. It looks like a database index may be fubared.
any ideas ???
thanks
Comments
#1
I still haven't been able to reproduce this. Have there been any further developments with your situation?
How are your images added to Drupal? So far I have tested with the 'Create content' method, and the 'Image Import' module. Do you have multiple revisions for your images? Any unusual configuration relating to image thumbnail generation? Just throwing questions out here.
#2
I'm getting this issue too. I'll take a look at this week and let you know of any code changes.
The problem only happened after I added a new gallery and tried to move existing images to it, if that indicates anything.
#3
I think I jinxed it by the comment. Now I can't duplicate the error.
#4
I finally reproduced this. It all depends on the database. I only discovered this after migrating one of my sites to a new server. It was running MySQL 5.0.85. Previously on 5.0.67 I had no problems. Might have to do with the DB configuration rather than the version. Anyway, it should be fixed now, so that doesn't matter.
The problem is that MySQL would return data in different sort orders even with the exact same query. Drupal runs the query the first time to generate the form with the list of images. Then when it is submitted, Drupal runs the same query again to evaluate the results of the form. Because the MySQL results were different each time, that was why the wrong images were being submitted. Quite bizarre until I figured out what was going on.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.