Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: FEST-Swing 1.2a2
-
Fix Version/s: FEST-Swing 1.2a3
-
Component/s: Swing
-
Labels:None
-
Environment:Vista, 1.2a2
-
Number of attachments :
Description
entering a hyphen into a cell breaks:
window.table("table").cell(row(99).column(88)).enterValue("-");
java.lang.IllegalArgumentException: Invalid key code '47'
at org.fest.swing.core.RobotEventGenerator.pressKey(RobotEventGenerator.java:117)
at org.fest.swing.core.BasicRobot.doPressKey(BasicRobot.java:590)
at org.fest.swing.core.BasicRobot.keyPressAndRelease(BasicRobot.java:575)
at org.fest.swing.core.BasicRobot.type(BasicRobot.java:546)
at org.fest.swing.core.BasicRobot.enterText(BasicRobot.java:529)
at org.fest.swing.driver.JTextComponentDriver.enterText(JTextComponentDriver.java:120)
at org.fest.swing.driver.JTextComponentDriver.replaceText(JTextComponentDriver.java:95)
at org.fest.swing.driver.JTableTextComponentEditorCellWriter.enterValue(JTableTextComponentEditorCellWriter.java:52)
at org.fest.swing.driver.BasicJTableCellWriter.enterValue(BasicJTableCellWriter.java:65)
at org.fest.swing.driver.JTableDriver.enterValueInCell(JTableDriver.java:549)
at org.fest.swing.fixture.JTableCellFixture.enterValue(JTableCellFixture.java:274)
Hi Michael,
Jan Zuchhold reported a bug when entering text in German, which may be related to this issue, The bug that Jan reported is related KeyStrokeMappingProvider_de. Can you confirm the problem you found is related to this class?
Many thanks!
-Alex