Skip to content

after $form->setAction(), destination presenter throws exception #33

Description

@iinfo-dev-mk

In version 2.2:

I have PageWithFormPresenter::actionDefault with this code

$form = $this["orderForm"];
$form->setAction($this->link(":Result:", "paramValue"));

/**
* @return UI\Form
*/
public function createComponentOrderForm() {
}

When form is submitted to destination url, presenter which serves this url (ResultPresenter) throws the BadSignalException with "The signal receiver component 'orderForm' is not found".

This worked without any error in 2.1. It's related to change in form submit url and "do" parameter in POST data, which was introduced in 2.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions