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

Missing productId in /productDetail Route Leads to Null Reference in Template #354

Open
msaroshali opened this issue Jun 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@msaroshali
Copy link
Contributor

An error occurs when accessing the product detail page through the /productDetail route without a productId parameter. This results in a RenderingException because the FreeMarker template (views/CatalogController/productDetail.ftl.html) attempts to access a property (smallImageURL) on a null object (likely productDetail).

Error Message:
ninja.exceptions.RenderingException: The following has evaluated to null or missing: ==> productDetail

@msaroshali msaroshali added bug Something isn't working enhancement New feature or request labels Jun 17, 2024
@msaroshali msaroshali self-assigned this Jun 17, 2024
@msaroshali msaroshali added this to the 2.4.0 - Sprint 2 milestone Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant