CMS MADE SIMPLE FORGE

ListItExtended XDefs

 

[#9134] Images with extension JPG uppercase not showed in GBFilepicker

avatar
Created By: Bertus Groenewegen (brutusmaximus)
Date Submitted: Thu Apr 11 10:03:12 -0400 2013

Assigned To:
Version: 1.1
CMSMS Version: 1.11.5
Severity: Minor
Resolution: Won't Fix
State: Open
Summary:
Images with extension JPG uppercase not showed in GBFilepicker
Detailed Description:
Hi there! ListItExtended XDefs works great! Minor bug:

Images with files extentension JPG (uppercase) are ignored by the GBFilepicker
in ListIt. The normal GBFilepicker shows the uppercase .JPG files, but it
doesn't seem to work with ListItExtended XDefs.



History

Comments
avatar
Date: 2013-04-11 10:10
Posted By: Goran Ilic (uniqu3)

Did you add .JPG to allowed fields? Help text might be a bit wrong with "(keep
lowercase)" field definitions were completely rewritten.
      
avatar
Date: 2013-04-11 10:20
Posted By: Bertus Groenewegen (brutusmaximus)

I tried all possible combinations even with a dot: .JPG

pdf,gif,jpeg,jpg,JPG,png
      
avatar
Date: 2013-04-11 10:21
Posted By: Goran Ilic (uniqu3)

What version are you using? 
      
avatar
Date: 2013-04-11 10:27
Posted By: Bertus Groenewegen (brutusmaximus)

ListIt2XDefs	1.1
ListIt2	1.4-beta
CMS Made Simple™ 1.11.5 “Puerto Ayora”
      
avatar
Date: 2013-04-11 10:32
Posted By: Bertus Groenewegen (brutusmaximus)

When I remove all allowed fields and check "Assume that an image is" then is
shows the .JPG
      
avatar
Date: 2013-04-11 10:46
Posted By: Goran Ilic (uniqu3)

Ok confirmed, thx for report.
      
avatar
Date: 2013-04-11 11:02
Posted By: Bertus Groenewegen (brutusmaximus)

Thank you for your quick reply and bug investigation!

      
avatar
Date: 2013-07-06 07:21
Posted By: Tapio Löytty (Stikki)

This is part of GBFilePicker module BR's

GBFilePicker API does:

$_file_ext =
$this->CleanArray(explode(',',strtolower($params['file_extensions'])));

which forces incoming string to lower case. So, no matter what i input with LI2,
GBFilePicker modifys data.
      
avatar
Date: 2013-07-06 11:07
Posted By: Tapio Löytty (Stikki)

UPDATE:

Talked with Georg Busch (author of GBFilePicker) and he double checked this
issue and it was part of GBFilePicker as i suspected.

Issue has been fixed in GBFilePickers's SVN.

Will be shipped with next GBFilePicker release.
      
Updates

Updated: 2013-07-06 07:21
resolution_id: 5 => 8

Updated: 2013-04-11 10:10
resolution_id: => 5