Summary: | can't add attachment - Internal Error | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Iain Buchanan <iaindb> |
Component: | Bugzilla | Assignee: | Jeffrey Forman (RETIRED) <jforman> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | jakub, mail, mcummings, pfrank |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.mozilla.org/show_bug.cgi?id=299405 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
junk
attachment.html testing attachments testing again testing |
Description
Iain Buchanan
2005-11-07 15:36:43 UTC
I should add that I get taken to the log in page almost every time I do anything on bugzilla... even after submitting this bug I was taken there, and had to log in before I saw the "bug submitted" page. looks like you might need to check your browser. if you load up the bug you referred to, i just posted a file. i would try with another browser. -jeffrey Created attachment 72471 [details]
junk
Testing with internet explorer
Sorry to be a pain, but it doesn't work for me. I tried mozilla-firefox 1.0.7 mozilla 1.7.12 Gnome epiphany 1.8.2 links 2.1pre19 from http://links.twibright.com/. and even Internet Explorer from a different machine. Each one had the same behaviour - they took me to the log in page after I selected "create new attachment" and then again to the login page when I selected "submit" after which I got the same "No File Specified" with each. (The only exception was internet explorer which took me to a strange "Locate attachment" page, and it looks like it attached something...) Each one had cookies enabled. On each log-in I selected "remember me" Bugzilla upgraded, reopen if this is still a problem. uh-oh :) I tried to test the attachment thing agian, and this time I get a Bugzilla "internal error" (Plain text): Internal Error Bugzilla has suffered an internal error. Please save this page and send it to bugzilla@gentoo.org with details of what you were doing at the time this message appeared. URL: http://bugs.gentoo.org/attachment.cgi undef error - Undefined subroutine Fh::slice at data/template/template/en/custom/global/hidden-fields.html.tmpl line 58 Bugzilla Version 2.20+ I did not appear to be logged in according to this error page (even though I did log in). I'll _try_ and attach the html, but if that doesn't work I'll post it. I'm now using Firefox 1.5-r4 Sorry for the spam, but I can't attach it (I get the same error :) Thanks for looking at it btw. Here is the html with some blank lines removed. Apologies if any of you are reading this in an html email client :> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Internal Error</title> <link rel="Top" href="http://bugs.gentoo.org/"> <script type="text/javascript"> <!-- function initHelp() {} // --> </script> <link href="skins/standard/global.css" rel="stylesheet" type="text/css"> <link href="skins/custom/global.css" rel="stylesheet" type="text/css"> </head> <body onload="" class="bugs-gentoo-org"> <div id="banner"> <p id="banner-name"> <span>This is Bugzilla</span> </p> <p id="banner-version"> <!-- <a href="http://www.bugzilla.org/"><span>Bugzilla</span></a> <span>Version 2.20+</span> --> <a href="http://www.gentoo.org/">Home</a> | <a href="http://www.gentoo.org/doc/en/index.xml">Docs</a> | <a href="http://forums.gentoo.org/">Forums</a> | <a href="http://www.gentoo.org/main/en/lists.xml">Lists</a> | <a href="http://bugs.gentoo.org">Bugs</a> | <a href="http://planet.gentoo.org">Planet</a> | <a href="http://store.gentoo.org">Store</a> | <a href="http://www.gentoo.org/news/en/gwn/gwn.xml">GWN</a> | <a href="http://www.gentoo.org/main/en/where.xml">Get Gentoo!</a> </p> <div class="outro"></div> </div> <div id="header"> <h1>Internal Error</h1> </div> <tt> <p>Bugzilla has suffered an internal error. Please save this page and send it to bugzilla@gentoo.org with details of what you were doing at the time this message appeared. </p> <script type="text/javascript"> <!-- document.write("<p>URL: " + document.location.href.replace(/&/g,"&") .replace(/</g,"<") .replace(/>/g,">") + "</p>"); // --> </script> </tt> <table cellpadding="20"> <tr> <td bgcolor="#ff0000"> <font size="+2">undef error - Undefined subroutine Fh::slice at data/template/template/en/custom/global/hidden-fields.html.tmpl line 58 </font> </td> </tr> </table> <div id="footer"> <div class="intro"></div> <form method="get" action="show_bug.cgi"> <p class="version"><a href="http://www.bugzilla.org/">Bugzilla</a> Version 2.20+<br> <div id="useful-links"> <div id="links-actions"> <div class="label">Actions:</div> <div class="links"> <a href="./">Home</a> | <a href="enter_bug.cgi">New</a> | <a href="query.cgi">Search</a> | bug # <input class="txt" name="id" size="6"> <input class="btn" type="submit" value="Find"> | <a href="report.cgi">Reports</a> | <a href="request.cgi">Requests</a> | <a href="createaccount.cgi">New Account</a> | <a href="index.cgi?GoAheadAndLogIn=1">Log In</a> </div> </div> <div id="links-saved"> <div class="label"> </div> <div class="links"> </div> </div> </div> </form> <div class="outro"></div> </div> </body> </html> Created attachment 77327 [details]
attachment.html
Testing attachment
As you can see, attaching works just fine. Viewing produces a stupid error: <snip> undef error - Undefined subroutine Fh::slice at data/template/template/en/custom/global/hidden-fields.html.tmpl line 58 </snip> Should be probably reported upstream. I have also tried adding a attachment and I also get "undef error - Undefined subroutine Fh::slice at data/template/template/en/custom/global/hidden-fields.html.tmpl line 58" *** Bug 125736 has been marked as a duplicate of this bug. *** Had the same problem adding a simple patch file, no HTML/XML elements present. The only way it would be accepted was to ensure the 'Patch' box was left unchecked & to choose it as 'Plain text (text/plain)' Behaviour is identical in both Firefox + Konqueror. Attachments seem to work for me now - I've attached a few over the last few weeks... can others confirm / deny they're working for them too? (In reply to comment #13) > Attachments seem to work for me now - I've attached a few over the last few > weeks... Well, mind you this seems _very_ specific for some types of attachments only. Do you mean that same attachments that failed for you work now? Like, the one in Comment #7? Created attachment 96050 [details]
testing attachments
Created attachment 96051 [details]
testing again
(In reply to comment #14) > Well, mind you this seems _very_ specific for some types of attachments only. hmm, I had the problem with everything I ever tried to attach, but then that wasn't a whole lot... > Do you mean that same attachments that failed for you work now? Like, the one > in Comment #7? I tried to reproduce what I would have attached in comment #7, by saving a page with firefox and then attaching it, but as you can see it worked. If anyone has a file on their system that they know fails, then please email it to me and I will try and attach it. But so far, for me it works... OK, thanks. Closing for now. Created attachment 103903 [details]
testing
another test... think it's borked again...
*** Bug 159366 has been marked as a duplicate of this bug. *** Upstream bug; we definitely won't solve this... https://bugzilla.mozilla.org/show_bug.cgi?id=299405 Marking as such... which is my other problem this morning - suddenly every page i go to in bugzilla seems to be generating a unique cookie ('cause i have a good dozen+ now from today alone). but that's fodder for another bug report ;) *** Bug 163379 has been marked as a duplicate of this bug. *** In case it's still not clear; if this happens to you, then either - your login expired or your browser is not accepting cookies properly - or you've added something bogus to CC field (incomplete/malformed/too fuzzy entry) *** Bug 184835 has been marked as a duplicate of this bug. *** |