bitbake: toaster: do not save objects in session
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Thu, 4 Sep 2014 16:00:11 +0000 (17:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Sep 2014 09:14:25 +0000 (10:14 +0100)
commit9e86aee4ffd4ab33417524a4981ac75f4c985b4b
treed51687878fd26847c0ea1e3d2f1735c6c4e80875
parent95d4da332940da7ff4d799f18ab0167d3631e01a
bitbake: toaster: do not save objects in session

In order to avoid problems when using JSON serializer for
saving sessions, we move from storing the objects themselves
in the session to storing the object id and reloading the
object when retrieved.

This allows, for example, to use cookie-storage sessions if the
infrastructure owner so desires.

(Bitbake rev: 39d0f0c2e87d4b161f1eeaa2657e61b5a6bc9ee2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/toastergui/views.py