takes ages for Page redirect after node saved

Created on 12 December 2022, over 2 years ago
Updated 13 January 2025, 2 months ago

I have a simple rule to redirect to user account's page after user save a new node within the user my account page. but it takes ages for the page redirect ( around 10s to wait for the redirect after I click the "save" button of the node )

Reproduce
1: I have a node type which including only a paragraph bundle with several taxonomy/text fields
2: User account page is a panel page
3: I have a block link that showing on the user account panel page to let user click to create a node
4: after user "save" the node, it should stay in the account page which done by the rule page redirect.

When user saving the node, it will wait about 10s to finish and back to the account page. but if I remove the rule, then it will takes 1s to finish save the node, but user will be stay in the node page but not the account page.

This is the rules below:

{ "rules_redirect_to_user_account_after_node_saved" : {
"LABEL" : "Redirect to user account after node saved",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"REQUIRES" : [ "rules" ],
"ON" : {
"node_insert--experience" : { "bundle" : "experience" },
"node_insert--skills" : { "bundle" : "skills" }
},
"DO" : [ { "redirect" : { "url" : "https:\/\/www.website.com\/user" } } ]
}
}

πŸ’¬ Support request
Status

Closed: outdated

Version

2.13

Component

Rules Core

Created by

πŸ‡¬πŸ‡§United Kingdom freelylw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    I cannot reproduce this in the current versions of Rules, and Drupal 7 is now unsupported.

Production build 0.71.5 2024