Opened 14 years ago

Closed 14 years ago

Last modified 6 years ago

#3300 closed defect (fixed)

The /wiki/WikiStart contex must be treated.

Reported by: anderson@… Owned by: Rich Harkins
Priority: low Component: TracFormsPlugin
Severity: minor Keywords: tracforms-0.2
Cc: Trac Release: 0.11


HI again,

I was taking a look on the database and if you put an form on the main wiki page (that, depending on the link the context and be /wiki or /wiki/WikiStart) and the plugin create two records for the same form. This kind of context must be treated. Something like this to prevent two contexts "id´s" and two forms for the start page:

if (context = "/wiki") then context = "/wiki/WikiStart";

Thanks in advance,


Attachments (0)

Change History (3)

comment:1 Changed 14 years ago by Rich Harkins

Keywords: tracforms-0.2 added
Priority: highlow
Severity: criticalminor
Status: newassigned

Hmmmm... I have to wonder if there any cases where Trac can be configured to send the user to something other than WikiStart. If so, then such an alteration may have hidden issues.

One thing I'm curious about is how prevalent a case it is to link to both /wiki and /wiki/WikiStart ultimately. Considering the following work around as well for the page:

#! page /wiki/WikiStart



The page command instructs TracForm to use the page indicated instead of the URL (see TracFormsPlugin/Syntax for details and other tricks). Because of the complexities that could be opened up if WikiStart is not guaranteed to be the target and because there is a work around, I'm going to have to lower the priority/severity for now.

That said, I think it a necessary improvement at some point (probably within the currently released 0.2 series). I just want to make sure the details get nailed down first.


comment:2 Changed 14 years ago by anonymous

I did some digging into the Trac source code and (at least for now) it appears that the /wiki will always forward to /wiki/WikiStart and isn't configurable in any other way. So until someone files a bug that would contradict this, I'm going to run with your suggestion and make the two act the same.

comment:3 Changed 14 years ago by anonymous

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Rich Harkins.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.