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 58175 - After opening bundle file the field Replace String stays empty
Summary: After opening bundle file the field Replace String stays empty
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-04-21 15:55 UTC by Jiri Prox
Modified: 2009-05-19 12:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2005-04-21 15:55:33 UTC
NB 4.1 (200504200735)

After openig already existing bundle file in the Internationalize dialog the
field Replace String stays empty and must be selected again. In spite of that
the last value is stored somewhere and after clicking on the Format button the
last used value is selected.
Comment 1 Marian Petras 2005-05-02 17:14:24 UTC
I confirm the Replace String is initially empty which looks like a bug.

But it keeps its content on subsequent invocations, i.e. once I define the
Replace String, it is reused on subsequent invocations.

I use the same NB build on the same platform (PC+Linux).

Could you provide a list of exact steps you do to reproduce the bug? Thanks.
Comment 2 Jiri Prox 2005-05-03 09:26:52 UTC
The button Replace in the I18n dialog is disabled when the Replace String field
is empty. It must be selected again. 

Steps:
- create new project
- write some System.out.println() command with hard-coded texts
- call Internationalize dialog
- create new bundle file, select some replace string, do several replacement
- close I18n dialog
- open again Internationalize tool
- select bundle file created before

Result: The Replace String field stays empty so the Replace button is disabled.
The user must reenter the replace string again (when opening the popup, the last
used value is selected)

Comment 3 Marian Petras 2005-05-04 13:07:00 UTC
Reproduced. As in bug #58177, this is reproducible with .properties files having
name other than "Bundle.properties".

Accepted.
Comment 4 Alexey Butenko 2009-05-19 12:05:16 UTC
Fixed by fix for #58177