Custom Query (1173 matches)


Show under each result:

Results (79 - 81 of 1173)

Ticket Resolution Summary Owner Reporter
#5514 fixed "Add to Collection" throws server error when no collection selected ayleph

The Add to Collection page provides a pre-populated dropdown list of collections to which media can be added. By default, the dropdown box says "-- Select --." If you click Add without selecting a collection, a server error is generated with the following traceback.

2017-06-28 21:30:46,445 ERROR   [waitress] Exception when serving /u/andrew/m/1/collect/
Traceback (most recent call last):
  File "/path/to/mediagoblin/lib/python2.7/site-packages/waitress-1.0a1-py2.7.egg/waitress/", line 338, in service
  File "/path/to/mediagoblin/lib/python2.7/site-packages/waitress-1.0a1-py2.7.egg/waitress/", line 169, in service
  File "/path/to/mediagoblin/lib/python2.7/site-packages/waitress-1.0a1-py2.7.egg/waitress/", line 399, in execute
    app_iter =, start_response)
  File "/path/to/mediagoblin/mediagoblin/", line 342, in __call__
    return self.call_backend(environ, start_response)
  File "/path/to/mediagoblin/lib/python2.7/site-packages/Werkzeug-0.11.10-py2.7.egg/werkzeug/", line 599, in __call__
    return, start_response)
  File "/path/to/mediagoblin/mediagoblin/", line 276, in call_backend
    return self._finish_call_backend(request, environ, start_response)
  File "/path/to/mediagoblin/mediagoblin/", line 318, in _finish_call_backend
    response = controller(request)
  File "/path/to/mediagoblin/mediagoblin/", line 47, in wrapper
    return controller(request, *args, **kwargs)
  File "/path/to/mediagoblin/mediagoblin/", line 280, in wrapper
    return controller(request, media=media, *args, **kwargs)
  File "/path/to/mediagoblin/mediagoblin/", line 47, in wrapper
    return controller(request, *args, **kwargs)
  File "/path/to/mediagoblin/mediagoblin/", line 74, in new_controller_func
    return controller(request, *args, **kwargs)
  File "/path/to/mediagoblin/mediagoblin/user_pages/", line 300, in media_collect
    item = CollectionItem.query.filter_by(
AttributeError: 'NoneType' object has no attribute 'id'
#5513 fixed Can't delete draft blog posts ayleph

Draft blog posts are set to the 'failed' state. The generated blogpost_delete_url link for a draft gets routed to a 404 page.

#5512 fixed Disable Mozilla Persona plugin ayleph

Mozilla Persona has been decommissioned. We should disable or remove the built-in Persona plugin. I like the idea of disabling it but leaving it there, so we have more examples of plugins. But I'd also be okay with just removing it altogether.

Here's something I had in mind for disabling the plugin.

diff --git a/mediagoblin/plugins/persona/ b/mediagoblin/plugins/persona/
index 8fab726ae..2b8928c6b 100644
--- a/mediagoblin/plugins/persona/
+++ b/mediagoblin/plugins/persona/
@@ -25,10 +25,21 @@ from import pluginapi
 from import PluginStatic
 from import pass_to_ugettext as _
+from mediagoblin.init import ImproperlyConfigured
 PLUGIN_DIR = os.path.dirname(__file__)
 def setup_plugin():
+    """
+    Mozilla Persona has been decommissioned. This plugin exists for 
+    historical reasons and serves as an example of an authentication 
+    plugin.
+    """
+    raise ImproperlyConfigured(
+        _('Mozilla Persona has been decommissioned. MediaGoblin cannot '
+          'be started with the Persona plugin enabled.'))
     config = pluginapi.get_config('mediagoblin.plugins.persona')
     routes = [
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.