← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1784438] [NEW] Safer handling inside of OperationLogMIddleware when object is unserializable

 

Public bug reported:

function _get_request_param() in
https://github.com/openstack/horizon/blob/master/horizon/middleware/operation_log.py#L169-L190
returns a json dump of params that is not always serializable.

I'm proposing a better handling of the return statement when the object
"params" is unserializable.

** Affects: horizon
     Importance: Undecided
         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/1784438

Title:
  Safer handling inside of OperationLogMIddleware when object is
  unserializable

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  function _get_request_param() in
  https://github.com/openstack/horizon/blob/master/horizon/middleware/operation_log.py#L169-L190
  returns a json dump of params that is not always serializable.

  I'm proposing a better handling of the return statement when the
  object "params" is unserializable.

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


Follow ups