douglara / woofed-crm

139 stars 43 forks source link

Create user without account broadcast raise error #419

Open YukioArie opened 2 months ago

YukioArie commented 2 months ago
[ActiveJob] [Turbo::Streams::ActionBroadcastJob] [f30a78e9-61c4-4700-8537-da1501d3d3af] Error performing Turbo::Streams::ActionBroadcastJob (Job ID: f30a78e9-61c4-4700-8537-da1501d3d3af) from Async(default) in 26.07ms: ActionView::Template::Error (No route matches {:account_id=>nil, :action=>"edit", :controller=>"accounts/users", :id=>#<User id: 4, full_name: "", email: "yukioarie@gmail.com", created_at: "2024-09-27 21:37:19.368284000 -0300", updated_at:
"2024-09-27 21:37:19.368284000 -0300", phone: nil, language: "en", notifications: {"webpush_notify_on_event_expired"=>false}, avatar_url: "", job_description: "", account_id: nil>}, possible unmatched constraints: [:account_id]):
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_dispatch/journey/formatter.rb:44:in `path'21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_dispatch/routing/route_set.rb:824:in `url_for'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_dispatch/routing/route_set.rb:271:in `call'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_dispatch/routing/route_set.rb:214:in `call'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_dispatch/routing/route_set.rb:327:in `block in define_url_helper'
21:37:19 web.1     | /home/yukioarie/projects/woofed-crm/app/views/accounts/users/_user.html.erb:25:in `block in _app_views_accounts_users__user_html_erb__1604655062976059952_74040'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/helpers/capture_helper.rb:45:in `block in capture'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/helpers/capture_helper.rb:45:in `capture'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/helpers/tag_helper.rb:371:in `content_tag'
21:37:19 web.1     | /home/yukioarie/projects/woofed-crm/app/views/accounts/users/_user.html.erb:1:in `_app_views_accounts_users__user_html_erb__1604655062976059952_74040'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/base.rb:244:in `public_send'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/base.rb:244:in `_run'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/template.rb:157:in `block in render'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/notifications.rb:208:in `instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/template.rb:361:in `instrument_render_template'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/template.rb:155:in `render'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/renderer/partial_renderer.rb:251:in `block in render_partial_template'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/notifications.rb:206:in `block
in instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/notifications.rb:206:in `instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/renderer/partial_renderer.rb:246:in `render_partial_template'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/renderer/partial_renderer.rb:237:in `render'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/rendering.rb:117:in `block in _render_template'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/base.rb:270:in `in_rendering_context'21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/rendering.rb:116:in `_render_template'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_controller/metal/streaming.rb:216:in `_render_template'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.4/lib/action_view/rendering.rb:103:in `render_to_body'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_controller/metal/rendering.rb:158:in `render_to_body'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_controller/metal/renderers.rb:141:in `render_to_body'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/abstract_controller/rendering.rb:45:in `render_to_string'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_controller/metal/rendering.rb:147:in `render_to_string'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_controller/renderer.rb:81:in `render'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/actionpack-7.0.8.4/lib/action_controller/metal/rendering.rb:11:in `render'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/turbo-rails-2.0.6/app/channels/turbo/streams/broadcasts.rb:112:in `render_format'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/turbo-rails-2.0.6/app/channels/turbo/streams/broadcasts.rb:42:in `broadcast_action_to'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/turbo-rails-2.0.6/app/jobs/turbo/streams/action_broadcast_job.rb:6:in `perform'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/execution.rb:65:in `block in _perform_job'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/i18n-1.14.5/lib/i18n.rb:351:in `with_locale'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:127:in `instance_exec'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/timezones.rb:9:in `block (2 levels) in
<module:Timezones>'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:127:in `instance_exec'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:138:in `run_callbacks'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/execution.rb:64:in `_perform_job'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/instrumentation.rb:20:in `_perform_job'21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/execution.rb:52:in `perform_now'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/instrumentation.rb:14:in `block in perform_now'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/instrumentation.rb:25:in `block in instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/notifications.rb:206:in `block
in instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/notifications.rb:206:in `instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/instrumentation.rb:35:in `instrument'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/instrumentation.rb:14:in `perform_now'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/logging.rb:18:in `block in perform_now'21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/tagged_logging.rb:99:in `block
in tagged'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/tagged_logging.rb:37:in `tagged'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/tagged_logging.rb:99:in `tagged'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/logging.rb:25:in `tag_logger'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/logging.rb:18:in `perform_now'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/execution.rb:30:in `block in execute'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/railtie.rb:54:in `block (4 levels) in <class:Railtie>'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/execution_wrapper.rb:92:in `wrap'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/reloader.rb:72:in `block in wrap'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/execution_wrapper.rb:92:in `wrap'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/reloader.rb:71:in `wrap'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/railtie.rb:53:in `block (3 levels) in <class:Railtie>'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:127:in `instance_exec'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:138:in `run_callbacks'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/execution.rb:28:in `execute'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/activejob-7.0.8.4/lib/active_job/queue_adapters/async_adapter.rb:70:in `perform'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
21:37:19 web.1     | <internal:kernel>:187:in `loop'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'd_pool_executor.rb:340:in `catch'                                                                                                                               d_pool_executor.rb:340:in `block in create_worker'
21:37:19 web.1     | /home/yukioarie/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'