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

Gert van der Spoel gert at 3edge.com
Wed Jul 9 12:40:52 UTC 2008



> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of Mike Heins
> Sent: maandag 7 juli 2008 17:23
> To: interchange-users at icdevgroup.org
> Subject: Re: [ic] IC 5.6.0 parse_page: Error parsing page. - Possible
> Bug
> 
> 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.

The patch has been done in the stable 5.6 branch and also the current
development tree.

CU,

Gert




More information about the interchange-users mailing list