scholarslab/NeatlineMaps — Issue #27: Viewing map details throws an exception
Author: erochest
Created: 2011-10-25 20:55:33+00:00
State: open

After creating a map, navigating to /admin/neatline-maps/maps/:ID/files throws an exception:

Fatal error: Call to a member function attributes() on a non-object in /vagrant/omeka/plugins/NeatlineMaps/libraries/GeoserverMap/GeoserverMap_File.php on line 169 Call Stack: 0.0016 324320 1. {main}() /vagrant/omeka/admin/index.php:0 0.4782 9667348 2. Omeka_Core->run() /vagrant/omeka/admin/index.php:45 0.4782 9667348 3. Zend_Application->run() /vagrant/omeka/application/libraries/Omeka/Core.php:166 0.4782 9667348 4. Zend_Application_Bootstrap_Bootstrap->run() /vagrant/omeka/application/libraries/Zend/Application.php:366 0.4782 9667420 5. Zend_Controller_Front->dispatch() /vagrant/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php:97 0.5095 10189180 6. Zend_Controller_Dispatcher_Standard->dispatch() /vagrant/omeka/application/libraries/Zend/Controller/Front.php:954 0.5407 10790300 7. Zend_Controller_Action->dispatch() /vagrant/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php:295 0.7583 11013468 8. Zend_Controller_Action_HelperBroker->notifyPostDispatch() /vagrant/omeka/application/libraries/Zend/Controller/Action.php:523 0.7583 11014708 9. Zend_Controller_Action_Helper_ViewRenderer->postDispatch() /vagrant/omeka/application/libraries/Zend/Controller/Action/HelperBroker.php:277 0.7583 11014708 10. Zend_Controller_Action_Helper_ViewRenderer->render() /vagrant/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php:957 0.7588 11014960 11. Zend_Controller_Action_Helper_ViewRenderer->renderScript() /vagrant/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php:918 0.7588 11014960 12. Zend_View_Abstract->render() /vagrant/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php:897 0.7603 11056204 13. Omeka_View->_run() /vagrant/omeka/application/libraries/Zend/View/Abstract.php:888 0.8880 11838292 14. include('/vagrant/omeka/plugins/NeatlineMaps/views/admin/maps/editmap.php') /vagrant/omeka/application/libraries/Omeka/View.php:114 1.0411 12733124 15. GeoserverMap_Abstract->__construct() /vagrant/omeka/plugins/NeatlineMaps/views/admin/maps/editmap.php:28 1.0411 12733188 16. GeoserverMap_Abstract->getParams() /vagrant/omeka/plugins/NeatlineMaps/libraries/GeoserverMap/GeoserverMap_Abstract.php:86 4.0137 13412796 17. GeoserverMap_File->_getEPSG() /vagrant/omeka/plugins/NeatlineMaps/libraries/GeoserverMap/GeoserverMap_Abstract.php:102