<< | Index | >>
ch.oddb> indications.select{|ind| !ind.registrations.select{|reg| reg.class != Registration }.empty? }.length -> private method `select' called for #<ODDB::Migel::Item:0x007fa408083b90> ch.oddb> indications.select{|ind| ind.registrations.class == ODDB::Migel::Item }.length -> 1 ch.oddb> indications.select{|ind| ind.registrations.class == ODDB::Migel::Item }.odba_id -> 29071834
Plugin: ODDB::SwissmedicPlugin Error: NoMethodError Message: undefined method `include?' for #<ODDB::Migel::Item:0x00000012d9cfd0> Backtrace: (eval):2:in `include?' /var/www/oddb.org/src/model/registration_observer.rb:15:in `add_registration' /var/www/oddb.org/src/model/registration.rb:312:in `replace_observer' /var/www/oddb.org/src/model/registration.rb:299:in `indication='
def add_registration(registration) unless(@registrations.include?(registration)) @registrations.push(registration) @registrations.odba_isolated_store odba_isolated_store # update indices end registration end
This is Data-Corruption by MiGeL-Updater.
(At same time, Jobs run on production server.)
ODBA does not handle multiple-process correctly.
odba_id
)
odba_store
affects over DB.(This is propagation. All related Objects are updated.)
ywesee@thinpower /var/www/oddb.org $ RUBYOPT="" bin/admin ch.oddb> ic = indications.select{|i| i.registrations.class == ODDB::Migel::Item }.first; ic.instance_eval("@registrations = ['dummy']"); ic.remove_registration('dummy'); -> undefined method `remove_registration' for nil:NilClass
Added date
argment (optional).
Run as updater on this date (this date is used for date-check).
$ ruby jobs/update_textinfo_news2 '16.12.12' --reparse $ ruby jobs/update_textinfo_news2 --reparse '16.12.12'
Updated image handling.
Plugin: ODDB::TextInfoPlugin Error: NoMethodError Message: undefined method `next_image' for :ODDB::Text::Paragraph Backtrace: (druby://localhost:10002) /home/yasuhiro/Documents/workspace/ywesee/var/ch.oddb.org/ext/fiparse/src/textinfo_hpricot.rb:173:in `insert_image' (druby://localhost:10002) /home/yasuhiro/Documents/workspace/ywesee/var/ch.oddb.org/ext/fiparse/src/textinfo_hpricot.rb:154:in `block in handle_element'
$ jobs/update_company_textinfos2 'MSD'
require(['dojo/ready','dojo/parser','dojo/io/script','dojox/data/JsonRestStore','dijit/form/ComboBox','ywesee/widget/Tooltip'], function(ready, parser) {ready(function() {document.getElementById('searchbar').focus();
dojotoolkit.rb
of htmlgrid
"require([#{script.chomp(',')}], function(ready, parser) {" \ "ready(function() {" \ "#{onloads}" \ "});" \ "});"
but GoogleAdSenseComposite was not template
class.
Update CSS for compendium package table.