Alix Lourme created DOXIATOOLS-46: ------------------------------------- Summary: Workspace indisposed after file rename Key: DOXIATOOLS-46 URL: https://jira.codehaus.org/browse/DOXIATOOLS-46 Project: Maven Doxia Tools Issue Type: Bug Components: Doxia Eclipse Editor Environment: Eclipse Kepler 4.3.2 Doxia Editors Feature 1.0.0.201301041016 Reporter: Alix Lourme Priority: Blocker Attachments: loop.log
+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. -- This message was sent by Atlassian JIRA (v6.1.6#6162)