A bug was reported by thegurjyot where the /new-topic shortcut stopped functioning from /latest and other routes after the Discourse 2.3 beta 5 update, particularly affecting mobile Tab-Bar components. The issue stemmed from Ember 3.7.0+ and involved the route’s then block failing to execute. david identified this as a broader problem impacting any /new-topic links from /latest, including those in theme components or banners. He resolved it via a commit 583226d, which was merged into tests-passed shortly after. thegurjyot confirmed the fix worked after updating. nexo asked whether the behavior—redirecting to /latest and then prompting the composer—is intentional; david confirmed yes, and noted that specifying a category in the link will redirect to that category’s latest page instead.
/new-topic used to work perfectly with Tab-Bar component in mobile. But after the Discourse 2.3 beta 5 update, it stopped working (or rather it stopped working from a lot of routes). I notified Osama for this at the Tab Bar component topic and also exchanged a few messages about it. So the issue happened in Ember >= 3.7.0
“Then” should be getting executed in line 58 but due to some reason, it’s aborting that part. Can someone tell how this can be solved and /new-topic be fixed again to work in mobile with Tab-Bar?
This turned out to be a more general problem. Any links to /new-topic from /latest would fail. That includes links from theme components, global notices, or banner topics. The issue should now be fixed, following: