Unable to re-categorize topic

AI-generated summary

A bug report was filed by jomaxro regarding an inability to re-categorize topics on the Stonehearth forum. The issue occurs when attempting to change a topic’s category via the edit button, resulting in a 500 Internal Server Error instead of the expected move. The error log indicates a failure in the PUT request to the API endpoint. downey confirmed experiencing the same issue on the latest builds, noting that the problem affects some, but not all, topics. The issue was subsequently marked as Fixed by sam, who linked to the specific commit that resolved the bug and announced an imminent deployment.

Summary:

Unable to re-categorize topics on Stonehearth

Steps to reproduce:

  1. Click edit button next to title
  2. Change category

Expected Results:

Topic is moved to new category

Actual Results:

500 Internal Server Error

Notes:

Pretty big issue for us, we do a lot of moving of topics for organizational purposes.

Attachments:
Text of 500 error:

PUT http://discourse.stonehearth.net/t/problem-promoting-a-character-to-a-carpenter/18281 
500 (Internal Server Error)
ne.cors.t.crossDomain.send @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:3
ae.extend.ajax @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:3
s @ _application-45bdece088092fcaf08126a77be4a444.js:112
_ @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:16
h @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:16
Discourse.Ajax.Em.Mixin.create.ajax @ _application-45bdece088092fcaf08126a77be4a444.js:128
b.reopenClass.update @ _application-45bdece088092fcaf08126a77be4a444.js:7309
finishedEditingTopic @ _application-45bdece088092fcaf08126a77be4a444.js:22921
r.Mixin.create.send @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:11
i.Mixin.create.triggerAction @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:11
i.default.extend.sendAction @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:13
r.default.Ember.Component.extend.a.value @ _application-45bdece088092fcaf08126a77be4a444.js:28002
i.default.extend.trigger @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:14
r @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:8
n.default.handleEvent @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:14
p.default.extend.handleEvent @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:14
a.run @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:3
a.join @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:3
u.join @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:8
e.default.u.default.extend._bubbleEvent @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:13
(anonymous function) @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:13
ae.event.dispatch @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:2
v.handle @ ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:2

Image of event:

Version:

Discourse 1.5.0.beta11 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 48

2개의 좋아요

I got this on the latest builds as well. :frowning: :bug:

But I can do some. Just not all.

3개의 좋아요

Fixed per:

https://github.com/discourse/discourse/commit/5a6c34fb8ade7260325d8f100e26240e04b52978

Will deploy soon

4개의 좋아요