← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1316331] [NEW] ValueError when cookie pagesize is ""

 

Public bug reported:

If a user somehow gets the value of 'horizon_pagesize' set to "", the
method horizon.utils.functions.get_page_size will raise a ValueError
because it can't convert the empty string to an int.  Clearly this would
also happen if the value gets set to any other non-valid int-literal.

** Affects: horizon
     Importance: Undecided
     Assignee: Matthew D. Wood (woodm1979)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Matthew D. Wood (woodm1979)

-- 
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/1316331

Title:
  ValueError when cookie pagesize is ""

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If a user somehow gets the value of 'horizon_pagesize' set to "", the
  method horizon.utils.functions.get_page_size will raise a ValueError
  because it can't convert the empty string to an int.  Clearly this
  would also happen if the value gets set to any other non-valid int-
  literal.

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


Follow ups

References