post_bug.cgi doesn't seem to pass the bug_list parameter to the created.html.tmpl template, so when navigate.html.tmpl is called in turn, a warning about undefined bug_list.size is issued. I have a patch proposal, attaching it soon.
Actually, it seems to me that navigation doesn't really make sense on that page. The New and Query links are in the footer anyway, and you aren't in a train of bugs at this point. I counter-propose we remove the call to the navigate template from created.html.tmpl. Gerv
The current code will show you the first bug in the list, but I don't really think that that is useful. Hmm
Removing the use of navigate sounds right to me. Who added it there?
Created attachment 81454 [details] [diff] [review] Patch v.2 Not sure. It is not there currently? Anyway, patch to remove it. Gerv
Attachment #81406 - Attachment is obsolete: true
Hmm yeah, you guys are right. The navigation should rather be removed. I still think the view after post_bug is not optimal (the lack of some sort of navigation is nevertheless a problem in some situations), but I'll file another bug with a decent proposal on that some day.
>I still think the view after post_bug is not optimal (the lack of some sort of >navigation is nevertheless a problem in some situations), but I'll file another >bug with a decent proposal on that some day. I agree. Users often want to do more with a bug once they file it, not to mention assuring themselves that they filed the bug correctly, so we should show them the bug they just filed.
Created attachment 81555 [details] [diff] [review] Patch v.3 This seems like the right thing to do. Wow - the power of templates. A massive change like this is so little code... Gerv
Attachment #81454 - Attachment is obsolete: true
OS: Windows 2000 → All
Hardware: PC → All
Comment on attachment 81555 [details] [diff] [review] Patch v.3 Oooh, people are gonna love this one. :-) r= justdave
Comment on attachment 81555 [details] [diff] [review] Patch v.3 Looks good, and works for me. r=afranke
Fixed. Thanks, guys :-) Checking in template/en/default/bug/create/created.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/create/created.html.tmpl,v <-- created.html.tmpl new revision: 1.4; previous revision: 1.3 done Checking in template/en/default/bug/process/results.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/process/results.html.tmpl,v <-- results.html.tmpl new revision: 1.3; previous revision: 1.2 done Checking in post_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/post_bug.cgi,v <-- post_bug.cgi new revision: 1.51; previous revision: 1.50 done Gerv
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.