Summary: | "Add Archs" does nothing because add_arches() does not find addarches list. | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | Bugzilla | Assignee: | Jeffrey Forman (RETIRED) <jforman> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
enter_bug.cgi?product=Gentoo%20Linux
Screenshot of "Add Archs" button without a list of archs next to it |
Description
Martin von Gagern
2006-03-12 10:29:29 UTC
Works fine here (I assume you mean http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux) <duh mode on> - You need javascript enabled in your browser :) - You need to actually select something before clicking on the button :) <duh mode off> Otherwise, probably a browser bug, but you didn't include any info about your browser. Created attachment 81996 [details] enter_bug.cgi?product=Gentoo%20Linux Yes, I'm talking about adding a bug to e.g. Gentoo Linux. This is mozilla-firefox-1.5.0.1. I do have javascript enabled. There is this function add_arches() in the source code of the page. > for(i=0;i<document.Create.addarches.options.length;i++) { document.Create is the main bug submission form, all right there. But this form does not contain an element named "addarches". So I get this JavaScript error message: "document.Create.addarches has no properties". I attached the HTML page as it is displayed for me. (In reply to comment #2) Works just fine here with exactly the same browser. Maybe you are using some broken plugin that breaks javascript? Created attachment 82019 [details] Screenshot of "Add Archs" button without a list of archs next to it (In reply to comment #3) > Works just fine here with exactly the same browser. What does work, only the live page, or the attachment as well? > Maybe you are using some broken plugin that breaks javascript? I just tried with konqueror, same thing happens. And as I explained, I also had a look at the HTML and JS sources and agree that this cannot work, so the problem is server sided, not client sided. Maybe it's got to do with permissions. Maybe you have some privileges I don't have, and the list of archs is only included in the page if you have this privilege, but the "Add Arch" button is always displayed? I /suppose/ that there should be a list of archs right next to the "Add Archs" button. For me there is no such list, I documented this in the attached screenshot. I would think this is the place where I "need to actually select something" (comment #1), correct? (In reply to comment #4) > Created an attachment (id=82019) [edit] > Maybe it's got to do with permissions. Maybe you have some privileges I don't > have, and the list of archs is only included in the page if you have this > privilege, but the "Add Arch" button is always displayed? Ah, looks like that, I tried w/ a fresh test account and see the same thing. Funny. This was my fault. I had the "if/then" blocks not encompassing enough. Should be good to go now. |