The trash db object is recreated everytime there is a record to dele
Bug #697661 reported by
Manuel de la Peña
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
Medium
|
Manuel de la Peña |
Bug Description
Everytime that a record is deleted a trash db object is created so that the record can be moved there. It does not make sense to recreate all the time the instance when it can be stored as a class instance.
Related branches
lp:~mandel/desktopcouch/mock_db_for_records
- Eric Casteleijn (community): Approve
- Vincenzo Di Somma (community): Approve
-
Diff: 726 lines (+561/-28)4 files modifieddesktopcouch/application/server.py (+2/-2)
desktopcouch/records/database.py (+39/-25)
desktopcouch/records/tests/test_mocked_server.py (+519/-0)
desktopcouch/records/tests/test_server.py (+1/-1)
Changed in desktopcouch: | |
assignee: | nobody → Manuel de la Pena (mandel) |
Changed in desktopcouch: | |
status: | Confirmed → In Progress |
Changed in desktopcouch: | |
status: | In Progress → Fix Committed |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.