« Previous | Next » 

Revision 59dbb7d6

ID59dbb7d6dbddd1876e55f82aecbde692c2d3f9a3

Added by Sebastian Kurfuerst over 10 years ago

[+BUGFIX] (Object): Session objects with fallbacks

In some (rare) cases it can occur that the session contains some
wrong data; which is why we cannot expect it to be an array in
all cases. It is quite hard to reproduce, but sometimes it happens
when fatal errors occur in the run of a request.

If we cannot read consistent data, we degrade gracefully and store
an empty array in the session.

Change-Id: I55d8ad331117cdeff62e6ddf0cce0153499879bc

  • added
  • modified
  • copied
  • renamed
  • deleted