Bug 372173 - [ui] XML editor (tree view) does not refresh tag values after changes
Summary: [ui] XML editor (tree view) does not refresh tag values after changes
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: wst.xml CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2012-02-21 19:04 EST by Artur Uzieblo CLA
Modified: 2013-01-08 17:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artur Uzieblo CLA 2012-02-21 19:04:42 EST
xml editor in Indigo does not refresh the tree view after changes has been made to the tags value.

first few attempts to edit the values seems to refresh the value displayed in the tree. After several edits of different values, especially when removing the value string, the refresh stops working.
Source xml is updated as it should, the problem is only with the tree view. Same applies to removing the xml tags all together.

When selecting the non refreshed tag value, the right value (as in source) is displayed only to go back to the previous value once the focus is taken of the value.

Collapsing the tree and expanding it restores the accurate document tree view. Further edits do not refresh again.

this seems to be working in previous eclipse (tested in ganymede).


-- Configuration Details --
Product: Eclipse Platform 3.7.1.v201109091335 (org.eclipse.platform.ide)
Installed Features:
 org.eclipse.wst.xml_ui.feature 3.3.1.v201108102009-7H7EFZ3DxumTlaI6nheRdHo2p1KaDIL1Uz-S3PL
Comment 1 Nitin Dahyabhai CLA 2012-02-22 11:58:15 EST
This is always for the content of a tag, and not an attribute value?
Comment 2 Artur Uzieblo CLA 2012-03-01 13:16:43 EST
The problem seems to be present only when the xml document contains a valid xmlns:schemaLocation. When I removed it, the editing and refresh works fine. Same document with schemaLocation pointing to a valid schema on a local disk (file:///) suffers editing refresh problems.
Comment 3 Nick Sandonato CLA 2012-10-24 15:10:58 EDT
Hi Artur,

I'm having trouble reproducing this based on your description. Could you provide sample files to work with that exhibit this problem?

Thanks.
Comment 4 Nick Sandonato CLA 2013-01-08 17:21:58 EST
I have not been able to reproduce this using Juno. If the problem has persisted for you through Juno, please reopen the defect and we'll explore some more scenarios to attempt to reproduce. Thanks.