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 173569 - Attribute renaming is not propagated to the default value
Summary: Attribute renaming is not propagated to the default value
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2009-10-02 11:05 UTC by Alexandr Scherbatiy
Modified: 2009-10-05 13:30 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 Alexandr Scherbatiy 2009-10-02 11:05:01 UTC
Build: NetBeans IDE Dev (Build 200910010513)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP, 5.1, x86

Steps to reproduce:
- Copy the code to the editor:
------------------------------------------

class A{
    public var timeline:Timeline = Timeline{
        keyFrames: [
            KeyFrame{
                action: function(){
                    timeline.play();
                }
            }

        ]
    }

}
------------------------------------------

- Refactor->Rename the timeline attribute to timeline2 
The result is:
------------------------------------------
class A{
    public var timeline2:Timeline = Timeline{
        keyFrames: [
            KeyFrame{
                action: function(){
                    timeline.play();
                }
            }

        ]
    }

}
------------------------------------------

Main.fx:17: cannot find symbol
symbol  : variable timeline
location: class javafxapplication11.Main.A
                    timeline.play();
1 error
Comment 1 J Bachorik 2009-10-02 15:39:11 UTC
fixed in http://hg.netbeans.org/javafx/rev/cbf52694ca49
Comment 2 Alexandr Scherbatiy 2009-10-05 13:30:19 UTC
verified in netbeans-trunk-nightly-200910030241-javafx-full.zip