| Summary: | "The servlet display name already exists. " used in the Filter wizard | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Kaloyan Raev <kaloyan> | ||||
| Component: | jst.servlet | Assignee: | Kaloyan Raev <kaloyan> | ||||
| Status: | CLOSED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ccc, thebravoman | ||||
| Version: | 3.0 | ||||||
| Target Milestone: | 3.0 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Kaloyan Raev
Created attachment 91888 [details]
patch
dropped to HEAD This change caused a break in an adopter product that uses ERR_FILTER_DISPLAY_NAME_EXIST - why was that changed to ERR_FILTER_EXIST? (It looks like the problem was caused by the code using ERR_SERVLET_DISPLAY_NAME_EXIST when it should have used ERR_FILTER_DISPLAY_NAME_EXIST.) Can we get this changed back? Yes, I will change it back. I will do this in the change list that I am going to commit today for bug 205330. So, I close this bug again. Why I have changed the message key? Hmm... probably just a mistake from my side. I think I have added ERR_FILTER_NAME_EXISTS, but have deleted ERR_FILTER_DISPLAY_NAME_EXIST by accidence. May be I have hit Ctrl+D instead of Ctrl+S. However, I wonder why ERR_FILTER_DISPLAY_NAME_EXIST exists in WTP code at all? It is not used anywhere in WTP code - only in adopter's code. According to our new WTP API Policy (http://wiki.eclipse.org/WTP_API_Policy) the "use of messages, icons, logging or tracing methods from another plugin" is considered as "illegitimate internal usage". In future, if we would like to expose messages, icons, etc. for adopter we should provide API for this. Verified with wtp-sdk-I-I20080331115711-20080331115711. The shown description is: " The filter name already exists." Closing |