view · edit · sidebar · attach · print · history

20120813-improve-prescription-form

<< | Index | >>


Summary

  • Updated to skip not found error by deleted photo in Flickr.

Commits

Index


Debug Photo link Error

NoMethodError
undefined method `gsub' for nil:NilClass
/var/ch.oddb.org/src/model/fachinfo.rb:152:in `block in photos'
/var/ch.oddb.org/src/model/fachinfo.rb:150:in `sort'
/var/ch.oddb.org/src/model/fachinfo.rb:150:in `photos'
{:name=>"Dafalgan", :url=>"http://www.flickr.com/photos/zrr/7628764860/in/set-72157630401120512/", :link=>true, :src=>"http://farm8.staticflickr.com/7247/7628764860_37688df9a7_m.jpg"}
{:name=>"Dafalgan 1 g", :url=>"http://www.flickr.com/photos/zrr/7628792770/in/set-72157630401120512", :link=>true, :src=>"http://farm9.staticflickr.com/8021/7628792770_a662537857_m.jpg"}
{:name=>"Dafalgan 1 g", :url=>"http://www.flickr.com/photos/zrr/7628792932/in/set-72157630401120512/", :link=>true, :src=>"http://farm8.staticflickr.com/7277/7628792932_1fd4e41317_m.jpg"}
{:name=>"Dafalgan", :url=>"http://www.flickr.com/photos/zrr/7628764722/in/set-72157630401120512/", :link=>true, :src=>"http://farm9.staticflickr.com/8285/7628764722_99159d5f25_m.jpg"}
{:name=>"Dafalgan, Suppositorien 80 mg", :url=>"http://www.flickr.com/photos/zrr/7566712180/in/set-72157630401120512/", :link=>true, :src=>"http://farm9.staticflickr.com/8151/7566712180_38571a0c46_m.jpg"}
{}

This empty photo is problem. It may be already deleted.

"7627872736"
#<FlickRaw::FailedResponse: 'flickr.photos.getSizes' - Photo not found>
commit

Improve Prescription Form

view · edit · sidebar · attach · print · history
Page last modified on August 14, 2012, at 04:58 AM