Files
web2py/gluon
Lisandro 911cf430a9 Catch KeyError in download function
This change is necessary to avoid an error ticket when you delete an upload field from a table (and also from the model definition). In those cases, requests to old URLs will throw a KeyError. With this fix, those requests return 404 as expected.

Also, catching AttributeError is still necessary for the situation when the table is removed entirely. If an old request come in, that sentence will throw an AttributeError, that will be catched properly, and request will return 404.
2018-06-15 08:30:44 -03:00
..
2018-05-03 17:15:53 +01:00
2018-06-01 12:56:45 -05:00
2018-06-15 05:07:28 +02:00
2017-06-21 13:22:30 -04:00
2016-08-13 15:38:55 +02:00
2016-08-13 15:38:55 +02:00
2017-06-21 13:32:42 -04:00
2017-10-28 19:29:55 +03:00
2017-05-13 08:26:09 +02:00
2017-06-21 14:38:52 -04:00
2018-06-15 08:30:44 -03:00
2018-05-01 11:06:36 -05:00
2018-05-01 15:53:19 -05:00
2018-05-08 11:00:35 +02:00
2015-03-06 22:12:56 -05:00
2017-08-01 10:26:33 -05:00
2016-08-13 15:38:55 +02:00
2017-12-12 19:23:19 +01:00
2017-08-10 06:49:36 +02:00
2016-08-13 15:38:55 +02:00
2018-05-01 10:51:42 -05:00
2016-08-13 15:38:55 +02:00
2018-04-20 16:47:09 +01:00
2018-02-09 20:56:16 +01:00
2018-05-01 10:51:42 -05:00