Bug 520239 - Removing content-type doesn't remove editor associations
Summary: Removing content-type doesn't remove editor associations
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.8   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.8 M1   Edit
Assignee: Mickael Istria CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 519815
  Show dependency tree
 
Reported: 2017-07-27 04:33 EDT by Mickael Istria CLA
Modified: 2017-08-03 02:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2017-07-27 04:33:11 EDT
Forked from Kalyan's discovery and analysis on bug 520205.

With ability to define content-type manually (bug 500892) and to associate editors with content-type (bug 519815), the following -new- workflow is broken:

1. Create a new content-type
2. Associate content-type with an unknown extension such as .lol
3. Associate this content-type with whatever editor (internal or external)
4. Create a new .lol file -> it opens with the specified editor: OK
5. Delete the content-type (directly, do *not* delete associations first)
6. Create a new .lol file: KO
   EXPECTED: it opens with the default system editor (or whatever editor specified by the unknownEditorStrategy)
   GOT: It opens with the previously defined editor

As noticed by Kalyan in bug 520205 comment 7
"""
Even after I delete the newly added content type, The association with the External Editor still exists. This association needs to be deleted once the content type is deleted
"""
Comment 1 Mickael Istria CLA 2017-07-27 04:41:59 EDT
I'll fix it ASAP for 4.8.M1
Comment 2 Eclipse Genie CLA 2017-07-27 06:24:01 EDT
New Gerrit change created: https://git.eclipse.org/r/102062
Comment 4 Kalyan Prasad Tatavarthi CLA 2017-08-03 02:15:14 EDT
Verified in the Integration Build I20170802-2000