Skip to content

Make Partial on PageBase and PageModel work correctly #13013

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

Merged
merged 3 commits into from
Aug 13, 2019

Conversation

pranavkm
Copy link
Contributor

@pranavkm pranavkm commented Aug 9, 2019

Fixes #10438


Description

The Partial method on PageBase and PageModel does not work correctly if a model (other than the PageModel instance is specified). This has been a bug since the feature was introduced in 2.2

Impact

Customers are unable to use this feature with arbitrary model types, a fairly common scenairo

Regression

No

Risk

Low. This feature never worked correctly so users have been working around it.

@pranavkm pranavkm added the ask-mode This issue / PR is a patch candidate which we will bar-check internally before patching it. label Aug 9, 2019
Copy link
Member

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

LOL

@pranavkm
Copy link
Contributor Author

Good to go?

@Eilon Eilon added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 12, 2019
Copy link
Contributor

@ajaybhargavb ajaybhargavb left a comment

Choose a reason for hiding this comment

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

LGTM

@pranavkm pranavkm merged commit 9bd027a into release/3.0 Aug 13, 2019
@ghost ghost deleted the prkrishn/partial branch August 13, 2019 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates ask-mode This issue / PR is a patch candidate which we will bar-check internally before patching it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants