You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2018/04/26 20:43:00 UTC

[jira] [Resolved] (NETBEANS-250) Code-complete corrupts pom.xml when updating dependency version

     [ https://issues.apache.org/jira/browse/NETBEANS-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Kishalmi resolved NETBEANS-250.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 9.0

Marked this issue resolved as the corresponding PR has been merged.

> Code-complete corrupts pom.xml when updating dependency version
> ---------------------------------------------------------------
>
>                 Key: NETBEANS-250
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-250
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Completion &amp; Templates
>         Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-163-on-20180105)
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> 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
>            Reporter: Gili
>            Priority: Major
>              Labels: pull-request-available, regression
>             Fix For: 9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 1. Open a pom.xml in a Maven project
> 2. Position the caret inside {{<version>}} of a dependency
> 3. Hit CTRL+SPACE to bring up code-complete
> 4. Select a different version number than what is currently set
> 5. If you were changing the version number from 1.6.0 to 1.6.1 then code-complete will change the line from:
>   <version>1.6.0</version>
> to:
>   <version>1.6.1</version>0</version>
> Essentially, the portion of the version that needs to change gets left behind, along with a trailing </version>
> Expected behavior: Line should read "<version>1.6.1</version>"
> This is a regression relative to version 8.2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists