Closed Bug 913698 (Univ:EventAdmin) Opened 11 years ago Closed 11 years ago

University Page: Events List Admin

Categories

(Websites :: careers.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bensternthal, Assigned: osmose)

References

Details

Attachments

(1 file)

Allows users to login to the admin interface to manage the list of events.
Trying to save an event on dev generates error. Attached is a screenshot of the fields I am entering. Error is just: Sorry, but something went wrong! Sorry, but something went wrong on our end and we couldn't process your request. You can reload the page to try again, or check out all the listings for all careers at Mozilla.
Assignee: nobody → mkelly
Traceback (most recent call last): File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/contrib/admin/options.py", line 366, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/utils/decorators.py", line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/views/decorators/cache.py", line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/contrib/admin/sites.py", line 196, in inner return view(request, *args, **kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/utils/decorators.py", line 25, in _wrapper return bound_func(*args, **kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/utils/decorators.py", line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/utils/decorators.py", line 21, in bound_func return func(self, *args2, **kwargs2) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/db/transaction.py", line 224, in inner return func(*args, **kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/contrib/admin/options.py", line 957, in add_view self.log_addition(request, new_object) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/contrib/admin/options.py", line 524, in log_addition action_flag = ADDITION File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/contrib/admin/models.py", line 16, in log_action e.save() File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/db/models/base.py", line 463, in save self.save_base(using=using, force_insert=force_insert, force_update=force_update) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/db/models/base.py", line 551, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/db/models/manager.py", line 203, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/db/models/query.py", line 1593, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/db/models/sql/compiler.py", line 912, in execute_sql cursor.execute(sql, params) File "/data/www/careers-dev.allizom.org/lumbergh/vendor/lib/python/django/db/backends/mysql/base.py", line 114, in execute return self.cursor.execute(query, args) File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute self.errorhandler(self, exc, value) File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue DatabaseError: (1146, "Table 'careers_dev_allizom_org.django_admin_log' doesn't exist")
Fixed on dev. This was probably due to syncdb not being called on dev since it's still using the old push script. Bug 918355 is addressing this problem, but it doesn't apply to stage and prod. I tested on stage and creating an event works fine.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: