Hi Jian. The page (and template before it) was imported from another project. There were no deletes, and there are hundreds of working instances, so I don't think it was the template code.
I wrote it off to an import gremlin. Richard. -----Original Message----- From: "Jian Huang" <[email protected]> Sent: 25/10/2013 2:29 To: "[email protected]" <[email protected]> Subject: Re: PageBuilder error in CMS 10.1 Hi Richard, I think I have seen that before. Do you have an info placeholder some where in the page with properties like Content: PAGE: URL of Page Project Variant: HTML Language Variant: English Sometimes, when one deletes a project variant or language variant, in this case, say I deleted English, but for that info placeholder on that page, it remains English selected, but English variant is no more, hence error. Have you had a chance to delete code until the error goes away to narrow down to the line of code that gave the error? -Jian On Tuesday, October 22, 2013 2:01:00 AM UTC-4, Richard Hauer (5 Limes) wrote: For the record the problem has been resolved by deleting the page and creating a new one. That is hardly solving the problem, though, and I would definitely be interested in any leads anyone may have that could help to pinpoint the issue, as I'm sure I'll hit another one soon enough. Richard. On Tuesday, October 22, 2013 1:38:04 PM UTC+11, Richard Hauer (5 Limes) wrote: Hi all, strange one here. I have a Content Class where some instances, in some languages, returns the error An error occured: PrepareTemplateVariantElements: ERROR#0, , Line 0 when you open the page for editing in SmartEdit. The page also refuses to publish. Other instances of the Content Class behave normally, including the same instance in another language. That makes me think the issue is related to language-specific content. Edit Elements via Form works. There are several pages exhibiting this curious behaviour. Digging around in log files I found this: 2013-10-22T12:26:31.5160394+11:00 Error: Object reference not set to an instance of an object. Source: RedDot.CMS.PageBuilder at RDCMSPB.PageBuilder.PrepareTemplateVariantElements(PageBuilderType& tPbA, Rights& oRightsA, Builder& oBuilderA, UrlValuesType& tUrlValuesA, Int32& iProjectIndexA, Int32& iPageTagsIndexA, Dictionary`2& nPageTagsIndexByPageGuidA, PageTagsType[]& aPageTagsA, Pages& oPagesA) however none of the decompilers I have available to me are able to decompile that particular method, so I have no idea what object might be null that shouldn't be. Another curiosity is that if I look in the database I see many PGE rows (Page Elements) which join to many TLE rows (template elements) for the given page that don't appear in SmartTree or in the template itself (i.e. when I join the template to its TLEs). That makes me think something is corrupt, but doesn't explain why other page instances work OK including the same strange rows. Anyone care to hazard a guess at what's going on here? Richard. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/groups/opt_out.
