Merge lp://staging/~abentley/launchpad/fix-branch-precondition2 into lp://staging/launchpad

Proposed by Aaron Bentley
Status: Merged
Merged at revision: 12853
Proposed branch: lp://staging/~abentley/launchpad/fix-branch-precondition2
Merge into: lp://staging/launchpad
Diff against target: 39 lines (+7/-3)
1 file modified
lib/lp/translations/javascript/sourcepackage_sharing_details.js (+7/-3)
To merge this branch: bzr merge lp://staging/~abentley/launchpad/fix-branch-precondition2
Reviewer Review Type Date Requested Status
Brad Crittenden (community) code Approve
Review via email: mp+57945@code.staging.launchpad.net

Commit message

Fix 412 precondition error from selecting branch repeatedly.

Description of the change

= Summary =
Fix bug #758919: 412 Precondition failed error using the selecting upstream source branch in translations sharing page

== Proposed fix ==
Reload the productseries after setting the branch.

== Pre-implementation notes ==
None

== Implementation details ==
None

== Tests ==
None

== Demo and Q/A ==
Go to the +sharing-details page for a sourcepackage. Select a branch. Then select another branch. The second time should not give a 412 precondition failed error.

= Launchpad lint =

Checking for conflicts and issues in changed files.

Linting changed files:
  lib/lp/translations/javascript/sourcepackage_sharing_details.js

To post a comment you must log in.
Revision history for this message
Brad Crittenden (bac) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.