Closed Bug 161446 Opened 23 years ago Closed 22 years ago

undef error in globals.pl after updgrade to 2.16

Categories

(Bugzilla :: Bugzilla-General, defect, P2)

2.16
x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pohl, Assigned: justdave)

Details

After upgrading 2.16rc2 to 2.16 using 'cvs update -rBugzilla-Stable -dP' and './checksetup.pl', I got the following error message when opening index.cgi: "Bugzilla has suffered an internal error. Please save this page and send it to admin@server with details of what you were doing at the time this message appeared. URL: http://server/bugzilla/index.cgi undef error - Can't use string ("") as a HASH ref while "strict refs" in use at globals.pl line 1486. " This is critical, because it's a complete show-stopper for bugzilla. Reverting back to 2.16rc2 and doing ./checksetup.pl again still worked fortunately.
That error message is odd.. The tag is Bugzilla_Stable, not Bugzilla-Stable (aka BUGZILLA-2_16) I think that thats just a typo, though. Can you try to work out who is calling PerformSubsts with a strange argument (and what that argument is)
You're right about that typo, Bradley. I'll give it another try but that will take a while since it's a productive system and I'll have to find a backup machine for testing... Just an idea: Could it be that I tested the upgrade using the same browser session from which I was previously logged into the pre-upgrade version of bugzilla?
It's exactly as I suspected: My Browser still had a session with the old Bugzilla 2.16rc2 and the new 2.16 got confused when my browser tried to use the old (invalid) credentials. So, it's not really a bug, but some clarifying remarks about that issue in the upgrade guide http://www.bugzilla.org/download.html would be greatly appreciated!
Hmm. That shouldn't make a difference, though - the old session should even still be valid from rc2. Can you track down why this is happening?
> Can you track down why this is happening? Not any more. It's working now =8) Maybe I find the time to setup another bugzilla 2.16rc2 from CVS and update it to 2.16 in the same fashion. Meanwhile, I don't have the slightest clue about what's causing the error...
Didn't have the time to set up a test system for replaying these problems yet. But other users of my bugzilla installation encountered the same 'undef error' even after the clean upgrade. A simple relogin helped them, though. Maybe something wrong with the cookies?
Can you find a user who hasn't experienced this yet, and then find out what value is being substituted when it dies?
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.18
Update: the problem seems to relate to my modified template/en/custom/index.html.tmpl and it occures only for logged in users. Header and footer are always displayed correctly. I just have to find out what's different in my template compared to the default version...
pohl@rn.inf.tu-dresden.de: any luck tracking this down, or can we close this bug? Gerv
over 2 weeks since request for update, no response from reporter. Last comment from reported was 6 months ago. Seems no one else has reproduced it... -> WORKSFORME
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Target Milestone: Bugzilla 2.18 → ---
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.