Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added caution to call createView after handleRequest #5708

Merged
merged 1 commit into from
Oct 3, 2015

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Sep 19, 2015

Q A
Doc fix? yes
New docs? yes
Applies to all
Fixed tickets -

Many thanks to sidi on IRC for catching this missing important information!


Be aware that the ``createView()`` method should be called *after* ``handleRequest``
is called. Otherwise, changes done in the ``*_SUBMIT`` events aren't applied to the
view (like validation errors).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

view (like validation errors) -> i.e. validation errors etc. ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about "(like, for example, validation errors)"?

@xabbuh
Copy link
Member

xabbuh commented Oct 3, 2015

Thanks Wouter.

@xabbuh xabbuh merged commit a351d8a into 2.3 Oct 3, 2015
xabbuh added a commit that referenced this pull request Oct 3, 2015
…terJ)

This PR was merged into the 2.3 branch.

Discussion
----------

Added caution to call createView after handleRequest

| Q | A
| --- | ---
| Doc fix? | yes
| New docs? | yes
| Applies to | all
| Fixed tickets | -

Many thanks to *sidi* on IRC for catching this missing important information!

Commits
-------

a351d8a Added caution to call createView after handleRequest
@xabbuh xabbuh deleted the book-forms-createview branch October 3, 2015 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants