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: | Bundle file is not possible to save after refactoring | ||
---|---|---|---|
Product: | utilities | Reporter: | Jana Maleckova <janie> |
Component: | Properties | Assignee: | Alexey Butenko <alexeybutenko> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mmirilovic, mslama, pribyl, sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 150818 | ||
Attachments: | 150432 |
Description
Jana Maleckova
2008-10-16 19:38:33 UTC
Created attachment 72031 [details]
150432
more significant in Java Desktop Application project where resource management is switched on as default See fixes for issues #149330, #149152, #149069, #149330. 34e0ffc99ff3 afe07db1345a 09c8d6bb50aa There was change to use actual file time instead of System.currentTimeMillis. Also there added extra property to notify change between CloneableEditorSupport and DataEditorSupport. Fix should be to fire "expectedTime" with new file time when property file is renamed. See DataEditorSupport. copied from 149069 Product Version: NetBeans IDE Dev (Build 200810240201) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) Another approach :( Now after moving a .properties file Steps to reproduce: 1, Create new J2SE project with default setting. 2, Create a new package 3, In the new package create new JFrame Form and new Properties file with some key and value 4, Use the Properties file in the Form (e.g. use the value from the properties as Form's title) 5, Now move the Properties file to another package, add new key and value (or change it anyhow) and try to save it -> the well known dialog is here again (And agin: when using Ctrl+S, the dialog offers "Yes" and "No" buttons, while using "Save All" there is only "OK" button) Thanks for the steps to reproduce. I will fix it using the "expectedTime" property. If issue #48263 (task "Do not bundle multiple .properties file into a DataObject") is going to be handled by NB 7.0, then is not worth fixing this (#150432) bug before. Marian, according to simple reproducible testcase and due to a bad consequences of this bug, this should be really fixed into 65patch1. Could you look at it once again? OK, I am going to fix it now. The issue didn't pass the nomination process by nomination cut-off date. It has been marked as 65fixes2-candidate. fixed in trunk fc6cdd2dd8ac Product Version: NetBeans IDE Dev (Build 200812150750) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 The fix was ported into release65_fixes repository. http://hg.netbeans.org/release65_fixes/rev/674a00727fce re-verified with 65patch2 |