-
Notifications
You must be signed in to change notification settings - Fork 13
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
"Custom" URL rewrites error out. #2
Comments
I've narrowed it down. The router is sending an invalid HTTP status code here: The The ternary logic here https://github.com/Knectar/Magento-Store-Codes/blob/master/app/code/community/Knectar/Storecodes/Helper/Data.php#L40 says that if What do you think? |
I could not recreate the error on my test rig, but there could be other reasons for that. Your explanation makes sense so I fixed it. Thank you for finding a bug so soon after it emerged. When the config is |
This module behaves like another when it comes to "Custom" URL rewrite types in the "URL Rewrite Management" section of the admin: jreinke/magento-hide-default-store-code#2 (comment).
The exception being that this one throws an "Invalid HTTP response code" 503 error, while the other throws a 404.
The text was updated successfully, but these errors were encountered: