Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328713 - [nls tooling] Externalize string wizard 'Edit... ' dialog does key validation incorrectly
Summary: [nls tooling] Externalize string wizard 'Edit... ' dialog does key validatio...
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 09:55 EDT by Raksha Vasisht CLA
Modified: 2020-05-10 16:05 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raksha Vasisht CLA 2010-10-26 09:55:00 EDT
I20101025-1800

Steps:

package t;
public class Snippet {
    
    private static void p() {
        System.out.println("test");
    }
}

1) Externalize the string 'test' using the 'Externalize Strings' wizard
2) Click on the key (by default has a value 0) and edit
3) Type any character in the value field 

=> It says 'Key is not a valid Java Identifier' because it considers only 0 as the key and not the <prefix>_0 which is a valid key.

Also when I type a '\'in the common prefix box it appears as '\\' in the key and '\\' appears as '\\\\' although it validates the '\' and disables the finish button, it shows incorrectly in the key.
Comment 1 Eclipse Genie CLA 2020-05-10 16:05:38 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.