Ticket #232 (new defect)
Including a Page with an category action leeds to wrong behavior of the action
| Reported by: | NilsLindenberg | Owned by: | JavaWoman |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | actions | Version: | 1.1.6.2 |
| Severity: | normal | Keywords: | category include action linktracking |
| Cc: |
Description
copied from SuggestionBox --NilsLindenberg
Um, I don't know how to describe this really. Put {{include page="Category Documentation"}} on the SandBox page....I can't figure out why it gives that output as Sandbox doesn't own anything.
- Looks like the weirdness is caused by the ""{{Category}}"" action which assumes the "current page" represents the category - and find pages "belonging to" a category by finding a mention of that page name. Good sign our category system does need an CategorySystemOverhaul! --JavaWoman
- Include pulls in a page that itself has the category action on it; the "official" version of this action assumes that the page it occurs on is a category. The experimental category action that is now active on this site no longer makes this assumption but recognizes that SandBox isn't a category page and defaults to the top category. See Sandbox for a an example (at this moment). --JavaWoman
- I can see that it now works, but what do you mean that it "recognizes that Sandbox isn't an action".....do you mean target page? --GmBowen
- Oops, sorry (corrected now) - I meant the new category action sees whether the page it's "sitting" on is a category page or not - if not it defaults to showing the list for the top-level category. --JavaWoman (aka IamBack)
Change History
Note: See
TracTickets for help on using
tickets.