Branch: Tag:

2008-05-08

2008-05-08 15:17:33 by Martin Stjernholm <mast@lysator.liu.se>

Avoid false alarms about creating tag sets during rxml evaluation from
within the admin interface. Fixes [bug 4499 (#4499)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.365
Rev: server/modules/configuration/config_filesystem.pike:1.115

2:   //   // Created 1999-07-30 by Martin Stjernholm.   // - // $Id: module.pmod,v 1.364 2008/05/07 10:57:26 mast Exp $ + // $Id: module.pmod,v 1.365 2008/05/08 15:17:33 mast Exp $      // Kludge: Must use "RXML.refs" somewhere for the whole module to be   // loaded correctly.
658:    //! need to do that then you should probably take a look at    //! @[Frame.parent_frame] instead.    { -  if (RXML_CONTEXT) { +  if (RXML_CONTEXT && +  (!RXML_CONTEXT->id || +  !RXML_CONTEXT->id->misc->disable_tag_set_creation_warning)) {    report_debug (    "Warning: Tag set %O in %O created during RXML evaluation.\n"    "This doesn't work with p-code generation and should be avoided.\n",