Bug Report #3844

Session read errors not properly ignored

Added by Chris Smith over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:03/14/2011
Priority:NormalDue date:
Assignee:Jeremy Bush% Done:

100%

Category:Core
Target version:v3.0.11
Resolution:fixed Points:

Description

The Session::read() method ignores exceptions which are generated when unserialize() is called on the data returned from Session::_read(). When using the native session driver session_start() does this unserialization and any exceptions bubble up to the exception handler, meaning users get stuck with a broken session. I suggest either the native handler is changed to wrap the session_start() call in a try catch or the try catch in Session::read() is moved around the call to Session::_read()


Subtasks

Bug Report #3951: Session read errors not properly ignoredClosedJeremy Bush

Associated revisions

Revision 7d7f204c
Added by Jeremy Bush over 3 years ago

Catch errors when reading the data from session. Fixes #3844.

Revision 216a81f3
Added by Jeremy Bush over 3 years ago

Log session reading errors. Refs #3844.

Revision 385d1533
Added by Jeremy Bush over 3 years ago

Log session reading errors. Refs #3844.

Revision 0bd97869
Added by Jeremy Bush over 3 years ago

Catch errors when reading the data from session. Fixes #3844.

History

#1 Updated by Jeremy Bush over 3 years ago

  • Target version set to v3.0.11

#2 Updated by Jeremy Bush over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Jeremy Bush

#3 Updated by Jeremy Bush over 3 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:7d7f204c56293fc196f7838e665fd38b13e63632.

#4 Updated by Jeremy Bush over 3 years ago

  • Resolution set to fixed

Also available in: Atom PDF