Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Validation error with empty benchmark and minimum score.

#238

http://vegantech.hoptoadapp.com/...

{"country_abbrev"=>"us", "commit"=>"Save Changes", "probe_definition"=> {"title"=>"yup this is a new progress monitor", "existing_asset_attributes"=>

{"31"=>{"name"=>"", "url"=>""}, "32"=>{"name"=>"", "url"=>""}},

"minimum_score"=>"50", "description"=>"new for this pilot session", "probe_definition_benchmarks_attributes"=>

{"0"=>{"benchmark"=>"", "grade_level"=>""}},

"maximum_score"=>"100"}, "authenticity_token"=>"vxfrfKfRwjLj+Dc8qV2FA+qxSLIVIFfrqTflcpsuOdI=", "_method"=>"put", "action"=>"update", "state_abbrev"=>"wi", "id"=>"777240960", "controller"=>"intervention_builder/probes", "district_abbrev"=>"sdb"}

Hide details

Reported by shawn (at vegantech) · April 24th, 2009 @ 12:45 PM

State: resolved
Assigned to: shawn (at vegantech) shawn (at vegantech)

Activity

  1. shawn (at vegantech)
    shawn (at vegantech)
    • State changed from new to needs_tests

    (from [326395a96c6d13039d2a50481976fcc6d41f5382]) fixes [#238 state:needs_tests] updating a probe definition with minimum scores and an empty benchmark would throw an exception. http://github.com/vegantech/sims...

    April 24th, 2009 @ 12:50 PM

  2. shawn (at vegantech)
    shawn (at vegantech)

    (from [a5d7d2e4c46f86ef11f76751b9486c0570c97f51]) fixes [#238 state:needs_tests] updating a probe definition with minimum scores and an empty benchmark would throw an exception. http://github.com/vegantech/sims...

    April 24th, 2009 @ 01:54 PM

  3. shawn (at vegantech)
    shawn (at vegantech)
    • State changed from needs_tests to resolved

    (from [9cfbffa3166451138e5595de60312aa4d838c8bb]) [#238 state:resolved] add test to confirm benchmark exists before comparing its value to min/max score http://github.com/vegantech/sims...

    April 25th, 2009 @ 10:53 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.