Merge lp:~danilo/launchpad/bug-414832 into lp:launchpad
Proposed by
Данило Шеган
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp:~danilo/launchpad/bug-414832 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp:~danilo/launchpad/bug-414832 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Henning Eggers (community) | Approve | ||
Review via email: mp+10256@code.launchpad.net |
To post a comment you must log in.
= Bug #414832 =
I've used a silly little clause that reduces duplicate rows in SQL when
doing symmetric joins of the same table twice. However, Jeroen rightly
noted how this is not the right thing to do here, so here's a fix.
Note that this code has not rolled out to production yet, so I can
thank Jeroen for catching this so early even before the QA.
== Proposed fix ==
Remove "other.id >= this.id" clause from SQL.
== Tests ==
bin/test -vvt getPOFilesTouch edSince_ bug_414832
(I didn't want to bother to figure out a better name for the test,
since the test is basically what it is; it's very dependent on the
previous broken implementation).
== Demo and Q/A ==
Test
cronscripts/ rosetta- pofile- stats-daily. py
on staging.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: translations/ tests/test_ pofile. py translations/ model/pofile. py
lib/lp/
lib/lp/