Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »

Right now the "kApplication::QuickRun" method does this:

  • discards any previously parsed template content
  • renders current template (obtained via "GetVar" call) content instead

This isn't very flexible.

Solution

  1. change "kApplication::QuickRun" method by adding an optional "$template" parameter (when passed set it's value into "t" parameter of Web Request, that is used later anyway)
  2. move the "404" HTTP header sending out from "kUrlManager::prepare404" method into:
    • "kUrlManager::show404" method
    • "kRewriteUrlProcessor::parseRewriteURL" method (add else, when not caching url)
  3. inline what's left of "kUrlManager::prepare404" method into "kRewriteUrlProcessor::parse" method (where inlined method was used)
  4. change "kApplication::QuickRun" method to do "SetVar" on "t" and "m_cat_id" Web Request parameters as "kUrlManager::show404" did before

Related Discussions

Related Tasks

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.

  • No labels