Steps to reproduce:
- Add a new site named Site Name > Add a widget page named Staging Blogs Page > Place the blogs widget on it
- Enable local (or remote) staging
- Add a blog entry named Blogs Entry Title > Edit it
- Edit custom URL to custom-url > Publish
- Edit the entry > Go to history
- Restore the URL > Publish
- note that the old friendlyURL is custom-url, active friendlyURL is blogs-entry-title
- Go to site page > Publish to live
- Go to live >
- Go to the details of the blog entry
The friendlyURL contains blogs-entry-title.
The friendlyURL contains custom-url.
- Discovered while testing
LPS-145196 Create staging tests for LPS-141976