We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Summary
While deleting cart items in backend, getting message undefined in browser alert
Steps to Replicate
StackTrace
undefined method `map' for nil:NilClass Did you mean? tap /Users/pikender/.rvm/gems/ruby-2.3.1@spree/bundler/gems/spree_events_tracker-e888ab17482a/app/trackers/spree/cart/event/tracker.rb:16:in `track' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/bundler/gems/spree_events_tracker-e888ab17482a/app/models/concerns/spree/order_contents_decorator.rb:34:in `after_add_or_remove' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/bundler/gems/spree-ca62f5b62841/core/app/models/spree/order_contents.rb:18:in `remove' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/bundler/gems/spree-ca62f5b62841/api/app/controllers/spree/api/shipments_controller.rb:70:in `remove' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:198:in `process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:137:in `process' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionview-4.2.5/lib/action_view/rendering.rb:30:in `process' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal.rb:196:in `dispatch' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_controller/metal.rb:237:in `block in action' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `dispatch' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:45:in `serve' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `public_send' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `method_missing' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/routing/mapper.rb:51:in `serve' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block in call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/head.rb:13:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/params_parser.rb:27:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/flash.rb:260:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/cookies.rb:560:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activerecord-4.2.5/lib/active_record/query_cache.rb:36:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activerecord-4.2.5/lib/active_record/migration.rb:377:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:88:in `__run_callbacks__' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_call_callbacks' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/reloader.rb:73:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/remote_ip.rb:78:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/better_errors-2.0.0/lib/better_errors/middleware.rb:84:in `protected_app_call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/better_errors-2.0.0/lib/better_errors/middleware.rb:79:in `better_errors_call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/better_errors-2.0.0/lib/better_errors/middleware.rb:57:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/web-console-2.3.0/lib/web_console/middleware.rb:28:in `block in call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/web-console-2.3.0/lib/web_console/middleware.rb:18:in `catch' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/web-console-2.3.0/lib/web_console/middleware.rb:18:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/railties-4.2.5/lib/rails/rack/logger.rb:38:in `call_app' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `block in call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `block in tagged' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:26:in `tagged' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `tagged' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/request_id.rb:21:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/activesupport-4.2.5/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/actionpack-4.2.5/lib/action_dispatch/middleware/static.rb:116:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/railties-4.2.5/lib/rails/application.rb:165:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service' /Users/pikender/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/pikender/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/pikender/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' /Users/pikender/.rvm/gems/ruby-2.3.1@spree/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in `block in create_with_logging_context'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Summary
While deleting cart items in backend, getting message undefined in browser alert
Steps to Replicate
StackTrace
The text was updated successfully, but these errors were encountered: