Closed Bug 303274 Opened 19 years ago Closed 19 years ago

Crash on attachment when logged out

Categories

(Bugzilla :: Attachments & Requests, defect)

2.20
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 299405

People

(Reporter: Wurblzap, Unassigned)

References

()

Details

When being logged out, attaching a file crashes with
"undef error - Undefined subroutine Fh::slice at
data\template\template\en\default\global\hidden-fields.html.tmpl line 59".
Happens on 2.20rc1 and trunk.

Steps to reproduce:
1. Go to
http://landfill.bugzilla.org/bugzilla-tip/attachment.cgi?bugid=1732&action=enter
2. Make the login cookie invalid (it happened to me because of a rotating
   proxy, but you can reproduce by opening the log out link in a new window)
3. Select a file (say, ant.jpg)
4. Give a description
5. Select auto-detect
6. Hit submit
Slice was introduced in bug 238878. I think this error happens because slice can't be used on a filehandle which gets used when there's an intermediate screen. Bug 87404 fixed this for user matching and bug 299405 was opened to handle login case.

*** This bug has been marked as a duplicate of 299405 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.