Opened 11 years ago
Closed 11 years ago
#25291 closed defect (bug) (fixed)
get_*_template() functions are way too presumptuous
Reported by: | wonderboymusic | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 1.5 |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description
Most of the get_*_template()
functions blindly trust that the result of get_queried_object()
is perfect when non-null. This is not the case, unit tests are blowing up when in debug mode because the queried object does not contain properties of the assumed context.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 25386: