You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2008/06/13 14:56:45 UTC

[jira] Closed: (DIRSTUDIO-254) schema import does not provide error reporting when parsing schema file

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

Pierre-Arnaud Marcelot closed DIRSTUDIO-254.
--------------------------------------------


Closing this issue.

> schema import does not provide error reporting when parsing schema file
> -----------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-254
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-254
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-schemaeditor
>    Affects Versions: 1.0.1
>         Environment: OS X 10.5, Java 5, openldap schema file import
>            Reporter: Torgeir Veimo
>            Assignee: Pierre-Arnaud Marcelot
>             Fix For: 1.1.0
>
>
> When Studio encounters error during parsing of schema files for import, it prints an exception stack trace in the log file and aborts the import, with no visible user feedback in Studio itself. The user has to monitor to log file to see that an error occur. Eg;
> !ENTRY org.apache.directory.studio.schemaeditor 4 0 2008-01-08 18:57:37.899
> !MESSAGE An error occured when importing the schema epd-export.schema.
> !STACK 0
> org.apache.directory.studio.schemaeditor.model.io.OpenLdapSchemaFileImportException: The file '/Users/torgeir/Desktop/epd-export.schema' can not be read correctly.
> 	at org.apache.directory.studio.schemaeditor.model.io.OpenLdapSchemaFileImporter.getSchema(Unknown Source)
> 	at org.apache.directory.studio.schemaeditor.view.wizards.ImportSchemasFromOpenLdapWizard$1.run(Unknown Source)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
> It would be an improvement to get the error message inside Studio itself, and at least provide a line number where the parser encountered an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.