2

In DXA 1.4 (Java) in my logs I see the following warning:

12:04:35.304 [http-apr-8080-exec-6] WARN c.s.w.common.impl.markup.MarkupImpl - Entity of type webapp.model.entity.RichContent does not contain a field named Content.

How can I resolve this warning, as the views and models are outputting expected content.

Model:

@SemanticEntity(entityName = "RichContent", vocabulary = SDL_CORE) 
public class RichContent extends AbstractEntityModel {

    @JsonProperty("Content")
    private RichText content;

    public RichText getContent() {
        return content;
    }

    public void setContent(RichText content) {
        this.content = content;
    } 
}
  • 1
    How does the View code that uses this View Model look? – Rick Pannekoek May 31 '16 at 17:52
1

The views contained Experience Manager Markup that was written with capital C, this should be lower case. @Rick thanks for pointing me to the views :)

<span ${markup.property(entity.sideArticle.content, "content")}>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.