Skip to content
New issue

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

Attempting to delete a dual entry causes error #31

Closed
jpeifer opened this issue Nov 14, 2012 · 3 comments
Closed

Attempting to delete a dual entry causes error #31

jpeifer opened this issue Nov 14, 2012 · 3 comments

Comments

@jpeifer
Copy link

jpeifer commented Nov 14, 2012

Steps to reproduction:

  1. Launch app > Search > Type: Phone > Search > 4 Gangstas Action: Delete > App returns error http://assetmanager.medu.com/assets/delete?asset_id=50a2dbc5330aec7bb0000004

Problem: Dual entries need to be able to be deleted without error.

@jpeifer
Copy link
Author

jpeifer commented Nov 14, 2012

Attempting to delete either entry for 4 Gangstas causes the same error posted above.

@jpeifer
Copy link
Author

jpeifer commented Nov 14, 2012

Full stack trace:

app/helpers/assets_helper.rb:303:in delete_asset' app/controllers/assets_controller.rb:108:indelete'
actionpack (3.2.3) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.2.3) lib/abstract_controller/base.rb:167:inprocess_action'
actionpack (3.2.3) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.3) lib/abstract_controller/callbacks.rb:18:inblock in process_action'
activesupport (3.2.3) lib/active_support/callbacks.rb:425:in _run__1000659189933161354__process_action__57087030832245557__callbacks' activesupport (3.2.3) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.3) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.3) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (3.2.3) lib/abstract_controller/callbacks.rb:17:in process_action' actionpack (3.2.3) lib/action_controller/metal/rescue.rb:29:inprocess_action'
actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:30:in block in process_action' activesupport (3.2.3) lib/active_support/notifications.rb:123:inblock in instrument'
activesupport (3.2.3) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.3) lib/active_support/notifications.rb:123:ininstrument'
actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.2.3) lib/action_controller/metal/params_wrapper.rb:205:inprocess_action'
actionpack (3.2.3) lib/abstract_controller/base.rb:121:in process' actionpack (3.2.3) lib/abstract_controller/rendering.rb:45:inprocess'
actionpack (3.2.3) lib/action_controller/metal.rb:203:in dispatch' actionpack (3.2.3) lib/action_controller/metal/rack_delegation.rb:14:indispatch'
actionpack (3.2.3) lib/action_controller/metal.rb:246:in block in action' actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:73:incall'
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:73:in dispatch' actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:36:incall'
journey (1.0.4) lib/journey/router.rb:68:in block in call' journey (1.0.4) lib/journey/router.rb:56:ineach'
journey (1.0.4) lib/journey/router.rb:56:in call' actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:600:incall'
warden (1.2.1) lib/warden/manager.rb:35:in block in call' warden (1.2.1) lib/warden/manager.rb:34:incatch'
warden (1.2.1) lib/warden/manager.rb:34:in call' actionpack (3.2.3) lib/action_dispatch/middleware/best_standards_support.rb:17:incall'
rack (1.4.1) lib/rack/etag.rb:23:in call' rack (1.4.1) lib/rack/conditionalget.rb:25:incall'
actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in call' actionpack (3.2.3) lib/action_dispatch/middleware/params_parser.rb:21:incall'
actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:incontext'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in call' actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:incall'
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in block in call' activesupport (3.2.3) lib/active_support/callbacks.rb:405:in_run__1721309164720351898__call__343642363289524854__callbacks'
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.3) lib/active_support/callbacks.rb:385:in_run_call_callbacks'
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in call' actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall'
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in call' railties (3.2.3) lib/rails/rack/logger.rb:26:incall_app'
railties (3.2.3) lib/rails/rack/logger.rb:16:in call' actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:incall'
rack (1.4.1) lib/rack/methodoverride.rb:21:in call' rack (1.4.1) lib/rack/runtime.rb:17:incall'
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.4.1) lib/rack/lock.rb:15:incall'
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in call' railties (3.2.3) lib/rails/engine.rb:479:incall'
railties (3.2.3) lib/rails/application.rb:220:in call' railties (3.2.3) lib/rails/railtie/configurable.rb:30:inmethod_missing'
passenger (3.0.17) lib/phusion_passenger/rack/request_handler.rb:96:in process_request' passenger (3.0.17) lib/phusion_passenger/abstract_request_handler.rb:516:inaccept_and_process_next_request'
passenger (3.0.17) lib/phusion_passenger/abstract_request_handler.rb:274:in main_loop' passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:206:instart_request_handler'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:171:in block in handle_spawn_application' passenger (3.0.17) lib/phusion_passenger/utils.rb:470:insafe_fork'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:166:in handle_spawn_application' passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:206:in start_synchronously' passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:180:instart'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:129:in start' passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:253:inblock (2 levels) in spawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:132:in lookup_or_add' passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:246:inblock in spawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:82:in block in synchronize' <internal:prelude>:10:insynchronize'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:79:in synchronize' passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:244:inspawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:137:in spawn_application' passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:275:inhandle_spawn_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:357:in server_main_loop' passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:206:instart_synchronously'
passenger (3.0.17) helper-scripts/passenger-spawn-server:99:in `

'

@parmarg
Copy link
Owner

parmarg commented Jan 7, 2013

Fixed

@parmarg parmarg closed this as completed Jan 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants