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 suppressed http://www.alamerce.nleCommerce Solutions -- Consulting -- Website & Interchange Hosting
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.