gvSIG CE and SEXTANTE GIS Bug Tracker on MantisBT
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000987gvSIG Community EditionCAD editorpublic2017-01-20 13:082017-01-22 19:55
Assigned Tobenducke 
PlatformOSOS Version
Product VersiongvSIG CE (trunk) 
Target VersiongvSIG CE 1.0.0Fixed in Version 
Summary0000987: SQlite error with reserved layer names: Improve error message
DescriptionIt seems that unexpected errors can happen when creating SQLite layers and choosing e.g. an internal layer name that is reserved. The current UI behaviour is to show a generic error message that leaves the user clueless as to the source of the problem.

Fix this by including the SQLite error message string in the error dialogue.
Steps To Reproduce1. Create new SQLite layer.
2. As "Layer name", use "sqlite_poly".
3. Click "Finish".
--> Error below is thrown.
Additional InformationError message thrown:

ERROR 1: Unable to create table sqlite_poly: object name reserved for internal use: sqlite_poly
2017-01-20 13:55:33,059 ERROR [AWT-EventQueue-0] (SQLiteDriverFactory.java:140) - Cannot create layer
2017-01-20 13:55:34,602 WARN [AWT-EventQueue-0] (NotificationManager.java:145) - Error writing file

java.io.IOException: Error writing file
    at org.gvsig.ogr.drivers.SQLiteDriverFactory.createOGRLayer(SQLiteDriverFactory.java:141)
    at org.gvsig.ogr.sqlite.ui.create.NewSQLiteLayerWizard.createLayer(NewSQLiteLayerWizard.java:56)
    at com.iver.cit.gvsig.gui.cad.MyFinishAction.performAction(MyFinishAction.java:44)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-01-20 13:08 benducke New Issue
2017-01-20 13:08 benducke Status new => assigned
2017-01-20 13:08 benducke Assigned To => benducke
2017-01-22 19:55 benducke Status assigned => resolved
2017-01-22 19:55 benducke Resolution open => fixed

Copyright © 2000 - 2011 MantisBT Group
Hosted by Sourceforge.netPowered by Mantis Bugtracker