Project

General

Profile

Actions

Bug #76

closed

null pointer in product item controller and view

Added by Redmine Admin over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/15/2019
Due date:
% Done:

100%

Estimated time:

Description

put the try code in

_product_item_index.html.erb
wkproductitem_controller.rb

productId =session[controller_name].try(:product_id)
brandId =session[controller_name].try(:brand_id)
locationId =session[controller_name].try(:location_id)
availabilityId =session[controller_name].try(:availability)

Actions

Also available in: Atom PDF