[ic] parse_page: Error parsing page.

Ton Verhagen tverhagen at alamerce.nl
Wed Feb 14 14:37:48 EST 2007


Quoting Ton Verhagen (myself)
At 04:58 PM 2/14/2007, you wrote:
>Dear All,
>
>Creating new pages in the latest CVS version of IC
>results in an "parse_page: Error parsing page" error.
>
>This can be duplicated in de live demo.


The latest change to ContentEditor.pm can't be correct imho
as the parse_page routine returns an array of component names
(@compnames) see line 689 of ContentEditor.pm

This array could be empty of course and thus causing the test to fail...
resulting in the ever present "parse_page: Error parsing page" error.


5c5
< # $Id: ContentEditor.pm,v 2.18 2006/05/04 20:07:32 mheins Exp $
---
 > # $Id: ContentEditor.pm,v 2.17 2005/11/08 18:14:44 jon Exp $
27c27
< $VERSION = substr(q$Revision: 2.18 $, 10);
---
 > $VERSION = substr(q$Revision: 2.17 $, 10);
650,653d649
<       if($scratches->{not_editable} and $vals->{not_editable}) {
<               return death('controls', "Not editable page");
<       }
<
2879,2886c2875
<
<       ## 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;
<               };
<
---
 >       parse_page($pref, $opt);





Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 




More information about the interchange-users mailing list