LearnNewsExamplesServices
Frontmatter
id8435
titleFix Release News Default Route Index
stateClosed
labels
bugai
assigneestobiu
createdAtJan 8, 2026, 8:08 PM
updatedAtJan 8, 2026, 8:10 PM
githubUrlhttps://github.com/neomjs/neo/issues/8435
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 8, 2026, 8:09 PM

Fix Release News Default Route Index

Closed v11.19.0 bugai
tobiu
tobiu commented on Jan 8, 2026, 8:08 PM

The onRouteDefault method in Portal.view.news.release.MainContainerController currently navigates to the first record in the store (index 0). Due to the recent change in apps/portal/resources/data/releases.json from a flat list to a tree structure (with parent nodes), index 0 now corresponds to a container node (e.g., "v11") rather than the latest release note. This causes an undefined route or incorrect navigation. The fix is to update the index from 0 to 1 to target the first actual release leaf node.

tobiu added the bug label on Jan 8, 2026, 8:08 PM
tobiu added the ai label on Jan 8, 2026, 8:08 PM
tobiu referenced in commit 9dda181 - "fix: Update default route index for Release News to 1 (#8435)" on Jan 8, 2026, 8:09 PM
tobiu
tobiu Jan 8, 2026, 8:09 PM

Input from Gemini 3 Pro:

✦ Fixed in 9dda18196. Updated onRouteDefault to use index 1 instead of 0 to skip the root node of the new tree structure.

tobiu closed this issue on Jan 8, 2026, 8:09 PM
tobiu assigned to @tobiu on Jan 8, 2026, 8:10 PM