Feature blocks and RPC can currently return an unpublished node, the link to which will fail. These should be removed from:

  • the random entry block and RPC
  • the autocomplete textfield in WOTD
  • the top n block and RPC

Comments

fgm’s picture

Status: Active » Fixed

Fixed in the version dated 2005-12-25

  • Random: RPC no longer returns unpublished entries, hence block never displays one
  • Autocomplete no longer returns unpublished entries, hence they are not selectable in AJAX. However they can still be keyed in manually, in which case the WOTD block will display it, so as not to limit the webmaster's ability to bypass this safety check if he so wishes.
  • Top n: RPC still returns them, because it can happen that a top n entry has been removed from publication, but it still is in the top n. RPC return now includes the published status. Block displays unpublished entries as "offline" and without a link.
Anonymous’s picture

Status: Fixed » Closed (fixed)