On a site with image galleries, there is a button in page tiki-galleries.php which claims Migrate Images to File Gallery
When I click on it, a new File gallery is created and named Migrated Image Galleries (that is perfect!)
For each image gallery, a file gallery with the same name as the image gallery is created as a child of Migrated Image Galleries (still perfect!)
But no images are actually migrated to these new file galleries. The new file galleries are empty and the old image galleries are still there.
Using the command line version gives the same lack of result:
php console.php gallery:migrate All files migrated! feedback: L'image a été réduite : %s x %s -> %s x %s error: Duplicate file found as `Nouveau Fichier`. Upload rejected. error: Duplicate file found as `Beatrice1.jpeg`. Upload rejected. error: Duplicate file found as `kitty.jpg`. Upload rejected. error: Duplicate file found as `160x55_INESSStccn.jpg`. Upload rejected.
But nothing was actually migrated.
Files are stored on the file system, in case that makes a difference.
This prevents people from getting rid of deprecated image galleries feature.
See issue reproduced on: http://jyhem-9952-7324.show2.tikiwiki.org/
This also creates the file galeries without migrating the files:
root@seed22:/var/www/jyhem-9952-7324# php console.php gallery:migrate Undefined index: show_filename on line 175 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php Undefined index: show_filename on line 177 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php Undefined offset: 31 on line 737 of /var/www/jyhem-9952-7324/lib/metadata/datatypes/exif.php Undefined index: show_filename on line 175 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php Undefined index: show_filename on line 177 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php Undefined index: show_filename on line 175 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php Undefined index: show_filename on line 177 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php Undefined offset: 31 on line 737 of /var/www/jyhem-9952-7324/lib/metadata/datatypes/exif.php All files migrated!
That was an issue in lib/core/Tiki/FileGallery/SaveHandler.php
Fixed in 25f639a..844ebf4
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |