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.
|Summary:||Form 1.4 not supported|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
Description abonnema 2006-11-03 03:31:06 UTC
Hi guys, (This may not be a defect, but a feature request instead) I have been testing with netbeans 6.0-dev for a while and now I resumed to using netbeans 5.5. Alas one of my forms does not open with the message "unsupported file version 1.4 The form can not be opened." Is there in 5.5 a way to convert back to whatever version 5.5 supports? Is there a way to do this (even manually, as long as I can get to the design)? Couldn't 5.5 just open it and disregard any things it doesn't understand, possibly asking permission to do so? Thanks.
Comment 1 abonnema 2006-11-03 04:09:31 UTC
====== Workaround ========== I checked my subversion repository and found, that the version change was the only change. This wasn't entirely true, but it allowed me to edit the form using netbeans 5.5 any way. I hand editted the form to have version 1.3 in stead of 1.4 and subsequent start of netbeans 5.5 showed one error (a font property) that I could easily make go away by re-assigning the font to the label. Hope this helps. Still, I think netbeans should be able to determine whether it could work with the form in any practical way.
Comment 2 Tomas Pavek 2007-01-04 13:17:25 UTC
This is rather an enhancement. We could provide a more explanatory message when trying to open a form with higher version and possibly allow to open it at the user's risk (possible data loss).
Comment 3 abonnema 2007-01-04 15:18:12 UTC
1. I agree. Giving the user the choice plus an indication of possible problems. 2. Further, an idea might be to show which options are being ignored while reading the forms file (f.i.font x or gizmo y can not be read). 3. Finally, saving the original file with a different suffix might be an option, so the old situation if necessary is restorable. Hope there is some time for this, as it would carry through to each version change of forms. Guus.