Levertine

Levertine Gallery => Questions and Discussion => Resolved => Topic started by: Steve on January 13, 2015, 03:25:15 PM

Title: Bug In Bulk Upload?
Post by: Steve on January 13, 2015, 03:25:15 PM
I bulk uploaded two files (mainly to test the bulk upload) and when I got to the attached screen, both 'View Item' links take me to the same image.
Title: Re: Bug In Bulk Upload?
Post by: Arantor on January 13, 2015, 03:50:13 PM
Interesting, I'll take a look at that for you.
Title: Re: Bug In Bulk Upload?
Post by: lurk on January 13, 2015, 03:59:39 PM
I bulk uploaded two files (mainly to test the bulk upload) and when I got to the attached screen, both 'View Item' links take me to the same image.

Confirmed, I'm seeing this too.  I tried it with four images, and link takes me to same image.
Title: Re: Bug In Bulk Upload?
Post by: Arantor on January 13, 2015, 04:09:56 PM
And I just worked out where the problem was and have patched it. While I will put this into the next release, I was hoping to not have to have too many releases in the time between now and 1.1.0 :(

The fix itself is very easy though, in Themes/default/levgal_res/upload.js:
Code: (find) [Select]
if (urls[i].async == data.async)
Code: (replace) [Select]
if (urls[i].async == data.async && urls[i].url == "")
Title: Re: Bug In Bulk Upload?
Post by: Steve on January 13, 2015, 04:33:47 PM
Hmm ... making that change had no effect for me.


Correction: I cleared the forum cache and now it works perfectly. 8)
Title: Re: Bug In Bulk Upload?
Post by: lurk on January 13, 2015, 05:16:09 PM
Hmm ... making that change had no effect for me.


Correction: I cleared the forum cache and now it works perfectly. 8)

Yep did the same here, also working correctly.
Title: Re: Bug In Bulk Upload?
Post by: Arantor on January 17, 2015, 02:07:32 PM
This has been included in 1.1.0 so I'll move this to resolved.