Unable to save wiki update

I made some edits to an existing wiki and I can no longer save it. I thought I might have added something odd, so I removed the update and it still won’t save. It is saving the update to drafts, so that’s nice at least.

  • Tested in Chrome Version 80.0.3987.122 (Official Build) (64-bit)
  • Tested in Firefox 68.5.0esr (64-bit)

Screenshot:

Error:

PUT https://discourse.opensource.com/t/discourse-changelog/247 422
(anonymous) @ VM671:1
send @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:9851
ajax @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:9448
i @ _application-89e9321f54ec2a6476b431bd880424a6c4ad46e1348d6772e7b815f3eda867be.js:9157
(anonymous) @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:71964
n @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:72486
o @ _application-89e9321f54ec2a6476b431bd880424a6c4ad46e1348d6772e7b815f3eda867be.js:9171
update @ _application-89e9321f54ec2a6476b431bd880424a6c4ad46e1348d6772e7b815f3eda867be.js:12860
(anonymous) @ _application-89e9321f54ec2a6476b431bd880424a6c4ad46e1348d6772e7b815f3eda867be.js:13756
E @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:71937
(anonymous) @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:72003
t.invoke @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66278
t.flush @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66168
t.flush @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66372
t._end @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66948
t.end @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66634
t._run @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:67003
t._join @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66977
t.join @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66694
f @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:53486
(anonymous) @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:45901
r @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:49817
handleEvent @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:45897
handleEvent @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:44834
(anonymous) @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:45224
dispatch @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:5251
v.handle @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:5058

Any ideas?

1 Like

Can you please check the server logs at /logs for the 422 response?

Can you try in safe mode please ? How to use Discourse Safe Mode

If it works with safe-mode, please give me the list of your plugins/components/any custom theme you would have.

I’m quite sure this will solve your issue:

https://github.com/discourse/discourse/pull/9161

Will merge it once tests pass.

2 Likes

Does that need to be backported? :thinking:

I’m unsure yet how this state is possible, it comes from when we added multi category hierarchy support.

Will try to have a repro tomorrow and see if it’s worth backporting.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.