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.
[1146CE/IE] jdk1.3.0-FCS-BlackDown ======================= The problems I've found appers in JarFileSystem. And I'm not sure to which Product it should belong (it could be core, text or openide too). Description --------------------------------- if i mount a jar and i double click(Convert to Text) on undefined type file. The java.io.IOEception is thrown. see ide.log
Created attachment 294 [details] IDE.log
I've thought about it and openide is better fitting product.
Nope, text module. The action should be disabled if the relevant FileObject is read-only, as is the case here.
OK, you are probably right. But it's easy/cheep solution which isn't opened to user's needs. IMHO Why a file has to have wr perrmission to display its content? It doesn't sound much logicaly. Lots of others SW tools if they can work with archives, they can display content of any file I wish. And how thay maintain the stuffs howto, it's their problem I don't want to take carre about this. In general they use a temporary store on a disk usualy.But they never need Write access to that file. I don't have any idea how it is implemented in IDE. Why the convertation has to have "w" access to a file it could read some type of StreamBufferIn or whatever. I think the fix of that bug should display content of wanted file. The problem will be how to solve in UI that this file was already "virtualy" converted and changing its icon.
Fixed in [main-trunk] and [release31] branch. In [boston] remains and fix will be passed to sustaining. The fix is made as Jesse suggested. So the action is disabled on read-only objects.
Tested on NBStable3.1 [11] ========================== seems OK
Resolved for 3.3.x or earlier, no new info since then -> closing.