Modify

Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#181 closed defect (fixed)

Delete action has wrong path

Reported by: movex@… Owned by: Radek Bartoň
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 11 years ago by movex@…

Resolution: fixed
Status: newclosed

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 11 years ago by Radek Bartoň

Yes, off course - fixed in svn

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
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.