TireSwingSoftware/openassign-server — Issue #74: Remove custom M2M behavior from TaskBundleManager
Author: mhrivnak
Created: 2012-01-12 04:46:40+00:00
State: open
Labels: behavior

It appears that someone caused the TaskBundleManager to have unique behavior when it comes to managing the many-to-many relationship with tasks. That relationship involves a through table. Our API (get_filtered(), update(), etc) is fully capable of managing the relationship including the attributes on the through table. Furthermore, the UI expects to manage this relationship like any other, and this custom behavior would be a pain in the ass to use.

Therefore, we must remove the special behavior:

* replace custom getter and setter with the generic versions
* remove custom code in create() method
* rewrite tests to use our normal API. Search for any test using "task_bundle_manager"