view · edit · sidebar · attach · print · history


<< | Index | >>


  • Repair bug in centered search
  • Debug and Fix Session Problem (Creation, Expiring and Redirect)



Repair centered search

  • Analysen
  • Arzt
  • Interaktion
  • Spital
  • Zulassunginhaber

Zone does not work. (

Centered Search form does not send zone

<div style="display:none">
  <input type="hidden" value="gcc" name="flavor">
  <input type="hidden" value="de" name="language">
  <input type="hidden" value="search" id="event" name="event">
  <input type="hidden" value="74606760" name="state_id">

Form has zone into requste URL. (expected)

This was bug of Search Form.
Form had been send multiple requests. (POST, GET).
In here, POST Request is not needed.

Then, I disabled POST Request in onSubmit.


And I updated scripts rendering and test case.

% ruby test/test_view/searchbar.rb
could not find, falling back to pure-ruby class
Loaded suite test/test_view/searchbar

Finished in 0.005505227 seconds.

6 tests, 6 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

1089.87 tests/s, 1089.87 assertions/s

Debug old PI Ebook creation

There are still some old PI does not have title(@name attribute) in Ebook.
Tried with newest data.

Then, I exported again newest PIs and Generate Ebook, again.

Fix session problem.

Currently, active_state by state_id is mssing for login user.

z.B. Preference State

event	update
flavor	gcc
language	de
search_form	plus
search_type	st_company
state_id	84077800
style	purple
zone	drugs


Parameters are fine.

Comment in SBSM::Session#process (Maybe this is also related.)

        #FIXME: is there a better way to distinguish returning states?
        #       ... we could simply refuse to init if event == :sort, but that
        #       would not solve the problem cleanly, I think.

@attendend_states are clead, unexpectedly.
This meas __checkout(logout) method is called by every request for login user.


    def expired?(
      super || (logged_in? && !@user.expired?)

Fixed this bug.

view · edit · sidebar · attach · print · history
Page last modified on June 03, 2013, at 01:15 PM