Live link of moved phame post become 404 Not Found

Reproduction Instructions

  1. Using Phame with 2 or more blogs, create a post under one of them.
  2. Publish it, then keep a tab open that shows the post normally, and another tab with the “View Live” link.
  3. On a third tab, view the post again and use the “Move Post” feature.
  4. Refresh the two tabs we kept open.

Expected:

Both links still work and render, or redirect to, the post in question.

Actual:

The normal link still works, and doesn’t even redirect (the breadcrumbs change, but the url seems blog-agnostic, fine). E.g. https://phabricator.example.org/phame/post/view/171/test/

The live link is now broken, showing “404 Not Found”. E.g. https://phabricator.example.org/phame/live/2/post/171/test

Phabricator/Arcanist Version

  • phabricator 05afa15ce649ee208cf3c022c75aa85ae390eabc (Thu, Jul 4)
  • phutil 1ce011bc65687b2571c839bc1a0439cb1b0cdfd6 (Wed, Jul 10)

Thanks!

I filed this upstream as https://secure.phabricator.com/T13353.

This should be fixed by https://secure.phabricator.com/D20688.