Closed Bug 274368 Opened 20 years ago Closed 20 years ago

On Enter Bug page (unguided), Sunbird and Calendar-Extension Front End is the default component for all products

Categories

(bugzilla.mozilla.org :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: danielwang, Assigned: justdave)

References

()

Details

Go to bugzilla.mozilla.org/enter_bug.cgi. Mouse over any product link and you
see Sunbird in every URL
Uhhh...   Shaver did this...  (before the upgrade actually)
Assignee: justdave → shaver
OK, this actually only affects products AFTER Calendar in the list.  All the
products above calendar don't have it.  Looks like he set the
"default_component" variable when he saw the Calendar product, but then never
cleared it.

(although looking at the template structure, that should have been a "temporary"
value scoped only to that invocation of the product description block, so I'm
not sure why it's doing that)
ok, figured it out, PROCESS gives the block the global variable tree to play
with.  If you use INCLUDE instead, the block only gets a copy of the variable
tree (and it goes out of scope when the block exits).

So calling the the product block with INCLUDE instead of PROCESS fixes it.
Assignee: shaver → justdave
fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
removing the link to the regressions bug, since this wasn't actually related to
the upgrade.
No longer blocks: bmo-regressions-0412
Status: RESOLVED → VERIFIED
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
You need to log in before you can comment on or make changes to this bug.