mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 08:52:46 +08:00
395654bf24
v1.2.0beta9 has introduced a regression in edit of a private topic (first post). Previously a check for no change in TopicsController was made but it has been changed without considering that the topic could be private. By simply forcing a conversion of `topic.category_id` to integer, the case where its value is nil is handled correctly as it was previously. |
||
---|---|---|
.. | ||
admin | ||
application_controller_spec.rb | ||
badges_controller_spec.rb | ||
categories_controller_spec.rb | ||
clicks_controller_spec.rb | ||
composer_messages_controller_spec.rb | ||
draft_controller_spec.rb | ||
email_controller_spec.rb | ||
embed_controller_spec.rb | ||
export_csv_controller_spec.rb | ||
groups_controller_spec.rb | ||
invites_controller_spec.rb | ||
list_controller_spec.rb | ||
notifications_controller_spec.rb | ||
omniauth_callbacks_controller_spec.rb | ||
onebox_controller_spec.rb | ||
permalinks_controller_spec.rb | ||
post_actions_controller_spec.rb | ||
posts_controller_spec.rb | ||
robots_txt_controller_spec.rb | ||
search_controller_spec.rb | ||
session_controller_spec.rb | ||
site_customizations_controller_spec.rb | ||
static_controller_spec.rb | ||
topics_controller_spec.rb | ||
uploads_controller_spec.rb | ||
user_actions_controller_spec.rb | ||
user_badges_controller_spec.rb | ||
users_controller_spec.rb |