Unable to create new topic when filtering by category and tag

Summary:

Unable to create a new topic when the view is filtered by category and tag.

Steps to reproduce:

  1. Filter the view by category, then subcategory, and finally by tag.
  2. Click New Topic

Expected Results:

Composer window opens.

Actual Results:

Dialog box appears with error message:

The page at discourse.stonehearth.net says:

composer was opened without a draft key

Notes:

This appears to happen regardless of whether the filter is set to a subcategory or a category, and does not care if a topic template is set.

Attachments:

Filter used:

Dialog that appears:

URL of filter: http://discourse.stonehearth.net/tags/c/support/bug-reports/building.

Versions and Mods:

Discourse 1.5.0.beta7 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 47

Update: Upon further testing, if you switch to another category and remove the tag filter, you are able to create a new topic. However, if you attempt to filter by tag again, the composer will open, but will list the wrong category.
Below is a screenshot of the composer opened from the Bug Reports subcategory, with the Suggestions category selected in the composer.

This is no longer an issue. Composer opens without issue with the right category selected.

2 Likes

I fixed this today.

At the same time I figured out how to pre-fill the tags input of the composer. If you’re in a view filtered by tag, the composer will now be prefilled with the tag.

FYI @natman @travis

5 Likes

So many great fixes today - thanks Neil!!

1 Like