Modify

Opened 7 years ago

Closed 7 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 follow-up: Changed 7 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 7 years ago by edunne

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

comment:3 Changed 7 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 7 years ago by Phil Mocek

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 7 years ago by edunne

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

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

Looks like it was just a config issue anyway.

Add Comment

Modify Ticket

Action
as closed .
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.