PM80908: Shortcut key commands do not work anymore after switching between XML based editor windows

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to switch between the views for the XML or the XML
    Schema editor leads to handler conflicts preventing the shortcut
    key commands to function properly.
    
    Problem:
    
    You open several XHTML, XSD, or XML files and switch between the
    editors (while have the source tab active) and you see handler
    conflicts in the error log, such as the following:
    
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2013-01-11 17:53:39.737
    !MESSAGE Conflict for 'org.eclipse.ui.edit.text.deleteNextWord':
    HandlerActivation(commandId=org.eclipse.ui.edit.text.deleteNextW
    ord,
    
    handler=LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui
    .texteditor.TextNavigationAction@fe58445e)),
        expression=LegacyHandlerSubmission(Shell {Java EE -
    DynWeb/src/test3.xsd - Rational? Software Architect for
    WebSphere Software -
    C:\aCases\RAD\07508,114,848\workspace},null,PartSite(id=org.ecli
    pse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor,plugin
    Id=org.eclipse.wst.xsd.ui,registeredName=XML
    Schema Editor,hashCode=1766741884)),sourcePriority=67113984)
    HandlerActivation(commandId=org.eclipse.ui.edit.text.deleteNextW
    ord,
    
    handler=LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui
    .texteditor.TextNavigationAction@fe58445e)),
        expression=LegacyHandlerSubmission(Shell {Java EE -
    DynWeb/src/test3.xsd - Rational? Software Architect for
    WebSphere Software -
    C:\aCases\RAD\07508,114,848\workspace},null,PartSite(id=org.ecli
    pse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor,plugin
    Id=org.eclipse.wst.xsd.ui,registeredName=XML
    Schema Editor,hashCode=1766741884)),sourcePriority=67113984)
    
    or
    
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2013-01-11 17:58:56.058
    !MESSAGE Conflict for 'org.eclipse.ui.edit.delete':
    HandlerActivation(commandId=org.eclipse.ui.edit.delete,
    
    handler=LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui
    .texteditor.TextOperationAction@d4637c4c)),
        expression=LegacyHandlerSubmission(Shell {Java EE -
    DynWeb/src/test1.xsd - Rational? Software Architect for
    WebSphere Software -
    C:\aCases\RAD\07508,114,848\workspace},null,PartSite(id=org.ecli
    pse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart,pluginI
    d=org.eclipse.wst.xml.ui,registeredName=XML
    Editor,hashCode=726532411)),sourcePriority=67113984)
    HandlerActivation(commandId=org.eclipse.ui.edit.delete,
    
    handler=LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui
    .texteditor.TextOperationAction@d4637c4c)),
        expression=LegacyHandlerSubmission(Shell {Java EE -
    DynWeb/src/test1.xsd - Rational? Software Architect for
    WebSphere Software -
    C:\aCases\RAD\07508,114,848\workspace},null,PartSite(id=org.ecli
    pse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart,pluginI
    d=org.eclipse.wst.xml.ui,registeredName=XML
    Editor,hashCode=726532411)),sourcePriority=67113984)
    
    Local fix:
    
    Close all the XSD or XML editors that are opened to restore the
    key bindings.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Each time the XML editor became active it would reset a
    particular action. This would eventually lead to handler
    conflicts for this action.
    

Problem conclusion

  • The editor will now only ever set this action once.
    
    The fix for this APAR is included in Rational Application
    Developer v8.5.1 Interim Fix 002.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80908

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-18

  • Closed date

    2013-05-16

  • Last modified date

    2013-05-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R851 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Application Developer for WebSphere Software

Software version:

8.5.1

Reference #:

PM80908

Modified date:

2013-05-16

Translate my page

Machine Translation

Content navigation