Alexandre Kühn and Nick Booker
c3ce712359
[FIX] web: correctly display filename when uploading a file
...
Before this commit, we had the following issue with binary widget in a form:
Suppose we have a binary field with filename attribute set. When uploading a
new file 'temp.txt' with content 'Cg==', the displayed value is 'Cg=='. When
the changes are saved, the displayed value becomes 'temp.txt'.
It should always display 'temp.txt', which is what is fixed by this commit.
In addition to fixing this issue, we describe what is the expected displayed
value of a binary field. This is based on whether the attribute filename is
provided, and whether the record is in edit or read-only mode.
Fixes #21630
Closes #24275
Co-authored-by: Nick Booker <nick.booker@opusvl.com >
2018-05-04 17:10:29 +02:00
..
2018-05-03 12:17:55 +02:00
2018-04-15 00:29:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-03-29 18:03:32 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-02-14 11:53:12 +01:00
2018-03-19 18:11:12 +01:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-18 11:32:27 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-15 00:29:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-15 00:29:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-01 02:39:07 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-15 00:29:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-15 00:29:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-29 00:28:03 +02:00
2018-05-01 02:39:26 +02:00
2018-04-29 00:28:03 +02:00
2018-05-01 02:39:26 +02:00
2018-02-14 13:43:39 +01:00
2017-10-19 22:25:31 +02:00
2018-03-13 14:29:25 +01:00
2018-05-01 02:39:26 +02:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-05-01 02:39:26 +02:00
2018-04-05 14:39:37 +02:00
2018-03-21 11:45:26 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2017-09-24 01:44:27 +02:00
2017-09-24 01:44:27 +02:00
2017-09-26 11:47:00 +02:00
2017-09-26 11:47:00 +02:00
2018-04-01 02:39:07 +02:00
2018-02-26 17:22:41 +01:00
2017-12-14 14:27:53 +01:00
2018-03-12 08:09:20 +01:00
2018-02-09 18:20:57 +01:00
2018-04-04 16:31:49 +02:00
2017-12-13 17:22:51 +01:00
2017-09-26 11:47:00 +02:00
2017-09-26 11:47:00 +02:00
2017-09-26 11:47:00 +02:00
2017-09-24 01:44:27 +02:00
2017-09-26 11:47:00 +02:00
2018-05-01 02:39:26 +02:00
2017-09-26 11:47:00 +02:00
2017-09-24 01:44:27 +02:00
2018-01-02 13:20:04 +01:00
2017-09-26 11:47:00 +02:00
2018-05-01 02:39:26 +02:00
2018-04-23 13:53:24 +02:00
2017-10-02 15:34:13 +02:00
2017-10-31 11:47:35 +01:00
2017-09-24 01:44:27 +02:00
2017-09-26 11:47:00 +02:00
2017-10-31 11:47:35 +01:00
2017-09-24 01:44:27 +02:00
2017-12-01 02:53:01 +01:00
2017-09-24 01:44:27 +02:00
2017-10-31 11:47:35 +01:00
2017-09-24 01:44:27 +02:00
2017-09-26 11:47:00 +02:00
2017-10-31 11:47:35 +01:00
2017-09-24 01:44:27 +02:00
2017-09-26 11:47:00 +02:00
2017-09-24 01:44:27 +02:00
2017-09-26 11:47:00 +02:00
2017-10-31 11:47:35 +01:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-29 00:28:03 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-22 00:28:35 +02:00
2018-05-01 02:39:26 +02:00
2018-04-23 16:25:49 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-15 00:29:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-02-14 13:43:39 +01:00
2018-05-02 12:58:52 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-03-25 00:29:04 +01:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-02-14 13:43:39 +01:00
2018-05-01 02:39:26 +02:00
2018-02-14 13:43:39 +01:00
2018-05-01 02:39:26 +02:00
2018-02-14 11:53:12 +01:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-04 14:20:37 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-04 17:10:29 +02:00
2018-04-22 00:28:35 +02:00
2018-02-14 13:43:39 +01:00
2018-05-02 11:01:38 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-29 00:28:03 +02:00
2018-04-29 00:28:03 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-22 00:28:35 +02:00
2018-05-01 02:39:26 +02:00
2018-02-14 13:43:39 +01:00
2018-02-14 11:53:12 +01:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-05-01 02:39:26 +02:00
2018-04-22 00:28:35 +02:00
2018-05-01 02:39:26 +02:00