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

CategoryController - Show page 404 with an error instead of redirecting to the 404 #8092

Merged
merged 1 commit into from
Jul 21, 2017

Conversation

GuillaumeGBzh
Copy link
Contributor

Questions Answers
Branch? 1.6.1.x
Description? When I view page of a category that does not exist, I am redirected to page 404 rather than displaying an error and a 404 code. I was inspired by the behavior of the 404 on the products.
Type? bug fix
Category? FO
BC breaks? no
Deprecations? no
Fixed ticket? (optional)
How to test? View a category that does not exist. Example: index.php?id_category=999999&controller=category

@prestonBot
Copy link
Collaborator

Hello GuillaumeG22!

This is your first pull request on the PrestaShop project. Thank you, and welcome to this Open Source community!

@maximebiloe maximebiloe added this to the 1.6.1.16 milestone Jul 13, 2017
@maximebiloe maximebiloe changed the title FO: CategoryController - Show page 404 with an error instead of redirecting to the 404 CategoryController - Show page 404 with an error instead of redirecting to the 404 Jul 13, 2017
@maximebiloe maximebiloe merged commit 29009b4 into PrestaShop:1.6.1.x Jul 21, 2017
@maximebiloe
Copy link
Contributor

Thanks @GuillaumeG22

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

Successfully merging this pull request may close these issues.

3 participants