Closed
Bug 942401
Opened 12 years ago
Closed 9 years ago
Nested KumaScript macros sometimes have caching issues
Categories
(developer.mozilla.org Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: sheppy, Unassigned)
Details
(Whiteboard: [specification][type:bug])
What did you do?
================
Created two macros -- SubpageMenuByCategories and SubpagesWithSummaries. The former calls through to the latter using the template() kumascript call.
What happened?
==============
Sometimes, the output from the SubpagesWithSummaries command is "sticking", not updating even though I've revised its code. It appears that SubpagesMenuByCategories is using cached output from the sub-macro, even after the sub-macro has been edited.
What should have happened?
==========================
If a macro has been changed, cached values mustn't be re-used. This is particularly important in this scenario, because it makes it nearly impossible to debug (especially since if the sub-macro has KumaScript bugs, you won't see error messages).
Is there anything else we should know?
======================================
| Reporter | ||
Comment 1•12 years ago
|
||
If context for what these macros output is useful, see https://developer.mozilla.org/en-US/docs/Web/Guide/HTML for example.
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•