First of all: thanks Hugo for your work, it's awesome!
Now the problems:
1) if I delete a node with Cobalt, I get redirected to "Page not found", instead of the usual front page with "Page xyz has been deleted."
First of all: thanks Hugo for your work, it's awesome!
Now the problems:
1) if I delete a node with Cobalt, I get redirected to "Page not found", instead of the usual front page with "Page xyz has been deleted."
Comments
Comment #1
Hugo Wetterberg commentedSorry about being slow to reply to this one. I've noticed this behaviour myself, it happens when you delete the node you're currently viewing. Which results in something like this:
http://brf.local/node/7/delete?destination=node/7
So, after the deletion the destination param kicks in and you get redirected to a node that doesn't exist. I made a change in the url_data handlers and the "Delete current node" item that's added by the node plugin that fixes this. url_data can now be a object with a path and destination attribute, where destination can be set to false to avoid any redirection.
Comment #2
Hugo Wetterberg commented