[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] [jira] Created: (UDIG-1763) Navigation "Back" & "Forward" do not work with Zoom In and Scroll Commands
|
Navigation "Back" & "Forward" do not work with Zoom In and Scroll Commands
--------------------------------------------------------------------------
Key: UDIG-1763
URL: http://jira.codehaus.org/browse/UDIG-1763
Project: uDIG
Issue Type: Bug
Components: application, tools and editing
Affects Versions: UDIG 1.2.1, UDIG 1.2.0, UDIG 1.2.RC3, UDIG 1.2.RC2
Reporter: Frank Gasdorf
Priority: Critical
Szenario:
1.a Scroll with Mouse-Wheel
1.b One click on "Zoom In" Command in Toolbar
-> "Back" Action in Toolbar got enabled
2. Click on "Back" Navigation Action a ClassCastException is thrown with the following Stracktrace:
{noformat}
java.lang.ClassCastException: net.refractions.udig.tools.internal.InvalidateCommand cannot be cast to net.refractions.udig.project.command.UndoableCommand
at net.refractions.udig.project.internal.command.navigation.NavComposite.rollback(NavComposite.java:113)
at net.refractions.udig.project.command.CommandManager$Executor.undo(CommandManager.java:537)
at net.refractions.udig.project.command.CommandManager$Executor.run(CommandManager.java:328)
at net.refractions.udig.project.command.CommandManager$Executor.run(CommandManager.java:311)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{noformat}
Within the UpdateThread class is a explicit cast from InvalidateCommand (and holds a TransformDrawCommand) to UndoableCommand.
Also checked with the 1.1.1 Release -> same behavior
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira