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

Issue 7234048: Correctly count subordinate relations

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by matthew.scott
Modified:
11 years, 2 months ago
Reviewers:
mp+145217
Visibility:
Public.

Description

Correctly count subordinate relations Subordinate relations were not being properly counted with the new comparison when it came to new services or relations. This was due to object inequality after a component's update method was called. Comparison switched to service modelIds, and test added. https://code.launchpad.net/~makyo/juju-gui/sub-rel-counter-1107999/+merge/145217 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : Correctly count subordinate relations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -34 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/topology/relation.js View 2 chunks +3 lines, -5 lines 0 comments Download
M test/test_environment_view.js View 4 chunks +49 lines, -29 lines 0 comments Download

Messages

Total messages: 4
matthew.scott
Please take a look.
11 years, 2 months ago (2013-01-28 18:20:31 UTC) #1
bac
Land as is. Thanks. https://codereview.appspot.com/7234048/diff/1/app/views/topology/relation.js File app/views/topology/relation.js (right): https://codereview.appspot.com/7234048/diff/1/app/views/topology/relation.js#newcode257 app/views/topology/relation.js:257: vis.selectAll('.service.subordinate') Hurrah for simplicity
11 years, 2 months ago (2013-01-28 21:30:29 UTC) #2
teknico
Land as is. Very nice, thanks.
11 years, 2 months ago (2013-01-29 11:25:24 UTC) #3
matthew.scott
11 years, 2 months ago (2013-01-29 14:57:45 UTC) #4
*** Submitted:

Correctly count subordinate relations

Subordinate relations were not being properly counted with the new comparison
when it came to new services or relations.  This was due to object inequality
after a component's update method was called.  Comparison switched to service
modelIds, and test added.

R=bac, teknico
CC=
https://codereview.appspot.com/7234048
Sign in to reply to this message.

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