New topic not created, error invalid topic params


Discourse Version: test-passed

Plugin Commit: version 0.7.0

Steps to Reproduce

  1. Fill out wizard
  2. Topic not created
  3. from error log: invalid topic params

The wizard is attached here

forum-cannabisanbauen-net-wizards-1625606515.json (7.3 KB)


I tested my other wizard which worked successfully before, but now it has exactly same issue:


Uncaught [object Object]
Line: 1
Column: 268110
Window Location:

NoMethodError (undefined method except' for nil:NilClass) app/controllers/application_controller.rb:395:in block in with_resolved_locale’
app/controllers/application_controller.rb:395:in with_resolved_locale' lib/middleware/omniauth_bypass_middleware.rb:71:in call’
lib/content_security_policy/middleware.rb:12:in call' lib/middleware/anonymous_cache.rb:355:in call’
config/initializers/008-rack-cors.rb:25:in call' config/initializers/100-quiet_logger.rb:23:in call’
config/initializers/100-silence_logger.rb:31:in call' lib/middleware/enforce_hostname.rb:23:in call’
lib/middleware/request_tracker.rb:177:in `call’


plugins/discourse-custom-wizard/controllers/custom_wizard/admin/submissions.rb:42:in block (2 levels) in build_submissions' plugins/discourse-custom-wizard/controllers/custom_wizard/admin/submissions.rb:41:in map’
plugins/discourse-custom-wizard/controllers/custom_wizard/admin/submissions.rb:41:in block in build_submissions' activerecord ( lib/active_record/relation/delegation.rb:88:in each’
activerecord ( lib/active_record/relation/delegation.rb:88:in each' plugins/discourse-custom-wizard/controllers/custom_wizard/admin/submissions.rb:32:in map’
plugins/discourse-custom-wizard/controllers/custom_wizard/admin/submissions.rb:32:in build_submissions' plugins/discourse-custom-wizard/controllers/custom_wizard/admin/submissions.rb:16:in show’
actionpack ( lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' actionpack ( lib/abstract_controller/base.rb:228:in process_action’



1 Like

I’ll take a look at this in the morning. Thanks for the report.

1 Like

Hey @fzngagan any news on this one?

@Jrgong The reason the wizard action isn’t working is because save wizard submissions is disabled. Actions rely on submission data being saved to the database.

Note in the Wizard Settings description

As with all advanced settings, be careful when using these settings. Using them may effect the normal functioning of the wizard.

Nevertheless, I think I might add an additional warning in the UI.

The error in the log attached to this report is unconnected (and will not occur on the current version of the wizard)

1 Like

Hey @angus I never realized that it was mandatory.
Making it more clear in the UI would be super helpful. Maybe also add a :information_source: Button link next to each setting which explains the exact functionality and dependencies of each setting.

Also can you add an according warning into the error logs for such situation?

1 Like

We are completely redoing the submissions and logs UI in the process of preparing the plugin for PRO launch, which will cover those points and more :+1:

I’m closing this specific issue.