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.

Reply via email to