Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295366

Destination URL breaks preview

$
0
0

From #1510544: Allow to preview content in an actual live environment

I did accidentally find one other bug in testing: if you're at admin/content, and select "Edit" next to a node in the list, then click "Preview," instead of being shown the preview, you will be taken back to admin/content and your changes lost. I suspect that's because the URL you end up on is http://8.x.local/node/1/edit?destination=admin/content and this somehow screws with the preview system's use of URLs? Hm.

Oh yes, the destination parameter, we somehow lost that in the patch somewhere, I remember we used to store that property as well.
It's not /that/ hard to implement, but I'm AFK until monday. If we can wait that's fine, unless someone else takes that up. Also more than happy to fix that in a follow up. You can even assign it on me immediately :)

This has this bewildering effect:

  • On admin/content, edit a node.
  • Change stuff, click Preview.
  • You are returned to admin/content. Edit the node again.
  • The changes appear to have been saved by preview, but totally were not.

Viewing all articles
Browse latest Browse all 295366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>