| Summary: | [Testing Tool] Invalid characters inserted in source folder textbox when using Browse button of "Generate..." menu item | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Mohsen Saboorian <mohsens> |
| Component: | TPTP | Assignee: | Paul Slauenwhite <paulslau> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | jkubasta, paulslau |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Mohsen Saboorian
Hi Mohsen, what locale are you running? (In reply to comment #1) > Hi Mohsen, what locale are you running? > Hi Paul. I told my locale in the bug report. I use fa_IR (Farsi/Persian, Iran), but you should probably be able to reproduce this with all Arabic locales (or even Hebrew). Sorry Mohsen, I missed the locale. Reassigning to Project Lead until a Lead Committer is assigned to this component. Included in 4.5 plan for the Test Tools project. Please provide a sizing for this defect before Monday, November 12, 2007. (In reply to comment #6) > Please provide a sizing for this defect before Monday, November 12, 2007. > Are you talking to me? Can you be a bit clearer by "sizing". (In reply to comment #7) > (In reply to comment #6) > > Please provide a sizing for this defect before Monday, November 12, 2007. > > > > Are you talking to me? Can you be a bit clearer by "sizing". > Actually, I was talking to me:) It is the defect owner that assigns a sizing and I happen to be the owner of this defect. The org.eclipse.osgi.util.TextProcessor#process() method was being used to process the given text and return a string with the appropriate substitution based on the locale. However, this method is only intended for read-only text [1, 2] since it adds header/footer characters (8234 and 8236) to the processed string. When the string was converted to a IPath, the header character was considered the (empty) project name, thereby causing the generate action to fail. The org.eclipse.hyades.test.tools.ui.java.internal.junit.editor.SourceInfoViewer class was updated to use the org.eclipse.hyades.test.ui.internal.util.SpecialFieldsBidiListener i instead of the org.eclipse.osgi.util.TextProcessor#process() method. In addition, the following classes were updated to use the org.eclipse.hyades.test.ui.internal.util.SpecialFieldsBidiListener instead of the org.eclipse.osgi.util.TextProcessor#process() method for read/write fields: org.eclipse.hyades.test.tools.core.internal.java.preferences.JUnitPreferences.java org.eclipse.hyades.test.tools.ui.common.internal.editor.TestSuiteForm.java org.eclipse.hyades.test.tools.ui.java.internal.junit.controls.JUnitTestSuiteImportOptionsControl.java org.eclipse.hyades.test.ui.forms.base.ExecutionEventDetailsPart.java [1] http://wiki.eclipse.org/index.php/New_Bidi_APIs [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=146220#c6 Closing by default since not closed by the originator in the 7+ months since being resolved. Please reopen if the issue is still present in the latest TPTP release or the resolution is not correct. |