Setting component=* for /newticket does not work #4754
Comments
Author: skyper Replying to [ticket:4754 skyper]: Why can I not edit ticket description of which I am the reporter ?
Sorry, wiki:TracTickets#PresetValuesforNewTickets |
Author: TomH I think this is a side effect of the javascript hack we use to ensure that no component is selected by default. I did try and fix it but have so far been unable to do so. |
Author: ppawel[at]fastmail.fm I'm 99% positive that it has been fixed some weeks ago in #4714 after I reported it. |
Author: TomH Well the file hasn't changed since 10th December and there is no sign of anything in the code in there that would have fixed this. The basic problem is that I can't find a way in javascript to reliably tell the difference between an that has been selected by default because it is the first in the list and one which has an explicit "selected" attribute. |
Author: ppawel[at]fastmail.fm Perhaps you could check if there's the "component" parameter in the query string and only if there's not, you add the empty option? |
Author: TomH Well I was trying to avoid having to parse the URL because there is no easy way to do that in Javascript! |
Author: TomH Right. I think I managed to fix this - well it works in Firefox anyway... |
Author: skyper Does not work for me on Debian 7.0. Tested with:
|
Author: ppawel[at]fastmail.fm Confirmed not working in Chromium... |
Reporter: skyper
[Submitted to the original trac issue database at 4.37pm, Wednesday, 23rd January 2013]
All the new ticket links on the front page do not really work as the component is not set although the syntax seems to be OK.
According to wiki:TracTicket this should work:[[BR]]
/newticket?summary=Compile Error&version=1.0&component=wiki
I miss a component trac or is this admin ?
Cheers
The text was updated successfully, but these errors were encountered: