2009-05-07 17:53:31 |
Celso Providelo |
bug |
|
|
added bug |
2009-05-07 18:07:35 |
Francis J. Lacoste |
launchpad-foundations: importance |
Undecided |
High |
|
2009-05-07 18:07:35 |
Francis J. Lacoste |
launchpad-foundations: status |
New |
Triaged |
|
2009-05-07 18:07:54 |
Francis J. Lacoste |
bug task added |
|
lazr.restful |
|
2009-05-07 18:08:14 |
Francis J. Lacoste |
lazr.restful: importance |
Undecided |
High |
|
2009-05-07 18:08:14 |
Francis J. Lacoste |
lazr.restful: status |
New |
Triaged |
|
2009-07-17 10:38:52 |
Andrea Corbellini |
removed subscriber Andrea Corbellini |
|
|
|
2010-11-13 22:37:09 |
Curtis Hovey |
tags |
|
api |
|
2012-01-23 20:22:32 |
Robert Collins |
lazr.restful: importance |
High |
Low |
|
2012-01-23 20:23:24 |
Robert Collins |
bug task deleted |
lazr.restful |
|
|
2012-01-23 20:24:02 |
Robert Collins |
summary |
Text fields can be made empty via the API, but not via the web UI |
page title, bug summary fields can be made empty via the API |
|
2012-01-23 20:25:46 |
Robert Collins |
description |
General required text fields can be set as empty string via the webservice API, however the same thing can't be done via the usual web UI forms.
This is a consistency problem and sometimes can also cause UI problem (lack of page title or main header).
The root cause of this is possibly some code in formlib treating empty strings in the same way it would treat missing form values, maybe it makes sense it its context (or even is HTTP/1.1 compliant) however it is out of the scope of the Field declaration, which is what get reused by our REST implementation. |
General required text fields can be set as empty string via the webservice API, however the same thing can't be done via the usual web UI forms.
This is a consistency problem and sometimes can also cause UI problem (lack of page title or main header).
We have overly weak validators on the involved model objects (and this is perhaps systemic - one way to fix would be to change the defaults for 'String(null=False)' to actually mean 'String(null=False, validator=lambda x:len(x) > 0)' |
|
2012-01-23 20:25:58 |
Robert Collins |
launchpad: importance |
High |
Low |
|
2012-02-17 21:43:58 |
Curtis Hovey |
summary |
page title, bug summary fields can be made empty via the API |
bug title, bug summary fields can be made empty via the API |
|
2012-02-18 03:46:30 |
Robert Collins |
marked as duplicate |
|
111289 |
|