Modify

Opened 10 years ago

Closed 9 years ago

#2159 closed defect (worksforme)

Menu shortcut is not working

Reported by: vic@… Owned by: edunne
Priority: normal Component: TestCaseManagementPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

I have trac installed and configured ok with apache, all works nice.

I install testcasemanagement and configure it as the documentation. I can show a new menu entry but the link it has is incorrectly, if i set the URL directly at hand on my browser, all WORKS ok,

The link i can show on the menu is http://trac.myserver.com/testmanagement/ (obviously this url doesn't work) , and the link i must show is http://trac.myserver.com/myproject/testmanagement/ .

Regards

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by Coffman

A workaround to fix this is to make the next:

Try setting base_url in the [trac] section of your TracIni file. Without a request object, Trac relies on this setting to reconstruct URLs, so you'll need it anyway.

As another user points.

comment:2 Changed 10 years ago by edunne

did setting the base_url in the trac.conf file fix this issue?

comment:3 Changed 10 years ago by anonymous

actually I haven't tried the plugin yet with 0.11. So let me know if you hit any 0.11 specific issues.

comment:4 in reply to:  1 Changed 9 years ago by Phil Mocek <pmocek-trac-hacks@…>

Replying to Coffman:

Try setting base_url in the [trac] section of your TracIni file.

Also note that base_url must not include a trailing slash. If it does, links to "Create Test Run from mainline" etc. will be constructed in such a manner that Trac will complain of not having a handler for "testcasemanagement".

comment:5 Changed 9 years ago by edunne

Resolution: worksforme
Status: newclosed

ok I haven't heard back about this issue so I'm closing it.

Looks like it was just a config issue anyway.

Modify Ticket

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