chat.freenode.net #tryton log beginning Thu Dec 17 12:00:01 AM CET 2020 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:03 | |
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton | 01:30 | |
-!- yangoon(~mathiasb@93.208.138.189) has joined #tryton | 02:06 | |
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton | 02:10 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 05:53 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 06:04 | |
-!- Timitos(~kpreisler@2001:a61:578:ee01:762b:62ff:fe84:ed7e) has joined #tryton | 06:42 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 07:39 | |
-!- rpit(~rpit@p200300c88f4cbb00cea2955fb3b32f1a.dip0.t-ipconnect.de) has joined #tryton | 08:08 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton | 08:48 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 09:04 | |
mrichez | hi, got an error on tryton gui tip version when creating new record on empty model: AttributeError: 'NoneType' object has no attribute 'id' (seems linked to issue9881) | 09:48 |
---|---|---|
cedk | mrichez: see issue9936 | 09:57 |
mrichez | cedk: ok thanks | 09:58 |
-!- mariomop(~quassel@190.193.24.112) has joined #tryton | 10:49 | |
-!- ioanp(~ioanp@78-69-28-182-no206.tbcn.telia.com) has joined #tryton | 11:35 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 13:07 | |
mrichez | hi, need some help. I'm doing a validate to raise a warning if length of char field is longer than 20 chars. Here's my code : https://pastebin.com/V1bWDRuN | 15:15 |
mrichez | When testing, with char field longer than 20 char, Warning message is looping when clicking "Yes". If i reduce field char length under 20 chars, then i save (no warning). Then if add characters for having a length > 20, Warning message is just displayed once. | 15:18 |
mrichez | Any idea ? Thanks. | 15:18 |
cedk | mrichez: if you are testing on SQLite, this could be because the same id is reused | 15:47 |
cedk | it is not good to use id as key for a warning at creation (in general in validate) | 15:47 |
mrichez | cedk: testing with postgresql. What do you suggest instead of id ? | 16:24 |
cedk | mrichez: something else that identify uniquely the record | 16:40 |
cedk | it is somehow related to issue5581 | 16:43 |
cedk | I'm wondering if we could not have a flag to recongnize record created during the transaction to avoid using their id | 16:44 |
mrichez | would be nice | 16:44 |
-!- mariomop(~quassel@190.193.24.112) has joined #tryton | 18:59 | |
-!- rpit(~rpit@p200300c88f4cbb00cea2955fb3b32f1a.dip0.t-ipconnect.de) has joined #tryton | 20:48 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!