Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "Updating" an entry on a multi-site setup results in "Page Not Found" #4615

Closed
richhayler opened this issue Jul 19, 2019 · 3 comments
Closed

Comments

@richhayler
Copy link

richhayler commented Jul 19, 2019

Description

It looks like the site handle is not being automatically appended to the CP url after a draft entry is updated, i.e. ?site=siteHandle

Steps to reproduce

  1. Edit an existing entry
  2. Save as a draft
  3. Click "Update Entry"
  4. URL redirects to ../entries/section-name/entry-id instead of ../entries/section-name/entry-id?site=siteHandle resulting in the error "Page Not Found / Entry not Found"

This also happens when selecting live preview followed by "updating" the entry as this results in a draft being created.

Where should the user be redirected to? Back to the entries section or the current version of the entry (as a result of updating the draft to replace the current version).

Additional info

  • Craft version: 3.2.4.1
@richhayler
Copy link
Author

Looks related to #4574

@jordikroon
Copy link

We're having the same issues. For us it doesn't happen all the time. More about half the times we save an entry.

I've captured the 2 different responses. Hope it helps reproducing/solving the issue.
https://gist.github.com/jordikroon/bb4ae1db5ad7270540f5ebffbbf67953

@brandonkelly
Copy link
Member

Thanks for reporting that, just fixed for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants