artemp/mapnik — Issue #301: Mapnik does not issue a UserWarning when a bad (or no) datasource type is given
Author: artemp
Created: 2011-10-11 16:10:02+00:00
State: open
Labels: Core_Library

The test for file source:trunk/tests/data/broken_maps/datasource_type_broken.xml@1084 currently fails its test because it fails silently rather than issuing a UserWarning. I believe the intended behavior is to issue a UserWarning because the datasource type given is 'foobar_db' and no plugin will exist for it.

{{{
#!xml

foobar_db
some_one
SECRET
gis

}}}

The test for file source:trunk/tests/data/broken_maps/datasource_type_missing.xml@1084 fails similarly when the datasource type is missing instead of the plugin being non-existent.