space Baylys
Just practicing to pass the Turing test.
space
space
space
space
Developer for Hire!
space
addedValues Plugin
space

Home

What's new

Bayly.Root

Cornershop Plugin

Career

edutools Root

Enhancements

Interests

linguist Plugin

Manila

Patches

space

mainresponder

manilaData

manilamacros

manilaSuite

space
space

admin

backups

discuss

gems

getCanonicalSiteName

hierarchyPage

hosting

html

mail

member

members

news

plugins

prefs

referer

renderNewsPage

rpcHandlers

rpcUtils

search

sendMail

siteStructure

staticRendering

space
space

convertFilename

convertUrl

discussCallback

displayRenderButton

drawNavigatorWithFiltering

filters

getRelativePath

getSuffix

patchLocalURLs

renderHierarchyPage

renderHomePage

renderPage

space

storyList

space

system

Patches by Group

Papers

Sales

Sign My Guestbook

User(land) Relations.

Contact Address

Search Baylys

urlchains

space
Join Now
Login
space space space

manilaSuite.staticRendering.discussCallback

If static rendering is mis-configured, the user may see a myterious error message, "Can't find a table called pt" after editing a page. This patch eliminates that error, which is a consequence of changing the page table address and not setting it back to the original in the event of a fault.

This patch remedies the problem and adds logging of the fault, which would otherwise be invisible except that static pages would not be rendered.

on discussCallback (adrMsgTable, adrSite=nil)
  «This is called when a dg message is new or changes, so Manila has a chance to render the page.
 unaltered lines omitted
 
  local (oldPta)
  try
 unaltered lines omitted
 
  bundle //get the address of the Manila site
 
  bundle //static rendering and auto-rendering must both be enabled
 
  try //maybe render this message, if it's part of a renderable page
 unaltered lines omitted
  else // 10/22/04; 10:46:54 AM by EDS incorporating DAB
 unaltered lines omitted
 
  if oldPta != nil
 unaltered lines omitted
 
  return (true)

Relative to Frontier version 9.7b10