apache / apache/netbeans

Outline view node missing after update

Open
#4,166 2 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage Platform UI
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 13

### What happened

The [fix for](https://github.com/apache/netbeans/pull/1779/files) [NETBEANS-3196](https://issues.apache.org/jira/browse/NETBEANS-3196) introduced a regression. When replacing a child node with another in the `OutlineView`, the old node is removed but the new node is not added.

### How to reproduce

_No response_

### Did this work correctly in an earlier version?

Apache NetBeans 12.5

### Operating System

Linux, Windows

### JDK

Eclipse Adoptium 11.0.14.1

### Apache NetBeans packaging

Apache NetBeans platform

### Anything else

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by inspecting OutlineView and the fix linked for NETBEANS-3196, then reproduce replacing a child node on NetBeans 13 using the reported Linux or Windows setup. Done means the replacement node appears after the old node is removed, with regression coverage if the relevant test location can be identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.