view · edit · sidebar · attach · print · history

Index>

20140806-remove-hayes-interactions

Summary

  • Remove Hayes interactions
  • ODDB2xml: Migel products (NINCD='13') must have SALECD A

Commits

Index

Keep in Mind
  • Fix dojo error http://www.sitepen.com/blog/2012/10/31/debugging-dojo-common-error-messages/#forgot-dom-ready
  • I removed on May-27 tests for ix_registrationss, fix_sequences, fix_compositions, fix_packages from test/test_plugin/swissmedic.rb,as he could not find any references for them in the src code. Did I erroneously remove stuff when cleaning up the swissmedic import earlier?
  • The whole test for older/newer Packages must be adapted to xlsx. One must compare the rows (e.g. by creating csv files) and do the same stuff in xlsx!
  • One unit-test for searchbar fails and might be a clue why searching does not work correctly.
  • Added two skip in test/test_plugin/rss.rb. Why does the mocking not work there anymore?
  • Make ext/swissindex/test/test_swissindex.rb and skipping tests in migel-gem pass.

---

ODDB2xml: Migel products (NINCD='13') must have SALECD A

I am not sure whether my results are correct. Eg. here some numbers

grep -c "SALECD>I" 1.8.5/oddb2xml__e/oddb_article.xml 1.8.7/oddb2xml__e/oddb_article.xml
1.8.5/oddb2xml__e/oddb_article.xml:52
1.8.7/oddb2xml__e/oddb_article.xml:84653
grep -c "SALECD>A" 1.8.5/oddb2xml__e/oddb_article.xml 1.8.7/oddb2xml__e/oddb_article.xml
1.8.5/oddb2xml__e/oddb_article.xml:160062
1.8.7/oddb2xml__e/oddb_article.xml:75879
grep -c "NINCD>13" 1.8.5/oddb2xml__e/oddb_article.xml 1.8.7/oddb2xml__e/oddb_article.xml
1.8.5/oddb2xml__e/oddb_article.xml:28992
1.8.7/oddb2xml__e/oddb_article.xml:28723

egrep -c '^113' 1.8.5/oddb2xml__e/downloads/zurrose_transfer.dat 1.8.7/oddb2xml__e/zurrose_transfer.dat 
1.8.5/oddb2xml__e/downloads/zurrose_transfer.dat:57369
1.8.7/oddb2xml__e/zurrose_transfer.dat:58540
egrep -c '^112' 1.8.5/oddb2xml__e/downloads/zurrose_transfer.dat 1.8.7/oddb2xml__e/zurrose_transfer.dat 
1.8.5/oddb2xml__e/downloads/zurrose_transfer.dat:79417
1.8.7/oddb2xml__e/zurrose_transfer.dat:79508
egrep -c '^111' 1.8.5/oddb2xml__e/downloads/zurrose_transfer.dat 1.8.7/oddb2xml__e/zurrose_transfer.dat 
1.8.5/oddb2xml__e/downloads/zurrose_transfer.dat:1226
1.8.7/oddb2xml__e/zurrose_transfer.dat:845

Pushed commit SALESCD is now 'A' for NINCD='13' (Migel) to allow Zeno to test this variant.

Remove Hayes interactions

Trying to fix the last error from the watir tests.

error in SBSM::Session#to_html: /de/gcc/print/rezept/ean/7680576730049/7680317061142/7680193950301/7680353520153/7680516821226/7680588680028/7680517560100/7680587340015/7680352630396/7680480880748
NoMethodError
undefined method `name' for []:Array
/var/www/oddb.org/src/model/package.rb:193:in `company_name'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:112:in `method_missing'
/var/www/oddb.org/src/view/drugs/prescription.rb:415:in `name'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:68:in `create'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:286:in `compose_component'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:211:in `block in compose'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:205:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:205:in `compose'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:57:in `init'
/var/www/oddb.org/src/view/drugs/prescription.rb:400:in `init'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/component.rb:139:in `initialize'
/var/www/oddb.org/src/view/drugs/prescription.rb:533:in `new'
/var/www/oddb.org/src/view/drugs/prescription.rb:533:in `block in document'
/var/www/oddb.org/src/view/drugs/prescription.rb:532:in `each'
/var/www/oddb.org/src/view/drugs/prescription.rb:532:in `document'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:143:in `create'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/divcomposite.rb:33:in `block in compose'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/divcomposite.rb:13:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/divcomposite.rb:13:in `compose'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:57:in `init'
/var/www/oddb.org/src/view/drugs/prescription.rb:475:in `init'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/component.rb:139:in `initialize'
/var/www/oddb.org/src/view/publictemplate.rb:63:in `new'
/var/www/oddb.org/src/view/publictemplate.rb:63:in `content'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:68:in `create'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:286:in `compose_component'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:211:in `block in compose'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:205:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:205:in `compose'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:57:in `init'
/var/www/oddb.org/src/view/publictemplate.rb:60:in `init'
/var/www/oddb.org/src/view/printtemplate.rb:33:in `init'
/var/www/oddb.org/src/view/drugs/prescription.rb:548:in `init'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/component.rb:139:in `initialize'
/usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.6/lib/sbsm/state.rb:252:in `new'
/usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.6/lib/sbsm/state.rb:252:in `view'
/usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.6/lib/sbsm/state.rb:186:in `to_html'
/usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.6/lib/sbsm/session.rb:450:in `to_html'
/usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.6/lib/sbsm/session.rb:173:in `block in drb_process'
<internal:prelude>:10:in `synchronize'
/usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.6/lib/sbsm/session.rb:171:in `drb_process'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'
ODDB::View::Drugs::PrescriptionPrintInnerComposite::COMPONENTS[[0, 1]] in create(name)
ODDB::View::Drugs::PrescriptionPrintComposite::COMPONENTS[[0, 8]] in create(document)
ODDB::View::Drugs::PrescriptionPrint::COMPONENTS[[0, 1]] in create(content)
error in SBSM::Session#http_headers: /de/gcc/print/rezept/ean/7680576730049/7680317061142/7680193950301/7680353520153/7680516821226/7680588680028/7680517560100/7680587340015/7680352630396/7680480880748
NoMethodError
undefined method `name' for []:Array
/var/www/oddb.org/src/model/package.rb:193:in `company_name'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:112:in `method_missing'
/var/www/oddb.org/src/view/drugs/prescription.rb:415:in `name'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:68:in `create'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:286:in `compose_component'

Fixed these problems. Corrected some watir tests.

Pushed these commits:

I want to eliminate all usage of persistent_user_input(:drugs) as this information should alwys be extracted from the URL.

Watir tests are as good as before, but I remarked that the fachinfo_search (Erweiterte Suche) does not work. Added a first (failing) Watir test for it.

Will solve this problem next week. Saving current state as Attach:persistent_search_patch.txt

view · edit · sidebar · attach · print · history
Page last modified on August 06, 2014, at 03:26 PM