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.
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
Created attachment 53228 [details] screenshot indicating preview not available
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.
Created attachment 53230 [details] preview screenshot
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.
There is no preview for "Rename TypeA" usage. The screen shot is correct. Please select another usage to see the preview
I'm able to see a preview after listed steps. It's the preview of SynchronousSample.wsdl.
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
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