Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352524 - [exceptions] JavaScript Model Exception while trying rename on a .prototype parent
Summary: [exceptions] JavaScript Model Exception while trying rename on a .prototype p...
Status: CLOSED DUPLICATE of bug 229190
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Lalit Somavarapha CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 22:59 EDT by Lalit Somavarapha CLA
Modified: 2013-04-01 11:06 EDT (History)
1 user (show)

See Also:


Attachments
patch (1.06 KB, patch)
2011-07-20 09:58 EDT, Lalit Somavarapha CLA
no flags Details | Diff
updated patch (3.80 KB, patch)
2011-08-16 10:42 EDT, Lalit Somavarapha CLA
no flags Details | Diff
patch updated for occurrence matching (7.84 KB, patch)
2011-08-16 10:58 EDT, Lalit Somavarapha CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lalit Somavarapha CLA 2011-07-19 22:59:50 EDT
Build Identifier: M20110210-1200

Exception thrown while renaming a .prototype parent. The exception only seems to occur when there is a prototype object attached to its parent function.

Reproducible: Always

Steps to Reproduce:
given
given 
function Circle(){}    
Circle.prototype = new Shape();
1. Right click on Circle.. Refactor->Rename.
2. Rename and then Enter.

JavaScript Model Exception is thrown
Comment 1 Lalit Somavarapha CLA 2011-07-20 09:58:33 EDT
Created attachment 200004 [details]
patch
Comment 2 Lalit Somavarapha CLA 2011-08-16 10:42:23 EDT
Created attachment 201580 [details]
updated patch
Comment 3 Lalit Somavarapha CLA 2011-08-16 10:58:39 EDT
Created attachment 201582 [details]
patch updated for occurrence matching
Comment 4 Chris Jaun CLA 2013-04-01 11:06:39 EDT

*** This bug has been marked as a duplicate of bug 229190 ***