openplans / openblock

OpenBlock is a web application and RESTful service that allows users to browse and search their local area for "hyper-local news
61 stars 26 forks source link

SavedPlace cleaner and/or save() should enforce that either block or location is set, but not both #206

Closed slinkp closed 11 years ago

slinkp commented 11 years ago

What the summary says. There's an implicit contract here that should be enforced when you create one.

slinkp commented 11 years ago

(In [b46e57521548af5b5019c8f30e7edd5e67ae9e84]) Validate that SavedPlace has either a block or a location, not both. Closes #213.

slinkp commented 11 years ago

(In [c25f79c547f87a13aebc624e613585afaadf56fc]) Validate that SavedPlace has either a block or a location, not both. Closes #213.

slinkp commented 11 years ago

Ticket imported from Trac: http://developer.openblockproject.org/ticket/213 Reported by: slinkp