formsubmitter should redirect to the outer view

Created on 27 January 2016, over 8 years ago
Updated 14 October 2023, 11 months ago

Problem/Motivation

When you render a view that has a form inside another view, the redirect form should redirect to the outer view not to the rendered.

I have this problem when I render a view in the footer of another view and I have actions that does not redirect anywhere, then is executed the getCurrerntRequest of FormSubmitter->redirectForm and it redirects to the path of the inner view.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: cannot reproduce

Version

9.5

Component
Form 

Last updated less than a minute ago

Created by

🇪🇸Spain edurenye

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.

  • 🇳🇿New Zealand quietone New Zealand

    This was a bugsmash daily triage target yesterday.

    @edurenye, Thank you for reporting this problem.

    There has been no activity here for 7 years so I wonder if this is still a problem. Is it?

    In #busgmash lendude wanted to know if this is using nested forms. He pointed out that if it is then since that is not allowed in html so there is no ‘expected behavior’. If not nested, then he asked how should the form be aware of the parent? He also noted that "you can do something with an attachment and a linked display to combine the two".

    The conclusion was that this needs complete steps to reproduce the issue (starting from "Install Drupal core"). I am adding tags.

    Thanks!

  • Status changed to Closed: cannot reproduce 11 months ago
  • 🇳🇿New Zealand quietone New Zealand

    It has been 7 years here with no activity and no response to the query for more information 7 months ago. Since we need that information and it has not been provided, I am closing this issue.

    If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").

    Thanks!

Production build 0.71.5 2024