[jira] Updated: (DIRSTUDIO-239) No error message when importing a
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Updated: (DIRSTUDIO-239) No error message when importing a




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Updated: (DIRSTUDIO-239) No error message when importing a  
Emmanuel Lecharny (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-20-07 06:11 PM


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Emmanuel Lecharny updated DIRSTUDIO-239:
----------------------------------------

Component/s: studio-schemaeditor

> No error message when importing a bad schema
> --------------------------------------------
>
>                 Key: DIRSTUDIO-239
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-239
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-schemaeditor
>    Affects Versions: 1.0.1
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 1.1.0
>
>
> If I try to import such a schema :
> attributetype ( 1.3.6.1.4.1.21629.0.1
> 	NAME 'a name'
> 	DESC 'an application with a quote in description, it's not allowed'
> 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.28
>  )
> nothing appears on the schema list. I don't have any error message. In the
 .metada/.log, I have :
> !ENTRY org.apache.directory.studio.schemaeditor 4 0 2007-11-20 16:29:29.90
4
> !MESSAGE An error occured when importing the schema test.schema.
> !STACK 0
> org.apache.directory.studio.schemaeditor.model.io.OpenLdapSchemaFileImport
Exception: The file '/tmp/test.schema' can not be read correctly.
>         at org.apache.directory.studio.schemaeditor.model.io.OpenLdapSchem
aFileImporter.getSchema(Unknown Source)
>         at org.apache.directory.studio.schemaeditor.view.wizards.ImportSch
emasFromOpenLdapWizard$1.run(Unknown Source)
>         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:113)
> 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 ==> java.io.BufferedInputStream@e8488f
> 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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:43 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register