Closed (fixed)
Project:
Project issue tracking
Version:
5.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2007 at 04:48 UTC
Updated:
24 Dec 2008 at 20:32 UTC
The nice JS we have to automatically update the Version and Component fields for issues whenever you toggle the Project works fine when adding a new comment. However, when you first submit the issue, or go back and edit it, the JS doesn't work. Of course, we want to discourage editing issues to change stuff, anyway, but certainly for creating them, it'd be nice if this worked.
I confirmed this both on a clean d.o testing install profile site, and on d.o itself.
Comments
Comment #1
hunmonk commentedthis is due to the stupid renaming we have to do on the followup form to avoid namespace collisions with comment module's pid form field. IMO, this should be fixed properly along with the other namespacing issues in project/project issue.
postponing until those larger issues get fixed, which will make this fix simple (or unnecessary).
Comment #2
dwwsounds reasonable, thanks for clarifying the underlying problem.
Comment #3
dman commentedDoes clicking 'preview' help this a little?
It's an extra step, but it's a habit I'm used to when dealing with dependant selects etc.
Not a solution, but a work-around.
Comment #4
dwwSadly, no. It doesn't seem to update the component and version options on a preview when creating a new issue. :( That might be an unintended side-effect of #199138: Remove multipage form for issue nodes.
Comment #5
dwwThis is now fixed via #326419: validating Version and Assigned against potentially the wrong project. There's no longer a project selector when you create/edit an issue so this JS problem doesn't matter. ;)