Project

General

Profile

Bug #130

TreeModel/TreeEntity shouldn't have a slug field

Added by Stephen Burrows about 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Start date:
04/28/2011
Due date:
% Done:

0%

Estimated time:

Description

Currently, tree entities always have a slug field, because they were originally built as an abstract subclass for nodes and templates, which have slug-based paths. Shipherd navigation items are also tree-based entites, but with no need for a slug - and this is probably not the only such case. Since trees do not imply paths, it would make sense to make a TreeEntity that subclasses Entity and MPTTModel and then a separate PathModel/PathEntity that add the path-based functionality that relies on the slug.

History

#1

Updated by Stephen Burrows almost 13 years ago

  • Status changed from New to Resolved

Resolved with 21abe382ad825e1383dfb1299efc1201ddd1e1c0.

Also available in: Atom PDF