Modify

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#4535 closed defect (fixed)

Using TracUriRoot with mod_python and multiple projects prevents access to add page

Reported by: anonymous Owned by: Radek Bartoň
Priority: normal Component: ScreenshotsPlugin
Severity: critical Keywords: screenshots
Cc: Trac Release: 0.11

Description

If you have

PythonOption TracEnvParentDir "/srv/trac" PythonOption TracUriRoot "/trac"

then the add page doesn't show up when you click the Add button on the screenshots page. If you remove the TracUriRoot option the Add page shows up but the Uri's for multiple project don't work properly.

Attachments (0)

Change History (8)

comment:1 Changed 16 years ago by Radek Bartoň

Status: newassigned

I know, it was some older ticket, but I don't know how to fix it and even if it is bug or feature?

comment:2 Changed 16 years ago by anonymous

I'd like to be able to use Screenshots in this configuration. I will see if I can collect more info on it and work out or help you work out a fix as I have time. Previous bugs about it didn't appear to mention the TracParentEnv and TracUriRoot. I'm also running under a virtual host setup in apache.

Please leave the issue open and I'll data as I have time to work on it.

comment:3 Changed 16 years ago by Christian

Cc: gtvXIanQMCmTLtiR added; anonymous removed
Keywords: RpkNuVtrCyda added

comment6,

comment:4 Changed 16 years ago by MisterDai

Cc: anonymous added; gtvXIanQMCmTLtiR removed
Keywords: screenshots added; RpkNuVtrCyda removed

I'm suffering from the same issue. Managed to add a screenshot when I only had the one project and didn't have the project index working. Once I fixed the multiple project index page I found that I couldn't add anymore screenshots. Basically rendering the plugin useless.

comment:5 Changed 15 years ago by Johannes Weberhofer

Did you have any time to have a look on that issue?

comment:6 Changed 15 years ago by Radek Bartoň

No, sorry.

comment:7 Changed 15 years ago by Radek Bartoň

Resolution: fixed
Status: assignedclosed

OK, wasn't so hard as I was affraid of. For some reason unknown to me, mod_python can't handle action="/screenshots" in form tags. Changeset r7481 should fix that. Please test it and sorry for the delay.

comment:8 Changed 15 years ago by Radek Bartoň

Update once more, please. r7481 wasn't really proper way how to fix this and even introduced another bug on screenshot's html view. r7486 should fix that.

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.