#561: Display more user-friendly error page when navigating to a non-existing
product
---------------------------+-----------------------
  Reporter:  rjollos       |      Owner:  rjollos
      Type:  enhancement   |     Status:  review
  Priority:  major         |  Milestone:  Release 6
 Component:  multiproduct  |    Version:
Resolution:                |   Keywords:  hooks
---------------------------+-----------------------

Comment (by rjollos):

 There are a few issues with the patch:
  * Warning message is displayed when `href` is `/products` or
 `/products/`.
   * `/products`: Warning Product None not found
   * `/products/`: Warning Product not found
  * The //Create products// button no longer works.

 Since I committed some of the cleanup/refactoring changes already, I've
 attached a revised version of the patch:
 [attachment:t561_r1493739_hooks_no_product-1.diff]

 Unrelated to your patch, at the end of `process_request`,
 `product_view.html` is returned. However I can't find a way to cause the
 product view page to be displayed. I would have guessed that the products
 listed on the `product_list` page (`/products`) would link to the
 `product_view` page, but the links seem to direct to the default handler
 for the product.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/561#comment:7>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to