Bug 257446 - site.xml editor removes <site ...> attributes
Summary: site.xml editor removes <site ...> attributes
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.5 M5   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL: http://www.eclipse.org/modeling/emf/u...
Whiteboard:
Keywords: bugday
: 240351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-03 18:46 EST by Nick Boldt CLA
Modified: 2008-12-14 21:13 EST (History)
2 users (show)

See Also:


Attachments
org.eclipse.pde.core.patch (6.70 KB, patch)
2008-12-14 21:11 EST, Chris Aniszczyk CLA
no flags Details | Diff
mylyn/context/zip (1.60 KB, application/octet-stream)
2008-12-14 21:11 EST, Chris Aniszczyk CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Boldt CLA 2008-12-03 18:46:38 EST
steps to reproduce:

1. open a site.xml file in Eclipse 3.4.1 using Site Manifest Editor
2. select the site.xml tab (source)
3. enter something like this:

<site pack200="true" associateSitesURL="http://path/to/associateSites.xml" digestURL="http://download.eclipse.org/modeling/emf/updates/milestones/" mirrorsURL="http://www.eclipse.org/modeling/download.php?file=/modeling/emf/updates/milestones/site.xml&amp;format=xml">

(followed by whatever <description>, <feature>, <archive>, <category>, <category-def> tags.)

</site>

4. save.
5. switch to Site Map tab; make a change to something and save.
6. switch back to site.xml tab -- <site>'s attributes are gone. (Only mirrorsURL survives.)
Comment 1 Nick Boldt CLA 2008-12-03 18:47:27 EST
Move to 3.4.1 -- didn't see the default Version is now 4.0.
Comment 2 Chris Aniszczyk CLA 2008-12-04 17:04:58 EST
indeed it does
Comment 3 Chris Aniszczyk CLA 2008-12-14 21:11:47 EST
Created attachment 120428 [details]
org.eclipse.pde.core.patch

Adds associteSites and digestURL to model to prevent the issue.
Comment 4 Chris Aniszczyk CLA 2008-12-14 21:11:51 EST
Created attachment 120429 [details]
mylyn/context/zip
Comment 5 Chris Aniszczyk CLA 2008-12-14 21:12:18 EST
done. Thanks for the report Nick.

> 20081214
Comment 6 Chris Aniszczyk CLA 2008-12-14 21:13:07 EST
*** Bug 240351 has been marked as a duplicate of this bug. ***