#1238 - Capability to add photos in bulk to a news/blog post

Post

Posted
Rating:
#10283

Comment: #catalogue_entry_1703

yes, complex!

Okay, just now I tested the 1st scenario again with the same image files. I used 13 images in total. Total size is only about 2.5 mb. This time the Preview showed everything correctly, but when I clicked 'Add' it hung for a while and finally returned 'Internal Server Error'. For a while the article entry didn't show up at all in the site, then ten minutes later it appeared but in the body text says "This entry failed to be properly created..."

Next I duplicated the 2nd scenario, and the same thing happened as yesterday.

I did all this in Chrome, and I was masquerading as user 'Saiva Siddhanta Church'. To be sure the masquerading wasn't causing a problem, I tried it without masquerading and same thing happened.

Post

Posted
Rating:
#10284
I am currently working on this. There have proven to be great complexities to it. I realise the uploader progress code worked very poorly on remote sites and bulk uploads, so this is improved. Also some other minor issues of the UI. I have also disabled the memory limit when attachments are uploaded, as I suspect thumbnail generation caused a memory-exceed. I am still working on an issue of things connecting up properly.

Post

Posted
Rating:
#10285
Ok, I hope it is all sorted now :). A lot of time spent in the guts of the uploader code today.

Post

Posted
Rating:
#10286
So sorry this is taking up much more time than you anticipated! I can only imagine how complex the guts must be.

Well, I tested the 1st scenario again just now and got same result as described above. The only difference was that this time there were upload progress bars for each image.

Post

Posted
Rating:
#10287
Please could you attach a zip for each file set to this issue? Perhaps it depends on the particular files.

Post

Posted
Rating:
#20275
Attachment

Post

Posted
Rating:
#10291
Attached are the image files I've been working with

Post

Posted
Rating:
#10292
I was able to reproduce an internal server error, which I think could also result in jumbled attachments. I was able to fix this, plus also optimise the code a little.

You may need to empty your browser cache, as we've changed the Javascript files quite a lot.

I recorded a video of it working:
http://screencast.com/t/Dbazny1B3JY
I pasted in some Google results for the content, just because I wanted something complex, more likely to go wrong if there was a bug.

(Please ignore my messing about rating songs in iTunes, I forgot I was recording for one second! ;-))

Post

Posted
Rating:
#10293
yes! Success, both scenarios are working! :)
glad you were able to reproduce the error and pinpoint the issue
0 guests and 0 members have recently viewed this.