Homec4science

Fix an issue with custom policy edit control not populating correctly

Authored by epriestley <git@epriestley.com> on Apr 20 2015, 17:16.

Description

Fix an issue with custom policy edit control not populating correctly

Summary: These values aren't always provided. They should be, but just make things work for now.

Test Plan:

  • Edited a task.
  • Selected "Custom Policy" for "Edit Policy".
  • Configured a policy like "Users: dog".
  • Saved policy.
  • Selected "Custom Policy" again to edit the policy.
  • Before patch: tokenizer fails to render with an error (config.types is not an object).
  • After patch: tokenizer renders properly, albeit with a missing icon.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D12477

Details

Committed
epriestley <git@epriestley.com>Apr 20 2015, 17:16
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6c0b8b7d0499: Tweak colors of new magic tokens
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH2875f029be7f: Fix an issue with custom policy edit control not populating correctly (authored by epriestley <git@epriestley.com>).Apr 20 2015, 17:16