Merge lp:~wgrant/launchpad/bug-911520 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | William Grant on 2012-01-25 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 14723 |
| Proposed branch: | lp:~wgrant/launchpad/bug-911520 |
| Merge into: | lp:launchpad |
| Diff against target: |
122 lines (+12/-12) 4 files modified
lib/lp/registry/model/oopsreferences.py (+1/-1) lib/lp/registry/tests/test_distribution.py (+1/-1) lib/lp/registry/tests/test_oopsreferences.py (+9/-9) lib/lp/registry/tests/test_product.py (+1/-1) |
| To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-911520 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Steve Kowalik (community) | code | 2012-01-25 | Approve on 2012-01-25 |
|
Review via email:
|
|||
Commit Message
[r=stevenk][bug=911520] Stop upper()ing OOPS IDs in findReferencedOOPS. python-oops-tools now treats them sensitively.
Description of the Change
14:18:30 < lifeless> wgrant: I'm curious what is mangling the case in the first place; is it just fimble-fingered copy-pastes ?
14:18:37 < wgrant> lifeless: Hmm?
14:18:47 < wgrant> lifeless: Your LP API upper()s them before they're returned.
14:18:59 < lifeless> wgrant: it does? Ok, so I am stupid.
14:19:26 < lifeless> I have -no- idea what I was thinking.
14:19:50 < lifeless> just checking the schema
14:20:04 < wgrant> oops-tools was already upper()ing them in parts.
14:20:26 < StevenK> wgrant: So I guess I write a IBugTag and then a tales adapter?
14:20:45 < lifeless> wgrant: that was eliminated a while ago
14:20:50 < wgrant> StevenK: No. There's no sensible way to do a fmt:url here.
14:21:00 < lifeless> wgrant: it does that on input only, for old-style oopses
14:21:12 < lifeless> wgrant: the db is case sensitive, and indexed case sensitively
14:21:13 < wgrant> lifeless: Ah, right, I remember that now.
14:21:28 < lifeless> wgrant: I'd fix the API TBH
14:21:48 < wgrant> I only didn't fix it because I presumed you had your reasons :)
14:21:58 < wgrant> I'll not land the datedir-repo fix, then.
14:22:04 * lifeless is apparently a camel toenail smoking crackhead
14:22:06 < wgrant> Just cowboy it and prune to get us out of immediate peril..
14:22:17 < wgrant> And fix the API this afternoon :)
14:22:28 < lifeless> which is another way to say I have -no- idea why I did that. Probably to make some test pass or something
