[ic] IC 5.6.0 parse_page: Error parsing page. - Possible Bug

Mike Heins mike at perusion.com
Mon Jul 7 14:23:12 UTC 2008


Quoting Gert van der Spoel (gert at 3edge.com):
> --- ContentEditor.pm    2008-07-07 06:51:13.000000000 +0200
> +++ /opt/site/cvs/interchange/dist/lib/UI/ContentEditor.pm      2008-04-24
> 11:07:57.000000000 +0200
> @@ -2881,7 +2881,12 @@
> 
>         save_store('page', $name, $pref);
> 
> -       parse_page($pref, $opt);
> +       ## If returns false then must be error or not editable
> +       parse_page($pref, $opt)
> +               or do {
> +                       Vend::Tags->error({ name => 'parse_page', set =>
> "Error parsing page." });
> +                       return;
> +               };
> 
>         publish_page($pref, $opt) if $opt->{new};
> 
> 

I think this is reasonable to do.

They say a man should be able to shoot his own dog, and that means
you had better make the patch in 5.6 stable. Because this dog is going
to be shot in the current CVS tree.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun



More information about the interchange-users mailing list