After clicking the abort button on clone page, it is redirecting to the home page. Isn't it should go to respective content node?
Thanks.

Comments

AsadKamil created an issue. See original summary.

AsadKamil’s picture

Title: Wrong redirection of content » Wrong redirection of page for entity clone module
AsadKamil’s picture

Issue summary: View changes
morsok’s picture

Hmmm since we do not juste clone nodes I think we should'nt fix the redirect to a node, but instead use a redirect if it's set on the url.

gundarx’s picture

StatusFileSize
new493 bytes

The module appears to always redirect to the front page. A simple else statement fixes this. Patch attached.

john.money’s picture

+1 on #5

john.money’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 5: entity_clone_redirect.patch, failed testing.

mars0test’s picture

StatusFileSize
new862 bytes

Hi,
I have create a patch if someone needs to redirect user to entity form edit.
Because for my case the problem is, if you want edit an entity directly after cloned her, you can't find it easily because his created date is same as original.

mars0test’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 9: 2770687_wrong_redirection_for_entity_9.patch, failed testing.

erik frèrejean’s picture

#9 works for me.

kamkejj’s picture

Patch from #9 also works for me. Redirects to the entities edit page.

vpeltot’s picture

colan’s picture

Status: Needs work » Closed (duplicate)

We got confirmation in there.