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

Issue 10914044: Fixes mishandling of new charm IDs

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by j.c.sackett
Modified:
10 years, 10 months ago
Reviewers:
mp+172907, curtis, gary.poster
Visibility:
Public.

Description

Fixes mishandling of new charm IDs routeDirectCharmID assumed that a charm id would only have 2 parts, series and charm. New charms have series and charm, but also the ~ identity. This patched the method to check for 2 parts, or three parts starting with '~'. https://code.launchpad.net/~jcsackett/juju-gui/handle-new-charm-charmids/+merge/172907 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Fixes mishandling of new charm IDs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/subapps/browser/browser.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M test/test_browser_app.js View 1 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 4
j.c.sackett
Please take a look.
10 years, 10 months ago (2013-07-03 21:05:50 UTC) #1
curtis
LGTM. Thanks.
10 years, 10 months ago (2013-07-03 21:13:57 UTC) #2
gary.poster
LGTM. Thank you!
10 years, 10 months ago (2013-07-03 21:14:13 UTC) #3
j.c.sackett
10 years, 10 months ago (2013-07-03 21:25:42 UTC) #4
*** Submitted:

Fixes mishandling of new charm IDs

routeDirectCharmID assumed that a charm id would only have 2 parts, series and
charm. New charms have series and charm, but also the ~ identity. This patched
the method to check for 2 parts, or three parts starting with '~'.

R=curtis, gary.poster
CC=
https://codereview.appspot.com/10914044
Sign in to reply to this message.

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