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 122343 - Preview not available
Summary: Preview not available
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 23:54 UTC by Sherry Barkodar
Modified: 2016-07-07 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot indicating preview not available (64.54 KB, text/plain)
2007-11-19 23:55 UTC, Sherry Barkodar
Details
preview screenshot (229.93 KB, text/plain)
2007-11-20 00:52 UTC, Sonali Kochar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sherry Barkodar 2007-11-19 23:54:44 UTC
using RC2, win xp
# choose File > New Project.
# expand the Samples node and select the SOA node.
# In the Projects list, select Synchronous BPEL Process.
# Click Next.
# Accept the defaults for the Project Name, SynchronousSample and Project Location or change the values to suit your
preferences.
# Click Finish.
#In the Projects window, expand the SynchronousSample project node and the Process Files node.
#Double-click the SynchronousSample.xsd node.
#In the the first column of the Schema view, select the Elements node.
      The IDE shows the typeA element in the second column of the view.
#In the second column, select the typeA node, right-click and choose Refactor > Rename.
      The Rename dialog box opens.
#In the New Name field, type typeB.
#Click the Preview button if you want to review the refactoring changes before applying those changes.
      The XML refactoring window opens in the bottom part of the IDE.

   It says Preview not available.
Screenshot is attached
Comment 1 Sherry Barkodar 2007-11-19 23:55:50 UTC
Created attachment 53228 [details]
screenshot indicating preview not available
Comment 2 Sonali Kochar 2007-11-20 00:51:48 UTC
I am unable to view the screenshot.

To see preview, you need to select a leaf node in the usages tree displayed in the left-hand pane. See attached
screenshot. Please retry and confirm.
Comment 3 Sonali Kochar 2007-11-20 00:52:25 UTC
Created attachment 53230 [details]
preview screenshot
Comment 4 Sherry Barkodar 2007-11-20 01:07:33 UTC
No, still, I am not able to see the preview.  Please rightclick on the image I sent you and select Aave Link as.
Let me know if you can see the screenshot.
Comment 5 Sonali Kochar 2007-11-20 02:41:17 UTC
There is no preview for "Rename TypeA" usage. The screen shot is correct. Please select another usage to see the preview
Comment 6 Mikhail Matveev 2007-11-20 13:27:44 UTC
I'm able to see a preview after listed steps. It's the preview of SynchronousSample.wsdl.
Comment 7 tonybeckham 2007-11-20 18:59:08 UTC
I have been helping Sherry with this bug.  It is very frustrating but I now have how to reproduce it.  It is a corner
case and there is a workaround so I'm going to lower the priority.  The steps are for Windows only.  

Steps:
1. Start with a new userdir
2. Create Synchronous BPEL sample
3. Expand SynchronousSample project node and the Process Files node
4. Double-click the SynchronousSample.xsd
5. Expand Elements node
6. Select typeA then right-click typeA refator->rename->preview (no preview available)
7. From now on any refactoring preview has this message.

To Fix:
1. Close the IDE wait a few seconds before reopening
2. Follow steps 3,4,5 above
3. Now, instead of selecting then right-click on typeA just right-click and do the refactoring->preview
4. Diff displays and will always work from now on, even if the item is selected then righ-clicked. 

On Mac I can never get any preview to show up for renaming typeA
Comment 8 Martin Balin 2016-07-07 09:56:36 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss