Bug #8867
perte des infos saisies lors du recap
0%
Description
Sur https://demarches-alfortville.test.entrouvert.org/famille/creation-de-votre-profil-famille/ : la saisie se passe bien, mais sur le récap final, tout est vide, et lorsqu'on valide, trace :
Exception: type = '<type 'exceptions.AssertionError'>', value = '' Stack trace (most recent call first): File "/usr/lib/python2.7/dist-packages/wcs/sql.py", line 825, in get_sql_dict_from_data 823 assert isinstance(value, basestring) 824 elif sql_type == 'date': > 825 assert type(value) is time.struct_time 826 value = datetime.datetime(value.tm_year, value.tm_mon, value.tm_mday) 827 elif sql_type == 'bytea': locals: sql_type = 'date' sql_dict = {'f4': '', 'f176': None, 'f96': 'Oui', 'f176_structured': bytearray(b'N.'), 'f105': '', 'f96_display': 'Oui', 'f96_structured': bytearray(b'N.'), 'f176_display': None} formdef = <FormDef 'Cr\xc3\xa9ation de votre profil famille' id:24> self = <Creation-De-Votre-Profil-Famille id:25> value = '' field = <wcs.fields.DateField object at 0x3e1c4d0> data = {'194_structured': {u'text': u'Alfortville', u'post_code': u'94140', u'id': u'1'}, '195': '152', '194': '1', '193': None, '192': '11', '114': None, '116': '', '110': '', '176': None, '119': None, '48': '1', '96_display': 'Oui', '4': '', '7': '', '105': '', '77': '', '98': '', '123': None, '103': None, '79': '', '96': 'Oui', '11': '', '120': None, '12': '', '19': '', '18': '', '194_display': 'Alfortville', '195_display': 'DE GENEVE', '192_display': 'Rue'} File "/usr/lib/python2.7/dist-packages/wcs/sql.py", line 1047, in store 1045 sql_dict['actions_roles_array'] = [str(x) for x in self.actions_roles if x] 1046 > 1047 sql_dict.update(self.get_sql_dict_from_data(self.data, self._formdef)) 1048 conn, cur = get_connection_and_cursor() 1049 if not self.id: locals: x = 'f27d7ce14b4b4f19bf16c7cd5018f8b2' self = <Creation-De-Votre-Profil-Famille id:25> sql_dict = {'status': 'wf-1', 'concerned_roles_array': ['f27d7ce14b4b4f19bf16c7cd5018f8b2'], 'tracking_code': 'GXFRFZPV', 'workflow_roles_array': None, 'workflow_data': bytearray(b'N.'), 'workflow_roles': None, 'user_id': 2, 'submission_context': None, 'actions_roles_array': [], 'receipt_time': (datetime.datetime(2015, 11, 4, 21, 35, 30),), 'user_hash': None, 'id_display': None, 'backoffice_submission': False, 'page_no': '4', 'anonymised': None} File "/usr/lib/python2.7/dist-packages/wcs/sql.py", line 267, in f 265 except psycopg2.Error: 266 get_connection().rollback() > 267 raise 268 return f 269 locals: args = (<Creation-De-Votre-Profil-Famille id:25>,) func = <function store at 0x39ce398> kwargs = {} File "/usr/lib/python2.7/dist-packages/wcs/forms/root.py", line 879, in submitted 877 return redirect('%s/' % user_forms[0].id) 878 > 879 filled.store() 880 self.set_tracking_code(filled) 881 session.remove_magictoken(get_request().form.get('magictoken')) locals: existing_formdata = None self = <modules.formpage.AlternateFormPage object at 0x3e1cf50> session = <BasicSession at 45dad50: f3df20e259925cd0> form = <wcs.qommon.form.Form object at 0x3d7c510> filled = <Creation-De-Votre-Profil-Famille id:25> File "/usr/lib/python2.7/dist-packages/wcs/forms/root.py", line 734, in _q_index 732 return template.error_page(_('This form has already been submitted.')) 733 > 734 return self.submitted(form, existing_formdata) 735 736 locals: existing_formdata = None form = <wcs.qommon.form.Form object at 0x3d7c510> log_detail = None magictoken = 'bc78ed6b2f760a05' step = 2 session = <BasicSession at 45dad50: f3df20e259925cd0> session_magic_token = {'194_structured': {u'text': u'Alfortville', u'post_code': u'94140', u'id': u'1'}, '48': '1', '96_display': 'Oui', '194': '1', '194_display': 'Alfortville', '195_display': 'DE GENEVE', '193': None, '192': '11', '195': '152', '123': None, '192_display': 'Rue', '96': 'Oui', 'draft_formdata_id': 25} form_data = {'194_structured': {u'text': u'Alfortville', u'post_code': u'94140', u'id': u'1'}, '48': '1', '96_display': 'Oui', '194': '1', '194_display': 'Alfortville', '195_display': 'DE GENEVE', '193': None, '192': '11', '195': '152', '123': None, '192_display': 'Rue', '96': 'Oui', 'draft_formdata_id': 25} no_magic = <object object at 0x3add4b0> editing = None self = <modules.formpage.AlternateFormPage object at 0x3e1cf50> File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 67, in _q_traverse 65 raise TraversalError 66 elif hasattr(obj, '__call__'): > 67 return obj() 68 else: 69 return obj locals: component = '' self = <modules.formpage.AlternateFormPage object at 0x3e1cf50> obj = <bound method AlternateFormPage._q_index of <modules.formpage.AlternateFormPage object at 0x3e1cf50>> name = '_q_index' path = [] File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 63, in _q_traverse 61 if path: 62 if hasattr(obj, '_q_traverse'): > 63 return obj._q_traverse(path) 64 else: 65 raise TraversalError locals: component = 'creation-de-votre-profil-famille' self = <modules.root.FormsRootDirectory object at 0x3e1c8d0> obj = <modules.formpage.AlternateFormPage object at 0x3e1cf50> name = None path = [''] File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 91, in _q_traverse 89 def _q_traverse(self, path): 90 self._q_access() > 91 return super(AccessControlled, self)._q_traverse(path) 92 93 locals: path = ['creation-de-votre-profil-famille', ''] self = <modules.root.FormsRootDirectory object at 0x3e1c8d0> File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 63, in _q_traverse 61 if path: 62 if hasattr(obj, '_q_traverse'): > 63 return obj._q_traverse(path) 64 else: 65 raise TraversalError locals: component = 'famille' self = <modules.root.AlternateRootDirectory object at 0x36d5190> obj = <modules.root.FormsRootDirectory object at 0x3e1c8d0> name = None path = ['creation-de-votre-profil-famille', ''] File "/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/modules/root.py", line 845, in _q_traverse 843 return redirect('%s%s/%s' % (base_url, f.category.url_name, uri_rest)) 844 > 845 raise e 846 847 locals: path = ['famille', 'creation-de-votre-profil-famille', ''] self = <modules.root.AlternateRootDirectory object at 0x36d5190> response = <qommon.http_response.HTTPResponse instance at 0x4860b90> File "/usr/lib/pymodules/python2.7/quixote/publish.py", line 253, in try_publish 251 permanent=True) 252 components = path[1:].split('/') > 253 output = self.root_directory._q_traverse(components) 254 # The callable ran OK, commit any changes to the session 255 self.finish_successful_request() locals: path = '/famille/creation-de-votre-profil-famille/' self = <publisher.WcsPublisher instance at 0x3829f80> request = <qommon.http_request.HTTPRequest instance at 0x4860248> components = ['famille', 'creation-de-votre-profil-famille', ''] File "/usr/lib/python2.7/dist-packages/wcs/qommon/publisher.py", line 616, in try_publish 614 for extra_source in self.extra_sources: 615 self.substitutions.feed(extra_source(self, request)) > 616 return Publisher.try_publish(self, request) 617 618 def get_site_language(self): locals: extra_source = <class 'modules.abelium_domino_vars.DominoVariables'> pystatsd = <module 'qommon.vendor.pystatsd' from '/usr/lib/python2.7/dist-packages/wcs/qommon/vendor/pystatsd.pyc'> request = <qommon.http_request.HTTPRequest instance at 0x4860248> script_name = '' prefix = 'm' override_template_keys = {'m': 'mobile'} canonical_hostname = 'demarches-alfortville.test.entrouvert.org' self = <publisher.WcsPublisher instance at 0x3829f80> File "/usr/lib/python2.7/dist-packages/wcs/publisher.py", line 215, in try_publish 213 if request.get_header('X_WCS_IFRAME_MODE', '') in ('true', 'yes'): 214 request.response.iframe_mode = True > 215 return QommonPublisher.try_publish(self, request) 216 217 def initialize_sql(self): locals: self = <publisher.WcsPublisher instance at 0x3829f80> request = <qommon.http_request.HTTPRequest instance at 0x4860248> File "/usr/lib/pymodules/python2.7/quixote/publish.py", line 281, in process_request 279 except: 280 # Some other exception, generate error messages to the logs, etc. > 281 output = self.finish_failed_request() 282 output = self.filter_output(request, output) 283 self.logger.log_request(request, start_time) locals: start_time = 1446669329.407665 request = <qommon.http_request.HTTPRequest instance at 0x4860248> self = <publisher.WcsPublisher instance at 0x3829f80> File "/usr/lib/python2.7/dist-packages/wcs/qommon/publisher.py", line 920, in process 918 def process(self, stdin, env): 919 request = HTTPRequest(stdin, env) > 920 self.response = self.process_request(request) 921 return self.response 922 locals: self = <publisher.WcsPublisher instance at 0x3829f80> stdin = <open file '<socket>', mode 'r' at 0x3c350c0> request = <qommon.http_request.HTTPRequest instance at 0x4860248> env = {'HTTP_X_AU_QUOTIDIEN_LOCKED': 'False', 'HTTP_REFERER': 'https://demarches-alfortville.test.entrouvert.org/famille/creation-de-votre-profil-famille/', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Debian)', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'POST', 'PATH_INFO': '/famille/creation-de-votre-profil-famille/', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'SSL_TLS_SNI': 'demarches-alfortville.test.entrouvert.org', 'CONTENT_LENGTH': '4126', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 Iceweasel/42.0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-alfortville.test.entrouvert.org%2F; publik_portal_agent_title=Portail%20agent; wcs-7eafd8="d11a1783ed5aa07f"; wcs-f6f14f="f3df20e259925cd0"; A2_OPENED_SESSION=1', 'SERVER_NAME': 'demarches-alfortville.test.entrouvert.org', 'REMOTE_ADDR': '109.190.108.22', 'SERVER_PORT': '443', 'SERVER_ADDR': '94.23.114.98', 'DOCUMENT_ROOT': '/usr/share/wcs/w eb/', 'SCGI': '1', 'SERVER_ADMIN': 'webmaster@entrouvert.org', 'SCRIPT_URI': 'https://demarches-alfortville.test.entrouvert.org/famille/creation-de-votre-profil-famille/', 'REMOTE_USER': '2', 'HTTP_HOST': 'demarches-alfortville.test.entrouvert.org', 'SCRIPT_URL': '/famille/creation-de-votre-profil-famille/', 'HTTPS': 'on', 'HTTP_CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------18969569447406159851420424905', 'HTTP_CONTENT_LENGTH': '4126', 'REQUEST_URI': '/famille/creation-de-votre-profil-famille/', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'REMOTE_PORT': '62371', 'HTTP_ACCEPT_LANGUAGE': 'fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------18969569447406159851420424905', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate'} File "/usr/lib/pymodules/python2.7/quixote/server/scgi_server.py", line 27, in handle_connection 25 env['PATH_INFO'] = path[len(prefix):] + env.get('PATH_INFO', '') 26 > 27 response = self.publisher.process(input, env) 28 try: 29 response.write(output) locals: output = <open file '<socket>', mode 'w' at 0x3c35540> self = <qommon.scgi_server.QommonHandler instance at 0x36d42d8> conn = <socket object, fd=20, family=2, type=1, protocol=0> env = {'HTTP_X_AU_QUOTIDIEN_LOCKED': 'False', 'HTTP_REFERER': 'https://demarches-alfortville.test.entrouvert.org/famille/creation-de-votre-profil-famille/', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Debian)', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'POST', 'PATH_INFO': '/famille/creation-de-votre-profil-famille/', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'SSL_TLS_SNI': 'demarches-alfortville.test.entrouvert.org', 'CONTENT_LENGTH': '4126', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 Iceweasel/42.0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-alfortville.test.entrouvert.org%2F; publik_portal_agent_title=Portail%20agent; wcs-7eafd8="d11a1783ed5aa07f"; wcs-f6f14f="f3df20e259925cd0"; A2_OPENED_SESSION=1', 'SERVER_NAME': 'demarches-alfortville.test.entrouvert.org', 'REMOTE_ADDR': '109.190.108.22', 'SERVER_PORT': '443', 'SERVER_ADDR': '94.23.114.98', 'DOCUMENT_ROOT': '/usr/share/wcs/w eb/', 'SCGI': '1', 'SERVER_ADMIN': 'webmaster@entrouvert.org', 'SCRIPT_URI': 'https://demarches-alfortville.test.entrouvert.org/famille/creation-de-votre-profil-famille/', 'REMOTE_USER': '2', 'HTTP_HOST': 'demarches-alfortville.test.entrouvert.org', 'SCRIPT_URL': '/famille/creation-de-votre-profil-famille/', 'HTTPS': 'on', 'HTTP_CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------18969569447406159851420424905', 'HTTP_CONTENT_LENGTH': '4126', 'REQUEST_URI': '/famille/creation-de-votre-profil-famille/', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'REMOTE_PORT': '62371', 'HTTP_ACCEPT_LANGUAGE': 'fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------18969569447406159851420424905', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate'} input = <open file '<socket>', mode 'r' at 0x3c350c0> File "/usr/lib/python2.7/dist-packages/wcs/qommon/scgi_server.py", line 35, in handle_connection 33 def handle_connection(self, conn): 34 self.number_of_connection_handled = self.number_of_connection_handled + 1 > 35 quixote.server.scgi_server.QuixoteHandler.handle_connection(self, conn) 36 # input, output and conn are closed, long running jobs could be done 37 # here. locals: self = <qommon.scgi_server.QommonHandler instance at 0x36d42d8> conn = <socket object, fd=20, family=2, type=1, protocol=0> File "/usr/lib/pymodules/python2.7/scgi/scgi_server.py", line 71, in serve 69 conn.setblocking(1) 70 os.close(fd) > 71 self.handle_connection(conn) 72 73 locals: self = <qommon.scgi_server.QommonHandler instance at 0x36d42d8> fd = 19 conn = <socket object, fd=20, family=2, type=1, protocol=0> File "/usr/lib/pymodules/python2.7/scgi/scgi_server.py", line 194, in spawn_child 192 # the connection in the child 193 os.close(child_fd) > 194 self.handler_class(parent_fd).serve() 195 sys.exit(0) 196 else: locals: self = <qommon.scgi_server.SCGIServer instance at 0x36d40e0> pid = 0 flags = 2 child_fd = 19 parent_fd = 18 conn = None File "/usr/lib/pymodules/python2.7/scgi/scgi_server.py", line 172, in __init__ 170 self.max_children = max_children 171 self.children = {} # { pid : fd } > 172 self.spawn_child() 173 self.restart = 0 174 locals: max_children = 5 host = 'localhost' handler_class = <function create_handler at 0x37c2488> port = 3001 self = <qommon.scgi_server.SCGIServer instance at 0x36d40e0> File "/usr/lib/python2.7/dist-packages/wcs/qommon/scgi_server.py", line 73, in run 71 72 s = SCGIServer(create_handler, host=host, port=port, > 73 max_children=max_children) 74 s.serve() 75 locals: create_handler = <function create_handler at 0x37c2488> handler_connection_limit = -1 max_children = 5 create_publisher = <bound method classobj.create_publisher of <class publisher.WcsPublisher at 0x2defae0>> script_name = None host = 'localhost' spawn_cron = True port = 3001 File "/usr/lib/python2.7/dist-packages/wcs/ctl/start.py", line 138, in execute 136 137 try: > 138 run_function(publisher.WcsPublisher.create_publisher, **run_kwargs) 139 except socket.error, e: 140 self.del_pid() locals: publisher = <module 'publisher' from '/usr/lib/python2.7/dist-packages/wcs/publisher.pyc'> base_app_dir = '/var/lib/wcs-au-quotidien' args = [] tenant_path = '/var/lib/wcs-au-quotidien/jerome.au-quotidien.com' self = <wcs.ctl.start.CmdStart object at 0x270f410> hostname = 'jerome.au-quotidien.com' pub = <publisher.WcsPublisher instance at 0x37c15f0> sub_options = <Values at 0x272fa28: {'http': False, 'silent': False, 'app_dir': None, 'extra': ['/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/'], 'max_children': None, 'handler_connection_limit': None, 'script_name': None, 'daemonize': False, 'data_dir': None, 'port': 3001, 'pidfile': None}> run_function = <function run at 0x2731f50> base_options = <Values at 0x26fde60: {'configfile': '/etc/wcs/wcs-au-quotidien.cfg'}> run_kwargs = {'port': 3001, 'spawn_cron': True} File "/usr/lib/python2.7/dist-packages/wcs/qommon/ctl.py", line 69, in run 67 for i, extra in enumerate(sub_options.extra): 68 self.config.set("extra", "cmd_line_extra_%d" % i, extra) > 69 return self.execute(base_options, sub_options, args) 70 71 def parse_args(self, args): locals: extra = '/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/' i = 0 self = <wcs.ctl.start.CmdStart object at 0x270f410> args = [] sub_options = <Values at 0x272fa28: {'http': False, 'silent': False, 'app_dir': None, 'extra': ['/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/'], 'max_children': None, 'handler_connection_limit': None, 'script_name': None, 'daemonize': False, 'data_dir': None, 'port': 3001, 'pidfile': None}> base_options = <Values at 0x26fde60: {'configfile': '/etc/wcs/wcs-au-quotidien.cfg'}> File "/usr/lib/python2.7/dist-packages/wcs/qommon/ctl.py", line 159, in run 157 command_class = self.get_commands()[command] 158 cmd = command_class() > 159 return cmd.run(args, options) 160 locals: cmd = <wcs.ctl.start.CmdStart object at 0x270f410> args = ['--extra', '/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/'] self = <wcs.qommon.ctl.Ctl object at 0x2413110> command_class = <class 'wcs.ctl.start.CmdStart'> command = 'start' cmd_prefix = 'wcs.ctl' options = <Values at 0x26fde60: {'configfile': '/etc/wcs/wcs-au-quotidien.cfg'}> File "/usr/sbin/wcsctl", line 8, in <module> 6 7 ctl = wcs.qommon.ctl.Ctl(cmd_prefixes=['wcs.ctl']) > 8 ctl.run(sys.argv[1:]) 9 locals: wcs = <module 'wcs' from '/usr/lib/python2.7/dist-packages/wcs/__init__.pyc'> __builtins__ = <module '__builtin__' (built-in)> __file__ = '/usr/sbin/wcsctl' __package__ = None sys = <module 'sys' (built-in)> ctl = <wcs.qommon.ctl.Ctl object at 0x2413110> __name__ = '__main__' __doc__ = None Form: _form_id '6dbdbbd3e7bb7507' f103 '' f103_label '' f105 '' f11 '' f110 '' f114 '' f114_label '' f116 '' f119$token '' f12 '' f120$token '' f123$token '' f176 '' f176_label '' f18 '' f19 '' f192 '11' f192_label 'Rue' f193 '' f193_label '' f194 '1' f194_label 'Alfortville' f195 '152' f195_label 'DE GENEVE' f4 '' f48 '1' f7 '' f77 '' f79 '' f96 'Oui' f96_label 'Oui' f98 '' magictoken 'bc78ed6b2f760a05' step '2' submit 'Valider' Cookies: A2_OPENED_SESSION '1' publik_portal_agent_title 'Portail%20agent' publik_portal_agent_url 'https%3A%2F%2Fportail-agent-alfortville.test.entrouvert.org%2F' wcs-7eafd8 'd11a1783ed5aa07f' wcs-f6f14f 'f3df20e259925cd0' Environment: CONTENT_LENGTH '4126' CONTENT_TYPE 'multipart/form-data; boundary=---------------------------18969569447406159851420424905' DOCUMENT_ROOT '/usr/share/wcs/web/' HTTPS 'on' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_ENCODING 'gzip, deflate' HTTP_ACCEPT_LANGUAGE 'fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3' HTTP_CONNECTION 'keep-alive' HTTP_CONTENT_LENGTH '4126' HTTP_CONTENT_TYPE 'multipart/form-data; boundary=---------------------------18969569447406159851420424905' HTTP_COOKIE 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-alfortville.test.entrouvert.org%2F; publik_portal_agent_title=Portail%20agent; wcs-7eafd8="d11a1783ed5aa07f"; wcs-f6f14f="f3df20e259925cd0"; A2_OPENED_SESSION=1' HTTP_HOST 'demarches-alfortville.test.entrouvert.org' HTTP_REFERER 'https://demarches-alfortville.test.entrouvert.org/famille/creation-de-votre-profil-famille/' HTTP_USER_AGENT 'Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 Iceweasel/42.0' HTTP_X_AU_QUOTIDIEN_LOCKED 'False' PATH_INFO '/famille/creation-de-votre-profil-famille/' QUERY_STRING '' REMOTE_ADDR '109.190.108.22' REMOTE_PORT '62371' REMOTE_USER '2' REQUEST_METHOD 'POST' REQUEST_URI '/famille/creation-de-votre-profil-famille/' SCGI '1' SCRIPT_NAME '' SCRIPT_URI 'https://demarches-alfortville.test.entrouvert.org/famille/creation-de-votre-profil-famille/' SCRIPT_URL '/famille/creation-de-votre-profil-famille/' SERVER_ADDR '94.23.114.98' SERVER_ADMIN 'webmaster@entrouvert.org' SERVER_NAME 'demarches-alfortville.test.entrouvert.org' SERVER_PORT '443' SERVER_PROTOCOL 'HTTP/1.1' SERVER_SOFTWARE 'Apache/2.2.22 (Debian)' SSL_TLS_SNI 'demarches-alfortville.test.entrouvert.org'
Fichiers
Historique
Mis à jour par Thomas Noël il y a plus de 8 ans
Reproduit 3 fois de suite sur la machine de Brice (à mes côtés). Pas reproduit chez moi.
Mis à jour par Frédéric Péters il y a plus de 8 ans
- Fichier 0001-form-fix-handling-of-optional-date-fields-8867.patch 0001-form-fix-handling-of-optional-date-fields-8867.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Je reproduis avec le test joint (en SQL); correction également attachée.
Mis à jour par Frédéric Péters il y a plus de 8 ans
Je viens de placer le patch ainsi sur auquo-test et alfortville.dev.
Mis à jour par Thomas Noël il y a plus de 8 ans
Je ne suis pas sûr de voir le rapport exact du patch avec le titre du ticket, car les champs dates sont tous obligatoires dans notre formulaire. Le problème c'est surtout que quasi tous les champs de la demande sont à None à la fin (alors que tous correctement saisis avant). J'ai vu la chose se passer 3 fois de suite lors de tests avec Brice, mais impossible à reproduire chez moi. J'ai juste eu le cas en fin d'après-midi, une seule fois. Sur wcs 1.20 toujours.
Ceci étant, effectivement, la trace finale ne montre que la conséquence, et pas la cause du soucis...
(Bon, ceci dit, ça a sans doute permis de voir un bogue ailleurs, à savoir crash sur champs date optionnels vides, oui).
Mis à jour par Frédéric Péters il y a plus de 8 ans
Moi je ne voyais pas de rapport entre le titre et la trace donnée…
Mis à jour par Thomas Noël il y a plus de 8 ans
J'aurais dû dire que dans la trace, le truc anormal est
data = {'194_structured': {u'text': u'Alfortville', u'post_code': u'94140', u'id': u' 1'}, '195': '152', '194': '1', '193': None, '192': '11', '114': None, '116': '', '110': '', '176': None, '119': None, '48': '1', '96_display': 'Oui', '4': '', '7': '', '105': '', '77': '', '98': '', '123': None, '103': None, '79': '', '96': 'Oui', '11': '', '120': None, '12': '', '19': '', '18': '', '194_display': 'Alfortville', '195_display': 'DE GENEVE', '192_display': 'Rue'}
Mis à jour par Thomas Noël il y a environ 8 ans
- Statut changé de En cours à Fermé
était un problème d'autosave