You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2015/05/30 00:46:17 UTC

[jira] [Resolved] (DIRSTUDIO-1018) Adding a new LDIF file directly fails with an error "can't find IDfind.ext"

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

Stefan Seelmann resolved DIRSTUDIO-1018.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0-M9
         Assignee: Stefan Seelmann

This is already fixed by adding the find.ext group marker to the RCP plugin ActionBarAdvisor.

> Adding a new LDIF file directly fails with an error "can't find IDfind.ext"
> ---------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1018
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1018
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldifeditor
>    Affects Versions: 2.0.0-M9
>            Reporter: Emmanuel Lecharny
>            Assignee: Stefan Seelmann
>             Fix For: 2.0.0-M9
>
>
> On trunk, starting Studio, creating a new File, selecting LdifEditor, we get a "can't find IDfind.ext" error.
> This is due to the missing GroupMarker "find" in the LdifEditorContributor menuManager.
> Adding it in the {{init}} does solve the issue :
> {code}
>     public void init( IActionBars bars, IWorkbenchPage page )
>     {
>         IMenuManager menuManager = bars.getMenuManager();
>         IMenuManager editMenu = menuManager.findMenuUsingPath(IWorkbenchActionConstants.M_EDIT);
>         
>         if ( editMenu != null )
>         {
>             editMenu.add( new GroupMarker( IWorkbenchActionConstants.FIND_EXT ) );
>         }
>         
>         super.init( bars, page );
>         bars.setGlobalActionHandler( CONTENTASSIST_ACTION, contentAssist );
>     }
> {code}
> but this is quite ugly...
> Is there any reason why the {{find.ext}} groupMarker  is missing ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)