Levertine

Please login or register.

Author Topic: Bug In Bulk Upload?  (Read 2068 times)

Steve

  • Full Member
  • ***
  • Posts: 101
  • Alcohol is the liquid version of Photoshop.

Bug In Bulk Upload?
« 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.

Arantor

  • Levertine Developer
  • Full Member
  • *
  • Posts: 248

Re: Bug In Bulk Upload?
« Reply #1 on: January 13, 2015, 03:50:13 PM »
Interesting, I'll take a look at that for you.

lurk

  • Full Member
  • ***
  • Posts: 113

Re: Bug In Bulk Upload?
« Reply #2 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.
« Last Edit: January 13, 2015, 04:01:55 PM by lurk »
Guitarist Guild Running SMF 2.0.9 / Tinyportal 1.1 and Levertine Gallery

Arantor

  • Levertine Developer
  • Full Member
  • *
  • Posts: 248

Re: Bug In Bulk Upload?
« Reply #3 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 == "")

Steve

  • Full Member
  • ***
  • Posts: 101
  • Alcohol is the liquid version of Photoshop.

Re: Bug In Bulk Upload?
« Reply #4 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)
« Last Edit: January 13, 2015, 04:38:07 PM by Steve »

lurk

  • Full Member
  • ***
  • Posts: 113

Re: Bug In Bulk Upload?
« Reply #5 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.
Guitarist Guild Running SMF 2.0.9 / Tinyportal 1.1 and Levertine Gallery

Arantor

  • Levertine Developer
  • Full Member
  • *
  • Posts: 248

Re: Bug In Bulk Upload?
« Reply #6 on: January 17, 2015, 02:07:32 PM »
This has been included in 1.1.0 so I'll move this to resolved.
 

SMF 2.0.9 | SMF © 2014, Simple Machines
BlueLight design by Bloc