You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Vishal Chhabria (JIRA)" <ji...@apache.org> on 2015/10/03 14:59:27 UTC

[jira] [Comment Edited] (OFBIZ-5919) CatalogUrlServlet should return a 404 HTTP status if the category or product does not exist

    [ https://issues.apache.org/jira/browse/OFBIZ-5919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942271#comment-14942271 ] 

Vishal Chhabria edited comment on OFBIZ-5919 at 10/3/15 12:59 PM:
------------------------------------------------------------------

IMO, 404 should be returned in case any url or request does not exist but /ecommerce/products/product-id is used to find the product with given productId.  
So I think this is the correct behaviour and CatalogUrlServlet should not return 404 HTTP status if any product is not found.


was (Author: vishal.chhabria):
IMO, 404 should be returned in case any url or request does not exist but /ecommerce/products/product-id is used to find the product with given productId.  
So I think this is the correct behaviour and CatalogUrlServlet should not return 404 HTTP status if any product is not found with any Id.

> CatalogUrlServlet should return a 404 HTTP status if the category or product does not exist
> -------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5919
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5919
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>            Reporter: Jacques Le Roux
>
> To test: http://demo-trunk-ofbiz.apache.org/ecommerce/products/dropShip/dropShip1-err
> Doesn't work: Says catalog not found, but the acces_log shows http status 200.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)