Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

AuthorizeResponse method does not include the model's Custom object property #2694

Closed
jbrittan opened this issue Mar 10, 2016 · 4 comments
Closed
Assignees
Labels
Milestone

Comments

@jbrittan
Copy link

The AuthorizeResponse method in the DefaultViewService does not include the Custom property on the model that is passed to the method. When it goes to create a new CommonViewModel to use to format and render the page, it only includes the SiteName and SiteUrl properties from the model that is passed to it. My layout page relies on values from the custom property and I am seeing script errors because those are missing from the model. Thanks in advance.

@brockallen
Copy link
Member

So you're overriding AuthorizeResponse and setting Custom in the derived implementation?

@jbrittan
Copy link
Author

Yes that is correct. Sorry I didn't make that clear.

@brockallen
Copy link
Member

Ok, I see. Yep, that's a bug. I'll get a fix in.

@brockallen
Copy link
Member

fixed on dev

@brockallen brockallen added this to the 2.5 milestone Mar 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants