Tryton - Issues



Title ModelStorage.copy tries to create/write on table query ModelSQL
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type crash Components trytond
Assigned To ced Keywords review
Reviews 39751002
View: 39751002

Created on 2017-10-05.13:28:09 by ced, last changed by roundup-bot.

New changeset bd167cbac4c1 by C├ędric Krier in branch 'default':
Do not copy fields which are not ModelStorage or using table_query
review39751002 updated at
review39751002 updated at
msg36081 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-10-05.13:28:09
Since issue6794, copying a product crash because it tries to create records for 'categories_all' which point to a 'table_query' ModelSQL.
ModelStorage.copy should skip the values of those fields like it does for Function fields.
Date User Action Args
2017-10-13 23:31:38roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg36279
2017-10-06 10:44:31reviewbotsetmessages: + msg36100
2017-10-05 14:59:06cedlinkissue6820 superseder
2017-10-05 13:49:51reviewbotsetnosy: + reviewbot
messages: + msg36084
2017-10-05 13:29:51cedsetstatus: in-progress -> testing
reviews: 39751002
keyword: + review
2017-10-05 13:28:09cedcreate

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