Closed wbraswell closed 8 years ago
@wbraswell, I'd appreciate it if you could do a little testing on this one at some point; it was a relatively complicated change, lots of bits extracted and tidied up in both front-end and admin-side controllers. I think I got it all right, but a second pair of eyes would be reassuring! :)
Okay, I am in the process of working on my servers, at some point in the not-too-distant future I will get an updated copy of Shiny running and test out this issue.
When I tried to add an item (“Keyboard”), it failed with Catalyst’s error page being shown. The second time when I tried to add the same item, but with a different item code, again it failed the same way. However, http://dylansworld.net/admin/shop/list-items lists the item (“Keyboard”). Clicking “View” loads a page with the message “Specified item not found. Please try again.”. “Edit” errors out.
...
[error] Caught exception in ShinyCMS::Controller::Admin::Shop->get_item "Can't call method "shop_item_elements" on an undefined value at /home/wbraswell/public_html/dylansworld.net-latest/script/../lib/ShinyCMS/Controller/Admin/Shop.pm line 109.", referer: http://dylansworld.net/admin/shop/add-item
...