You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/23 02:32:00 UTC

[jira] [Updated] (DOXIATOOLS-46) Workspace indisposed after file rename

     [ https://issues.apache.org/jira/browse/DOXIATOOLS-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliotte Rusty Harold updated DOXIATOOLS-46:
--------------------------------------------
    Priority: Major  (was: Blocker)

> 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: Major
>         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
(v8.3.4#803005)