Empty title of a resource is not handled properly in RESTive views
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "/home/
138, in publish
result = publication.
File "/home/
73, in callObject
return mapply(ob, request.
File "/home/
113, in mapply
return debug_call(object, args)
File "/home/
119, in debug_call
return object(*args)
File "/home/
POST
return self.create()
File "/home/
create
self.add(item)
File "/home/
name = chooser.
File "/home/
chooseName
self.
File "/home/
line 705, in checkName
raise UserError(
UserError: An empty name was provided. Names cannot be empty.
Changed in schooltool: | |
importance: | Medium → Low |
status: | In Progress → Confirmed |
Changed in schooltool: | |
status: | Confirmed → Won't Fix |
Verified:
$ bin/rest-client.py schooltool. org/ns/ model/0. 1" title="" />
SchoolTool> user manager schooltool
SchoolTool> post /resources
POST> <object xmlns="http://
POST> .
500 Internal Server Error
Content-Type: text/plain; charset=utf-8
A system error has occured.