Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
None
-
None
-
None
-
Eclipse Kepler 4.3.2
Doxia Editors Feature 1.0.0.201301041016
-
Patch
Description
Synthesis : When a file opened by plugin is renamed, plugin is indisposed and crash the workspace (because try to reopen it after Eclipse kill/restart).
Use Case :
- Create a workspace and a project Test
- Create file index.apt with a title (the file is opened by plugin)
- Rename file (F2 key) : index2.apt
- Error appears : Resource '/Test/index.apt' does not exist.
- Informations :
- File is renamed (on filesystem)
- Sheet title of plugin is index2.apt but on mouse over shows index.apt
- The sheet is not closable
- Eclipse must be killed
- Error Unhandled event loop exception appears in log
Root cause hypothesis : Infinite loop in org.apache.maven.doxia.ide.eclipse.common.ui.editors.AbstractMultiPageEditorPart.isSaveAsAllowed(AbstractMultiPageEditorPart.java:231) (cf. loop.log)
Workaround : Recreate the file ... because plugin try to open renamed file during start => same error below.