← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1329369] [NEW] Refactoring: support session/cookie getters and setters

 

Public bug reported:

In
https://github.com/openstack/horizon/blob/master/horizon/utils/functions.py,
there is a function called get_page_size() which is used to get the
value of the page size parameter from the session and/or cookie. We
should refactor this part of code, by adding a pair of generic
getter/setter functions which can be used to get arbitrary values from
the session/cookie. More specific functions which deal with particular
session/cookie values in specific ways can then be implemented, and they
will call the generic getters/setters.

** Affects: horizon
     Importance: Undecided
     Assignee: Ana Krivokapić (akrivoka)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1329369

Title:
  Refactoring: support session/cookie getters and setters

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In
  https://github.com/openstack/horizon/blob/master/horizon/utils/functions.py,
  there is a function called get_page_size() which is used to get the
  value of the page size parameter from the session and/or cookie. We
  should refactor this part of code, by adding a pair of generic
  getter/setter functions which can be used to get arbitrary values from
  the session/cookie. More specific functions which deal with particular
  session/cookie values in specific ways can then be implemented, and
  they will call the generic getters/setters.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1329369/+subscriptions


Follow ups

References