Tryton - Issues

 

Issue6945

Title When upload a file in binary field the page is reloaded
Priority bug Status invalid
Superseder Nosy List cypp, pokoli
Type behavior Components sao
Assigned To Keywords
Reviews

Created on 2017-11-17.14:43:46 by cypp, last changed by ced.

Messages
msg37300 (view) Author: [hidden] (cypp) Date: 2017-12-14.22:52:08
Sorry i have retested the code and there was an error in the custom model: the filename parameter of the binary field was wrong. Since i have fixed the code, i can't reproduce.

I think we can close this issue.
msg37128 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2017-12-01.11:15:15
I've tested with the binary field on the attachments form and it works as expected. My steps to reproduce:

1. Go to Administration -> User Interface -> Attachments menu.
3. Create a new record.
4. Select a file on the content field. 

And its saved without reloading the page. 

What are your steps to reproduce it? If you are using a custom model, could you share it's definition?
msg37127 (view) Author: [hidden] (cypp) Date: 2017-12-01.11:09:08
In attachment form there isn't problem. but if you create a binary field on a model, add the field on a form view.
Then when you trying to submit a file in sao dialog the page is reloaded.

I have tested on 4.2, 4.4 and 4.6. On firefox and chrome.
msg37028 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2017-11-24.12:35:41
I can not reproduce. I've tested with attachment and the page is not reloaded. 

Can you provide the steps to reproduce it?
History
Date User Action Args
2017-12-14 23:00:23cedsetstatus: need-eg -> invalid
2017-12-14 22:52:08cyppsetmessages: + msg37300
2017-12-01 11:15:15pokolisetmessages: + msg37128
2017-12-01 11:09:08cyppsetnosy: + cypp
messages: + msg37127
2017-11-24 12:35:41pokolisetstatus: unread -> need-eg
nosy: + pokoli
messages: + msg37028
2017-11-17 14:43:46cyppcreate

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