Tryton - Issues

 

Issue6503

Title Crash when processing sepa reject message
Priority bug Status resolved
Superseder Nosy List flangevin, pokoli, reviewbot, roundup-bot
Type crash Components account_payment_sepa
Assigned To pokoli Keywords review
Reviews 37431002
View: 37431002

Created on 2017-05-12.18:49:49 by flangevin, last changed by roundup-bot.

Messages
New changeset 226c228bf419 by Sergi Almacellas Abellana in branch '4.4':
Use real field sql_base for sepa_end_to_end_id searcher
http://hg.tryton.org/modules/account_payment_sepa/rev/226c228bf419

New changeset 5cb4fcc0af57 by Sergi Almacellas Abellana in branch '4.2':
Use real field sql_base for sepa_end_to_end_id searcher
http://hg.tryton.org/modules/account_payment_sepa/rev/5cb4fcc0af57

New changeset 796cefb5d8fa by Sergi Almacellas Abellana in branch '4.0':
Use real field sql_base for sepa_end_to_end_id searcher
http://hg.tryton.org/modules/account_payment_sepa/rev/796cefb5d8fa

New changeset 49adae064367 by Sergi Almacellas Abellana in branch '3.8':
Use real field sql_base for sepa_end_to_end_id searcher
http://hg.tryton.org/modules/account_payment_sepa/rev/49adae064367

New changeset 8272e8b1d6a6 by Sergi Almacellas Abellana in branch '3.6':
Use real field sql_base for sepa_end_to_end_id searcher
http://hg.tryton.org/modules/account_payment_sepa/rev/8272e8b1d6a6
New changeset f619073b9912 by Sergi Almacellas Abellana in branch 'default':
Use real field sql_base for sepa_end_to_end_id searcher
http://hg.tryton.org/modules/account_payment_sepa/rev/f619073b9912
New review37431002 at https://codereview.tryton.org/37431002/#ps1
msg33727 (view) Author: [hidden] (pokoli) (Tryton committer) Date: 2017-05-22.12:48:39
Here is review37431002 that should fix it.
msg33640 (view) Author: [hidden] (flangevin) Date: 2017-05-12.18:49:48
When we process a sepa reject message a crash appears.
It seems due to the search_end_to_end_id where we sql_type on function field

cast = cls.sepa_end_to_end_id.sql_type().base

A correction could be 
cast = cls.sepa_end_to_end_id._field.sql_type().base
History
Date User Action Args
2017-06-13 09:57:04roundup-botsetmessages: + msg34030
2017-05-30 12:41:39roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg33800
2017-05-22 13:04:20reviewbotsetnosy: + reviewbot
messages: + msg33728
2017-05-22 13:04:19reviewbotsetreviews: 37431002
keyword: + review
2017-05-22 12:48:40pokolisetstatus: unread -> testing
assignedto: pokoli
messages: + msg33727
nosy: + pokoli
2017-05-12 18:49:49flangevincreate

Showing 10 items. Show all history (warning: this could be VERY long)