Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5388)

Issue 11228043: Guard around missing service config object

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by bcsaller
Modified:
10 years, 9 months ago
Reviewers:
gary.poster, mp+174496
Visibility:
Public.

Description

Guard around missing service config object If a services charm was missing config options it could prevent the rendering of the inspector by raising an exception. https://code.launchpad.net/~bcsaller/juju-gui/service-options-viewlet/+merge/174496 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Guard around missing service config object #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -7 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/service.js View 1 1 chunk +12 lines, -7 lines 0 comments Download
M test/test_inspector_settings.js View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 4
bcsaller
Please take a look.
10 years, 9 months ago (2013-07-12 20:21:27 UTC) #1
gary.poster
LGTM with fix, and consideration of suggestion. Would really prefer to see a test of ...
10 years, 9 months ago (2013-07-12 21:08:24 UTC) #2
benjamin.saller
Thanks, changes made https://codereview.appspot.com/11228043/diff/1/app/views/service.js File app/views/service.js (right): https://codereview.appspot.com/11228043/diff/1/app/views/service.js#newcode1600 app/views/service.js:1600: settings.type = option.type; On 2013/07/12 21:08:25, ...
10 years, 9 months ago (2013-07-12 21:44:55 UTC) #3
bcsaller
10 years, 9 months ago (2013-07-13 00:13:10 UTC) #4
*** Submitted:

Guard around missing service config object

If a services charm was missing config options it could prevent the rendering
of the inspector by raising an exception.

R=gary.poster, benjamin.saller
CC=
https://codereview.appspot.com/11228043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b