Issue Details (XML | Word | Printable)

Key: MBS-7704
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Ulrich Klauer
Reporter: Ulrich Klauer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server

Factor out entity treeness into a role

Created: 25/Jun/14 09:37 PM   Updated: 07/Jul/14 07:54 PM  Due: 07/Jul/14   Resolved: 07/Jul/14 07:54 PM
Component/s: Refactoring
Affects Version/s: None
Fix Version/s: 2014-07-07


 Description  « Hide

There are lots of entities now that have parents/children, child_order etc. On the model side, this is encapsulated in a role (MusicBrainz::Server::Data::Role::OptionsTree), but it's spelled out in every single entity class.



Sort Order: Ascending order - Click to sort in descending order
Ulrich Klauer added a comment - 26/Jun/14 01:15 AM
$ git diff --cached --stat
 ...
 25 files changed, 175 insertions(+), 584 deletions(-)