directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Created: (DIRSTUDIO-239) No error message when importing a bad schema
Date Tue, 20 Nov 2007 15:35:43 GMT
No error message when importing a bad schema

                 Key: DIRSTUDIO-239
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.0.1
            Reporter: Emmanuel Lecharny
            Priority: Critical
             Fix For: 1.1.0

If I try to import such a schema :

attributetype ( 
	NAME 'a name' 
	DESC 'an application with a quote in description, it's not allowed' 

nothing appears on the schema list. I don't have any error message. In the .metada/.log, I
have :

!ENTRY 4 0 2007-11-20 16:29:29.904
!MESSAGE An error occured when importing the schema test.schema.
!STACK 0 The file
'/tmp/test.schema' can not be read correctly.
        at org.eclipse.jface.operation.ModalContext$

which is not enough to understand that the desc contains a ' in the middle ...

The best would be that a console expose the exact error :

java.text.ParseException: Parser failure on:
	schema input stream ==>
Antlr exception trace:
line 1:53: unexpected token: s

or at least, popup an error message.

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

View raw message