[ https://issues.apache.org/jira/browse/DOXIATOOLS-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alix Lourme updated DOXIATOOLS-46: ---------------------------------- Attachment: DOXIATOOLS-46-doxia-ide.patch Please consider [^DOXIATOOLS-46-doxia-ide.patch] as patch. This is a _poor_ fix, only delete the infinite loop (not enough knowledge in SWT to fix the file change handler). > Workspace indisposed after file rename > -------------------------------------- > > Key: DOXIATOOLS-46 > URL: https://issues.apache.org/jira/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: DOXIATOOLS-46-doxia-ide.patch, 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.4.14#64029)