This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270260 - version auto-complete generates invalid XML
Summary: version auto-complete generates invalid XML
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: Dev
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2017-03-31 07:40 UTC by _ gtzabari
Modified: 2017-04-07 18:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2017-03-31 07:40:29 UTC
Product Version: NetBeans IDE Dev (Build 201703300002)
Java: 1.8.0_121; Java HotSpot(TM) 64-Bit Server VM 25.121-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_121-b13
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

1. Given:

		<dependency>
			<groupId>joda-time</groupId>
			<artifactId>joda-time</artifactId>
			<version>2.9.9</version>
		</dependency>

2. Place caret immediately inside <version> and trigger auto-complete.
3. Select version 2.9.7
4. Netbeans generates "<version>2.9.7</version>9</version>" which is invalid XML

Expected behavior: Netbeans should delete 2.9.9, and replace it with 2.9.7.
Comment 1 _ gtzabari 2017-04-07 18:31:30 UTC
This is a regression relative to version 8.2 (Build 20160930010) where I see it working properly.