Tryton - Issues

 

Issue8576

Title Crash when clearing the report extensions
Priority bug Status resolved
Superseder Nosy List pokoli, reviewbot, roundup-bot
Type crash Components trytond
Assigned To pokoli Keywords review
Reviews 287941002
View: 287941002

Created on 2019-08-14.18:03:48 by pokoli, last changed by roundup-bot.

Messages
New changeset 7e7fe6e2b598 by Sergi Almacellas Abellana in branch '5.2':
Return name as report_content_name when template extensions is empty
https://hg.tryton.org/trytond/rev/7e7fe6e2b598

New changeset fe9af17f69d3 by Sergi Almacellas Abellana in branch '5.0':
Return name as report_content_name when template extensions is empty
https://hg.tryton.org/trytond/rev/fe9af17f69d3

New changeset 4ea8dd226032 by Sergi Almacellas Abellana in branch '4.8':
Return name as report_content_name when template extensions is empty
https://hg.tryton.org/trytond/rev/4ea8dd226032

New changeset 37ad6c458392 by Sergi Almacellas Abellana in branch '4.6':
Return name as report_content_name when template extensions is empty
https://hg.tryton.org/trytond/rev/37ad6c458392

New changeset 33219fbea66e by Sergi Almacellas Abellana in branch '4.4':
Return name as report_content_name when template extensions is empty
https://hg.tryton.org/trytond/rev/33219fbea66e
New changeset 1e9c4d743ff9 by Sergi Almacellas Abellana in branch 'default':
Return name as report_content_name when template extensions is empty
https://hg.tryton.org/tryton-env/rev/1e9c4d743ff9
New changeset 50324f62bc75 by Sergi Almacellas Abellana in branch 'default':
Return name as report_content_name when template extensions is empty
https://hg.tryton.org/trytond/rev/50324f62bc75
review287941002 updated at https://codereview.tryton.org/287941002/#ps277701002
review287941002 updated at https://codereview.tryton.org/287941002/#ps261991002
review287941002 updated at https://codereview.tryton.org/287941002/#ps285791002
msg51296 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2019-08-14.18:03:47
When I create a report, I set them a name and I clear it's extension i get the following error:

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 104, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 48, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/wsgi.py", line 72, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 131, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 191, in _dispatch
    result = rpc.result(meth(inst, *c_args, **c_kwargs))
  File "/trytond/model/fields/field.py", line 117, in wrapper
    return func(self, *args, **kwargs)
  File "/trytond/ir/action.py", line 647, in on_change_with_report_content_name
    return ''.join([self.name, os.extsep, self.template_extension])
TypeError: sequence item 2: expected str instance, NoneType found

Fault: sequence item 2: expected str instance, NoneType found
History
Date User Action Args
2019-09-04 20:52:03roundup-botsetmessages: + msg51659
keyword: - backport
2019-08-23 18:32:47roundup-botsetmessages: + msg51453
2019-08-23 18:32:40roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg51452
2019-08-15 13:51:20reviewbotsetmessages: + msg51300
2019-08-14 18:42:03reviewbotsetmessages: + msg51298
2019-08-14 18:41:47cedsetkeyword: + backport
2019-08-14 18:10:15reviewbotsetnosy: + reviewbot
messages: + msg51297
2019-08-14 18:05:19pokolisetstatus: in-progress -> testing
reviews: 287941002
keyword: + review
2019-08-14 18:03:48pokolicreate

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