Sysmo DB

Get a nil error if original filename is shorter than 4 characters

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.5.1
  • Fix Version/s: 0.6.0
  • Component/s: None
  • Labels:
    None

Description

because of the line in ImageHelper:

case item.original_filename[-4,4].gsub(".","")

this is caused by a SOP added through the SUMO harvester (Sops are named after pages, and do not have extensions).

Should only need fixing for when JERM is activated - so adding to v:0.6

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    2010-01-26 14:08
    Updated:
    2010-02-08 10:28
    Resolved:
    2010-02-08 10:28