<< Masa.20120112-delete-old-migel-fix-oddb2tdat-fix-pointer-link-oddb_org-check-sbsm-rockit | Index | Masa.20120110-rescue-invalid-value-migel-debug-encoding-error-narcotics-change-analysis-view-oddb_org >>
Note
suspend
Note
suspend
Error (mail_patinfo_invoices)
Error: NoMethodError Message: undefined method `time' for #<ODDB::LimitationText:0x00000027145bc8> Backtrace: /var/www/oddb.org/src/util/language.rb:45:in `method_missing' /usr/local/lib/ruby/gems/1.9.1/gems/odba-1.0.8/lib/odba/stub.rb:112:in `method_missing' /var/www/oddb.org/src/plugin/info_invoicer.rb:302:in `block in slate_items' /var/www/oddb.org/src/plugin/info_invoicer.rb:301:in `each' /var/www/oddb.org/src/plugin/info_invoicer.rb:301:in `sort_by' /var/www/oddb.org/src/plugin/info_invoicer.rb:301:in `slate_items' /var/www/oddb.org/src/plugin/info_invoicer.rb:100:in `all_items'
Check data on bin/admin
ch.oddb> slate(:patinfo).items.values.length -> 1905 ch.oddb> slate(:patinfo).items.values.select{|i| i.is_a?(ODDB::InvoiceItem)}.length -> 1905 ch.oddb> slate(:patinfo).items.values.select{|i| i.respond_to?(:time)}.length -> 1904
ch.oddb> slate(:patinfo).items.values.select{|i| !i.respond_to?(:time)}.first.class -> ODDB::InvoiceItem ch.oddb> slate(:patinfo).items.values.select{|i| !i.respond_to?(:time)}.first.pointer -> :!registration,60603!sequence,01!package,001!sl_entry!limitation_text.
Delete the invalid invoice item from bin/admin
ch.oddb> slate(:patinfo).items.values.select{|i| !i.respond_to?(:time)}.first.odba_id -> 28416291 ch.oddb> slate(:patinfo).items.values.select{|i| !i.respond_to?(:time)}.first.oid -> 28416291 ch.oddb> slate(:patinfo).items.delete(28416291) -> 07.13.30.: Desensibilisierungslösungen Kostenübernahme nur nach vorgängiger allergologischer Abklärung. ch.oddb> slate(:patinfo).items.odba_isolated_store -> Hash ch.oddb> slate(:patinfo).items.values.select{|i| !i.respond_to?(:time)}.length -> 0
No commits
oddb2tdat needs the following updates: 073 - 073 1 = SL (Q) 2 = LPPV (V) anything else 3 = hors list (No SL, should be 3 not 0) The price needs to be filled up to 6 digits with leading 00, no "." in the price please.
Commit
Refer to http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=5