Bug 41425 - move core functionality from default pub into core
Summary: move core functionality from default pub into core
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Default Publication (show other bugs)
Version: Trunk
Hardware: Other other
: P2 normal
Target Milestone: 2.0.1
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-20 08:56 UTC by J
Modified: 2007-11-05 11:30 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J 2007-01-20 08:56:42 UTC
it should be possible to create a new empty publication that is not based on the
default pub, without getting errors.
as it is now, some functionality that is assumed by the core is implemented in
the default pub only, which is not good. we should identify those cases and
provide very basic implementations in the core (such as a boilerplate
publication sitemap and menu generation code).
Comment 1 Andreas Hartmann 2007-01-23 09:19:02 UTC
IMO this is not a good idea. Publication code belongs into the publication. Too
many assumptions endanger the framework approach of Lenya.

I'd rather provide another minimal template publication to get started.
Comment 2 J 2007-01-24 02:08:11 UTC
well, i agree in principle. *but* i still think that a publication that is not
based on any template should not be throwing errors, even if it is almost
non-functional. but that may be an instantiation issue (iiuc, the default
publication instantiator makes assumptions about functionality provided by the
default pub - maybe it shouldn't.)

alternatively, we could provide a minimal base publication as you suggest.

Comment 3 J 2007-11-05 11:30:53 UTC
i'm working on such a minimal base publication (in fact it's what i base all my
production publications on), and i think we can easily tackle this issue for 2.0.1.