Modify

Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#181 closed defect (fixed)

Delete action has wrong path

Reported by: movex@… Owned by: Blackhex
Priority: normal Component: GuestbookPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

If I want to delete an entry, I get "requested path not found"

I think this happens when your Trac installation is not on http://domain but http://domain/trac

So path declaration should be relative.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by movex@…

  • Resolution set to fixed
  • Status changed from new to closed

Instead of:

          <th class="right">
            <a href="/guestbook?action=delete;id=<?cs var:message.id ?>">
              Delete
            </a>

use:

          <th class="right">
            <a href="<?cs var:trac.href.guestbook ?>?action=delete;id=<?cs var:message.id ?>">
              Delete
            </a>

comment:2 Changed 9 years ago by Blackhex

Yes, off course - fixed in svn

Add Comment

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.