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

7.1.0 contains bug when HttpCacheExpiration and HttpCacheValidation attributes are applied on controller and on action #138

Open
ernestas20111 opened this issue Mar 21, 2024 · 1 comment
Assignees

Comments

@ernestas20111
Copy link

ernestas20111 commented Mar 21, 2024

This bug was probably introduced in 7.1.0 version.

If both - controller and action contain HttpCacheExpiration and HttpCacheValidation attributes with different values.
Action for some reason inherits values set on controller and not on action.
In other words, attributes applied to action do not take any effect, unless attributes are removed from controller level.

Note: In version 7.0.0 everything seems to be working as expected.

@KevinDockx
Copy link
Owner

Hmm, odd, something like that should've been caught by the unit tests. Thanks for letting me know, I'll have a look!

@KevinDockx KevinDockx self-assigned this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants