Project

General

Profile

Actions

Anomalie #3652

closed

Crash on CONTEXT RECORD export

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

Status:
Résolu
Priority:
Urgent
Assignee:
Category:
DB
Target version:
Start date:
12 July 2017
Due date:
% Done:

0%

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

Description

On Picardie V1, search of all CONTEXT RECORD / Ishtar-UE export :

Request Method: GET
Request URL: http://picardie.ishtar-archeo.net/get-by-importer/ishtar-context-record/csv

Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  109.                         response = callback(request, *callback_args, **callback_kwargs)
File "/var/lib/python-django-ishtar/ishtar_common/views.py" in get_by_importer
  1187.     )(request, data_type, full, force_own, col_names=col_names, **dct)
File "/var/lib/python-django-ishtar/ishtar_common/views.py" in func
  1156.                     if "|" in col_name[0]:

Exception Type: IndexError at /get-by-importer/ishtar-context-record/csv
Exception Value: list index out of range

Related issues 1 (0 open1 closed)

Related to Ishtar - Feature #3653: Register automatically models for exportRésoluÉtienne Loks12 July 2017

Actions
Actions #1

Updated by Étienne Loks over 7 years ago

Documentation type is missing in export configuration (Python side).

We should (by order) :

  • add Documentation type to allow export ;

  • fail silently if not configured (the data is missing but warning and no crash) ;

  • register automatically theses types (iterating over all applications and get "types" models) -> v2 goal.

Actions #2

Updated by Étienne Loks over 7 years ago

  • Related to Feature #3653: Register automatically models for export added
Actions #3

Updated by Étienne Loks over 7 years ago

  • Status changed from Nouveau to Résolu
  • Description updated (diff)
Actions

Also available in: Atom PDF