DECA-226: calling the delete method on a book only deletes its images directory

Metadata

Source
DECA-226
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2012-01-24T13:04:45.501-0500
Updated
2012-05-18T14:20:00.939-0400
Versions
  1. 0.5a
Fixed Versions
  1. 0.5
Component
N/A

Description

calling the DELETE method on a book only removes the images directory. If there is other data related to the book in the books directory, some model data for example, this currently won't be removed. All of the data in the book should be removed.

This should probably just delete the entire book directory.

Comments

  • Justin Obara commented 2012-01-24T15:16:58.130-0500

    I've changed the book.py script to remove and not re-add the 'book' directory. There is also a unit test for this.

    The changes are currently in my bitbucket repo
    https://bitbucket.org/jobara/decapod-server-rest

  • Justin Obara commented 2012-05-18T14:19:58.049-0400

    Merged into the project repo