Project

General

Profile

Actions

Anomalie #2970

closed

FINDS : add / crash on validation

Added by Yann Le Jeune over 8 years ago. Updated over 8 years ago.

Status:
Résolu
Priority:
Immédiat
Assignee:
Category:
-
Target version:
Start date:
27 November 2015
Due date:
% Done:

0%

Estimated time:
Élément(s):
Difficulté:

Description

AttributeError at /find_creation/done

'function' object has no attribute 'field'

Request Method: GET

Request URL: http://ishtar-test.proxience.net/find_creation/done

Django Version: 1.4.5

Exception Type: AttributeError

Exception Value:

'function' object has no attribute 'field'

Exception Location: /srv/ishtar-ctest/ishtar/ishtar_common/wizards.py in save_model, line 435

Python Executable: /usr/bin/uwsgi-core

Python Version: 2.7.3

Python Path:

['/srv/ishtar-ctest/ishtar/',

'.',

'',

'/usr/lib/python2.7',

'/usr/lib/python2.7/plat-linux2',

'/usr/lib/python2.7/lib-tk',

'/usr/lib/python2.7/lib-old',

'/usr/lib/python2.7/lib-dynload',

'/usr/local/lib/python2.7/dist-packages',

'/usr/lib/python2.7/dist-packages',

'/usr/lib/python2.7/dist-packages/PIL',

'/usr/lib/pymodules/python2.7']

Server time: ven, 27 Nov 2015 15:10:31 +0100

Environment:

Request Method: GET

Request URL: http://ishtar-test.proxience.net/find_creation/done

Django Version: 1.4.5

Python Version: 2.7.3

Installed Applications:

['django.contrib.auth',

'django.contrib.admin',

'django.contrib.contenttypes',

'django.contrib.sessions',

'django.contrib.sites',

'django.contrib.gis',

'django.contrib.staticfiles',

'django.contrib.formtools',

'south',

'registration',

'ishtar_pdl',

'ishtar_common',

'archaeological_files',

'archaeological_operations',

'archaeological_files_pdl',

'archaeological_context_records',

'archaeological_warehouse',

'archaeological_finds']

Installed Middleware:

['django.middleware.common.CommonMiddleware',

'django.contrib.sessions.middleware.SessionMiddleware',

'django.middleware.csrf.CsrfViewMiddleware',

'django.contrib.auth.middleware.AuthenticationMiddleware',

'django.contrib.messages.middleware.MessageMiddleware',

'django.middleware.locale.LocaleMiddleware']

Traceback:

File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response

  1. response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view

  1. return self.dispatch(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in dispatch

  1. response = super(WizardView, self).dispatch(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch

  1. return handler(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get

  1. ), **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in render_done

  1. return super(NamedUrlWizardView, self).render_done(form, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in render_done

  1. done_response = self.done(final_form_list, **kwargs)

File "/srv/ishtar-ctest/ishtar/ishtar_common/wizards.py" in done

  1. return_object)

File "/srv/ishtar-ctest/ishtar/ishtar_common/wizards.py" in save_model

  1. model = m.field.rel.to

Exception Type: AttributeError at /find_creation/done

Exception Value: 'function' object has no attribute 'field'

Actions #1

Updated by Étienne Loks over 8 years ago

  • Status changed from Nouveau to Résolu
Actions

Also available in: Atom PDF