~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/stories/webservice/xx-bug.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-02-14 04:04:46 UTC
  • mfrom: (12361.1.8 fix-lazr-restful-version)
  • Revision ID: launchpad@pqm.canonical.com-20110214040446-22y53n2x84dndcln
[r=thumper][no-qa] Use the new, correct lazr.restful-0.16 egg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
  ...     target=webservice.getAbsoluteUrl('/bzr'))
480
480
  HTTP/1.1 400 Bad Request
481
481
  ...
482
 
  IllegalTarget: Distribution bug tasks may only be re-targeted to
 
482
  Distribution bug tasks may only be re-targeted to
483
483
  a package in the same distribution.
484
 
  <BLANKLINE>
485
484
 
486
485
We can't move a task from one distribution to another.
487
486
 
490
489
  ...     target=webservice.getAbsoluteUrl('/ubuntu/+source/alsa-utils'))
491
490
  HTTP/1.1 400 Bad Request
492
491
  ...
493
 
  IllegalTarget: Distribution bug tasks may only be re-targeted to
 
492
  Distribution bug tasks may only be re-targeted to
494
493
  a package in the same distribution.
495
 
  <BLANKLINE>
496
494
 
497
495
We can change an upstream task to target a different project.
498
496
 
512
510
  ...     target=webservice.getAbsoluteUrl('/ubuntu/+source/alsa-utils'))
513
511
  HTTP/1.1 400 Bad Request
514
512
  ...
515
 
  IllegalTarget: Upstream bug tasks may only be re-targeted to
516
 
  another project.
517
 
  <BLANKLINE>
 
513
  Upstream bug tasks may only be re-targeted to another project.
518
514
 
519
515
If the milestone of a task is on a target other than the new
520
516
target, we reset it in order to avoid data inconsistencies.
801
797
    ...     target=john_webservice.getAbsoluteUrl('/fooix'))
802
798
    HTTP/1.1 400 Bad Request
803
799
    ...
804
 
    NominationError: This bug cannot be nominated for Fooix.
 
800
    This bug cannot be nominated for Fooix.
805
801
 
806
802
The bug also can't be nominated for Debuntu 5.0, as it has no
807
803
Debuntu tasks.
816
812
    ...     target=john_webservice.getAbsoluteUrl('/debuntu/5.0'))
817
813
    HTTP/1.1 400 Bad Request
818
814
    ...
819
 
    NominationError: This bug cannot be nominated for Debuntu 5.0.
 
815
    This bug cannot be nominated for Debuntu 5.0.
820
816
 
821
817
Bug subscriptions
822
818
-----------------
1204
1200
  X-Lazr-Oopsid: OOPS-...
1205
1201
  <BLANKLINE>
1206
1202
  Object: <...BugTrackerSet object at ...>, name: u'mozilla.org'
1207
 
  <BLANKLINE>
1208
 
  Traceback (most recent call last):
1209
 
  ...
1210
 
  NotFound: Object: <...BugTrackerSet object at ...>, name: u'mozilla.org'
1211
 
  <BLANKLINE>
1212
1203
 
1213
1204
Naturally, if we follow the Location: header then we'll get the
1214
1205
renamed bug tracker.
1238
1229
    ...     dumps(dict(active=False)))
1239
1230
    HTTP/1.1 401 Unauthorized
1240
1231
    ...
1241
 
    Traceback (most recent call last):
1242
 
    ...
1243
 
    Unauthorized: (<BugTracker at ...>, 'active', 'launchpad.Admin')
1244
 
    <BLANKLINE>
 
1232
    (<BugTracker at ...>, 'active', 'launchpad.Admin')
1245
1233
 
1246
1234
Admins can, however.
1247
1235