Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

NoMethodError in Spree::Admin::ContainerTaxonsController#qrs_pdf #116

Open
kalkov opened this issue Jul 17, 2012 · 1 comment
Open

NoMethodError in Spree::Admin::ContainerTaxonsController#qrs_pdf #116

kalkov opened this issue Jul 17, 2012 · 1 comment
Assignees

Comments

@kalkov
Copy link
Contributor

kalkov commented Jul 17, 2012

If no container_taxons are linked to a warehouse :

NoMethodError in Spree::Admin::ContainerTaxonsController#qrs_pdf

undefined method `name' for nil:NilClass
Rails.root: /home/versi/Desktop/work/ruby/spree/FreeStyle112

Application Trace | Framework Trace | Full Trace
/home/versi/.rvm/gems/ruby-1.9.3-p194@freestyle112/bundler/gems/spree_warehouse-2ba1aedf0ff0/app/controllers/spree/admin/container_taxons_controller.rb:34:in `block in generate_qrs'

@ghost ghost assigned kalkov Jul 17, 2012
@kalkov
Copy link
Contributor Author

kalkov commented Jul 17, 2012

Will fix it, till then just link container_taxon to a warehouse

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant