00084: `PageNotFound when no group homepage

Summary: PageNotFound when no group homepage
Created: 2004-10-09 07:49
Status: Closed
Category: Feature
From: PRZ
Priority: 43
Version: 2.0 Devel11

Description: When you create a new group (by creating a subpage to this newgroup), trying to access the newly created group fails, because there is no HomePage. This is normal, but instead of proposing to create a new HomePage either NewGroup.HomePage or NewGroup.NewGroup, it create the page PageNotFound in the DefaultGroup.

That also fails if the HomePage exists...

One part of the problem may be that $DefaultTitle have been replaced by $DefaultName, but replacing the variable don't solve the problem...

Problem solved temporarily for existing groups by creating a page with the same name as the group for each group...

Ummm, I don't understand the issue here--especially the part that says "it create[s] the page PageNotFound in the DefaultGroup", because it just jumps to that page--it doesn't "create" it.

What *should* happen in this case? --Pm

Create the HomePage and open it, no ? The question is : Shall this homepage named : ThisGroup.ThisGroup or ThisGroup.HomePage ?

PRZ October 22, 2004, at 02:57 PM

I'm not sure that this qualifies as a "bug", because PmWiki is doing what I expect it to when it receives a name that it can't positively identify with an existing page or group. Having it default to creating a new group home page is likely incorrect--it will tend to confuse new readers/authors who simply mistyped a group name in the URL.

However, site administrators can easily modify PmWiki's default so that it does automatically create a new group home page by default--I can write up a Cookbook entry for this if desired. --Pm