Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

[Missing text '/headings/heading[@name='Information']/description' for 'English'

Vote:
 

I am getting error [Missing text '/headings/heading[@name='Information']/description' for 'English'. I have code like below and when I try to enter data for Student, I get above error message, I can successfully save the data though.

[PropertyDefinitionTypePlugIn]
public class StudentProperty : PropertyListBase<TestimonialList>
{
}
public class Student
{
}

public class StudentBlock : BlockData
{
[EditorDescriptor(EditorDescriptorType = typeof(CollectionEditorDescriptor<Student>))]
public virtual IList<Student> Students{ get; set; }
}

#205250
Jul 03, 2019 6:25
Vote:
 

Hi, 

It's related to the localization labels you haven't configured for a group you are using for that student data you are entering I think. 

Hard to tell without seeing the model for Student but there must be a group you're specifying on one of the properties named "Information". 

How are your group definitions configured? 

Thanks,

Paul 

#205254
Jul 03, 2019 11:52
Vote:
 
I have defined group as below.

[Display         (           Name = "SomeName",             GroupName = SystemTabNames.Content,             Order = 5         )]
#205256
Jul 03, 2019 12:17
Vote:
 

Is that group defined on a property of the Student model? 

If it is I'd suggest removing it - for IList properties, the types that are added to the list are added in situ and don't require groups - maybe by specifying one it has that adverse affect you're seeing...

Let me know how it goes. 

#205260
Jul 03, 2019 13:07
Muller - Jul 04, 2019 4:47
I had defined the group both on student model and on the properties of student model. I removed the ones from properties of student. It worked. Thanks.
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.