I don’t have a lot of experience using Data Explorer, so this might be due to my lack of understanding, but I’ve noticed that this query gives me a 500 error:
FROM user_histories uh
where uh.id = 6290
ActiveModel::MissingAttributeError (missing attribute: category_id) /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activemodel-6.0.1/lib/active_model/attribute.rb:221:in `value’
If I run the DB from the container I can see that
uh.topic_id is 1391 (i.e. non-NULL). Basically, I changed the category of topic 1391.
What I don’t understand is why this is giving me an error. I suspect it has something to do with the
topic conversion that Data Explorer does (maybe it needs the category_id to do this, but this isn’t available?)
Is this a legitimate bug or am I missing something?