Project

General

Profile

Bug #33059

conflit de casse sur les index JSON

Added by Benjamin Dauvergne 9 days ago. Updated 9 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Start date:
14 May 2019
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

Il faut ignorer la casse ou trouve un moyen de les différencier :

 2019-05-14 01:19:45,925 DEBUG SQL: CREATE INDEX formdata_carte_nancy_famille_civilite2_json_idx ON formdata (("json_data"->>%s)) VARS: [u'civilite2']
...
2019-05-14 01:19:46,023 DEBUG SQL: CREATE INDEX formdata_carte_nancy_famille_Civilite2_json_idx ON formdata (("json_data"->>%s)) VARS: [u'Civilite2']
2019-05-14 01:19:46,023 ERROR failed to synchronize with https://demarches-nancy.test.entrouvert.org/
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wcs_olap/cmd.py", line 112, in main2
    feeder.feed()
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 517, in feed
    formdef_feeder.feed()
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 998, in feed
    self.do_data_table()
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 669, in do_data_table
    self.create_formdata_json_index(field.varname)
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 559, in create_formdata_json_index
    ctx={'index_name': index_name}, vars=[varname])
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 306, in ex
    self.cur.execute(sql, vars=vars)
ProgrammingError: relation "formdata_carte_nancy_famille_civilite2_json_idx" already exists

History

#1 Updated by Benjamin Dauvergne 9 days ago

  • Tracker changed from Support to Bug

Also available in: Atom PDF