OpenLiberty / OpenLiberty/liberty-tools-eclipse

SVT:Adding feature to server.xml to the end of the feature sequence sometimes removes some chars

Open
#405 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug SVT
Dominant language
Java
Stars
16
Forks
20
Avg merge
2d 9h
Merged PRs (30d)
16

Description

While testing using ACME ee10 app - for TER https://github.ibm.com/websphere/system-test/issues/765
ran into this issues when adding features to the server.xml

When I click on <fe Ctrl+space, feature completion makes it

When I do app Ctrl+space, it shows diff options, including appAuthentication-2.0
When I select that feature, it adds it, but also removes the </ from the front of the feature.
Here's a screenshot.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the feature-completion flow in server.xml: create an empty feature element, invoke completion after app, and select appAuthentication-2.0. Inspect the feature completion edit and verify that the closing </ is preserved when the feature is inserted.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.