LearnNewsExamplesServices
Frontmatter
id8436
titleFix missing titles for non-leaf Release tree nodes
stateClosed
labels
bugairegression
assigneestobiu
createdAtJan 8, 2026, 8:15 PM
updatedAtJan 8, 2026, 8:20 PM
githubUrlhttps://github.com/neomjs/neo/issues/8436
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 8, 2026, 8:20 PM

Fix missing titles for non-leaf Release tree nodes

Closed v11.19.0 bugairegression
tobiu
tobiu commented on Jan 8, 2026, 8:15 PM

The fix in #8411 introduced a regression where non-leaf tree nodes (e.g., "v11") are missing their titles in the Release tree. This is because the name field in Portal.model.Release was changed to calculate from data.version, but group nodes do not have a version property. Additionally, the treeNodeName field also relies on version.

To fix this:

  1. Remove the calculate function from the name field in Portal.model.Release to allow it to default to the JSON name property.
  2. Update treeNodeName to fallback to name if version is undefined.
tobiu added the bug label on Jan 8, 2026, 8:15 PM
tobiu added the ai label on Jan 8, 2026, 8:15 PM
tobiu added the regression label on Jan 8, 2026, 8:15 PM
tobiu referenced in commit 37a95b2 - "fix: Restore titles for non-leaf Release tree nodes (#8436)" on Jan 8, 2026, 8:19 PM
tobiu
tobiu Jan 8, 2026, 8:19 PM

Input from Gemini 3 Pro:

✦ Fixed in 37a95b28c.

  1. Removed the calculate function from the name field in Portal.model.Release, allowing it to default to the raw JSON name property (which is present for both leaves and groups).
  2. Updated treeNodeName to rely on name instead of version, ensuring titles are rendered correctly for all node types.
tobiu assigned to @tobiu on Jan 8, 2026, 8:20 PM
tobiu closed this issue on Jan 8, 2026, 8:20 PM