Bug 982975

Summary: xPath window in xml perspective conflicts with editing commands
Product: [Fedora] Fedora Reporter: relaxcold
Component: eclipse-wtp-sourceeditingAssignee: Krzysztof Daniel <kdaniel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: akurtako, fedora, kdaniel, mbenitez, nitind, vladimir.kostadinov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: xalan-j2-2.7.1-19.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-23 01:09:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
eclipse start log
none
eclipse startlog post xalan-j2-2.7.1-19.fc19 none

Description relaxcold 2013-07-10 09:00:54 UTC
Created attachment 771471 [details]
eclipse start log

Description of problem:
When I try to edit an xml file with eclipse-xml-editor or eclipse-schema-editor, both keyboard shortcuts and menu actions like delete, undo, copy, paste, save etc. are not working.

With help, it was found that the problem seems to be related to the xpath-window in the xml perspective. When the xpath-window is closed. and I switch out and back into xml perspective, all the keyboard shortcuts and menu actions are working again. 

There are a log of eclipse being started with the command: eclipse -clean -debug -consolelog
this can be found at http://pastebin.com/LmmHMpsK, and have also been attached as an attachment to this report.

Version-Release number of selected component (if applicable): 
Fedora 19 with Eclipse kepler 4.3

How reproducible: for me always. For others I don't know


Steps to Reproduce:
1. Install eclipse with all components though yum.
2. Open an xml file in eclipse
3. Switch to xml perspective, and try using various edit commands, which should not work.
4. Close the xPath window, switch out and back into the xml perspective, and the try the same commands, which should now work.

Actual results: n/a


Expected results: n/a


Additional info: this bug was first started over at eclipse at https://bugs.eclipse.org/bugs/show_bug.cgi?id=412572

Comment 1 Krzysztof Daniel 2013-07-10 14:27:51 UTC
Here is the xalan-j2 package with something that may become a fix.
http://koji.fedoraproject.org/koji/taskinfo?taskID=5591901

Please download *.noarch.rpm and install ( xalan-j2-2.7.1-19.fc19.noarch.rpm  may be enough). Those packages are for Fedora 19.

Then run eclipse -clean.

It should work.

Comment 2 Fedora Update System 2013-07-12 07:25:52 UTC
xalan-j2-2.7.1-19.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/xalan-j2-2.7.1-19.fc19

Comment 3 Fedora Update System 2013-07-13 02:01:53 UTC
Package xalan-j2-2.7.1-19.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xalan-j2-2.7.1-19.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-12935/xalan-j2-2.7.1-19.fc19
then log in and leave karma (feedback).

Comment 4 relaxcold 2013-07-15 11:25:17 UTC
Created attachment 773700 [details]
eclipse startlog post xalan-j2-2.7.1-19.fc19

eclipse startup log after updating xalan to xalan-j2.7.1-19.fc19

Comment 5 relaxcold 2013-07-15 11:30:06 UTC
After updating to xalan-j2-2.7.1-19.fc19 some functionality was restored in xml perspective with xpath-window open.

I was able to do copy-paste and use delete, save actions.

I am still unable to do other actions such as undo/redo, find, find-replace, as well as many of the other edit commands

I have attached a log from eclipse from after the update of xalan. I hope it will help.

Comment 6 relaxcold 2013-07-15 11:49:22 UTC
Okay, my last comment (comment 5) is not valid. After the update I should have started eclipse with -clean option. After having done that, everything worked perfectly.

Comment 7 Fedora Update System 2013-07-23 01:09:26 UTC
xalan-j2-2.7.1-19.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.