Ticket #3300 (closed defect: fixed)

Opened 6 months ago

Last modified 2 weeks ago

The /wiki/WikiStart contex must be treated.

Reported by: anderson@ultraserver.com.br Assigned to: rharkins
Priority: low Component: TracFormsPlugin
Severity: minor Keywords: tracforms-0.2
Cc: Trac Release: 0.11

Description

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,

Anderson

Attachments

Change History

07/01/08 12:55:13 changed by rharkins

  • keywords set to tracforms-0.2.
  • priority changed from high to low.
  • status changed from new to assigned.
  • severity changed from critical to minor.

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:

{{{
#!TracForm
#! 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.

Thanks!

07/05/08 13:41:44 changed 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.

07/05/08 13:44:37 changed by anonymous

  • status changed from assigned to closed.
  • resolution set to fixed.

Add/Change #3300 (The /wiki/WikiStart contex must be treated.)




Change Properties
Action