---
As it looks like the bin/admin procedures yus_create_user/yus_grant, etc work fine. I must find out why I never reach the method create_user in src/state/paypal/checkout.rb where yus_create_user is created.
Fixed some flaws when executing the watir tests. I must always create a new, unique email when working with oddb.org (or oddb-ci2.dyndns.org), but always the same email (customer@ywesee.com) for paypal payments.
When I force the payment_received in src/state/paypal/return.rb I can proceed to a link like http://oddb-ci2.dyndns.org/de/gcc/download/email/20140923-175245%40ywesee.com/invoice/32264162/filename/unlimited+access, but I get there an error appdown. It seems that there is a confusion about which invoice was recevied. Will fix this tomorrow.
I also think, that may be I have to add some yus entities for each item processed. Will continue tomorrow.
Added two watir tests to check what happens, when I cancel a paypal payment at two possible stages. These tests pass without problems.
Must first grant myself administrative rights for this task on thinpower. Using bin/admin commands like yus_grant 'some_user@ywesee.com', 'login', 'org.oddb.RootUser', :never && yus_allowed? 'some_user@ywesee.com', 'login', 'org.oddb.RootUser'
to grant me enough privileges as working with yus_show/yus_grant did not work as this prompted me for the password of Zeno. This was successful and I have now rights to use URL like http://ch.oddb.org/de/gcc/users/.
Clicking in http://ch.oddb.org/de/gcc/users/ on "E-Mail redirects http://ch.oddb.org/de/gcc/sort/state_id/168910860/sortvalue/name and shows NoMethodError undefined method `name' for "select":String
. Clicking on Gruppen redirects to http://ch.oddb.org/de/gcc/sort/state_id/167820480/sortvalue/affiliations and shows RangeError 0x3fafe62d80f4 is recycled objec
. Similar errors when clicking on Vorname and Nachname.
Opened the received *.docx files with libreoffice and exported them as PDF. Then replacing the patfino worked without any problem.
Creating watir tests. Added a
Pushed commit Added watir test for uploading patinfo and creating CompanyUser