Environment
Discourse Version: 3.4.0.beta2-dev [ed4791d0b0]
Plugin Commit: 2.9.1[f45a117]
Steps to Reproduce
I originally attempted to post my report on this thread since it was the same issue, but I accidentally spammed your system attempting to post to a locked thread (that I was referencing for how to provide my wizard json >_< ) and then your system marked all my posts as spam and banned me. My bad. Here is the post I meant to provide.
â
Hi, I am also getting this error after updating to 3.4.0.beta3-dev. It is not sporadic:
Clicking âTry Againâ spawns the same message. Accessing the wizardâs URL while logged out / in incognito mode redirects to a basic âYou need to be logged in to access this wizardâ (no error message).
â
In trying to answer your diagnostic questions, however, I discovered an interesting wrinkle.
The above message comes up when trying to visit this URL for the wizard:{siteurl}/w/test-wizard/steps/step_1
.
But I noticed in the Wizard composer, it sends you to just /test-wizard/
, so I tried visiting that instead. That gives me a page with no error message, but the wizard is instead blank.
â
Discourse ver is 3.4.0.beta2-dev (ed4791d0b0)
CWP ver is 2.9.1(f45a117)
I am a subscriber, but not on my demo/test site.
The reason I discovered the above wrinkle regarding the URLs (i mean, routing error, obviouslyâŚ) is because the above Wizard WAS my only wizard on this demo site, but I decided to create a new Wizard just to compare and that one actually works!
So it might be that only old wizards are impacted? Here is my wizards json with both wizards included. test wizard
is the one that doesnât work, new
is the newest one.
wizard json
[{"id":"test_wizard","name":"Test Wizard","save_submissions":true,"theme_id":1,"steps":[{"id":"step_1","fields":[{"id":"step_1_field_1","label":"","description":"This is a question.","type":"text"},{"id":"step_1_field_2","label":"","description":"This is another question.","type":"text"}]}],"actions":[{"id":"action_2","run_after":"wizard_completion","type":"create_topic","post":"step_1_field_1","post_builder":true,"post_template":"field 1: w{step_1_field_1}\n\nfield 2: w{step_1_field_2}","title":[{"type":"assignment","output":"step_1_field_1","output_type":"wizard_field","output_connector":"set"}],"category":[{"type":"assignment","output_type":"category","output_connector":"set","output":[3]}]},{"id":"action_1","run_after":"step_1","type":"send_message","post_builder":true,"post_template":"field 1: w{step_1_field_1}\n\nfield 2: w{step_1_field_2}","title":[{"type":"assignment","output":"w{step_1_field_1}","output_type":"text","output_connector":"set"}],"recipient":[{"type":"assignment","output_type":"user","output_connector":"set","output":["Argo_Registry"]}]}]},{"id":"new_wizard","name":"new wizard","save_submissions":true,"steps":[{"id":"step_1","title":"question","raw_description":"here's a question. ","fields":[{"id":"step_1_field_1","label":"asdf","description":"boopity doopity","type":"text","validations":{"similar_topics":{}}},{"id":"step_1_field_2","label":"asdf2","description":"asdf asdfasdfasdf","type":"checkbox"}],"description":"here's a question. "}],"actions":[]}]
Example
As noted in previous question, it will not show wizards to non-users.
Logs
No apparent logged errors.