core icon indicating copy to clipboard operation
core copied to clipboard

Error when saving content with empty relation

Open grinev opened this issue 11 years ago • 1 comments

Using dotcms 3.0 after migration from 2.5.4.

When we trying to save content with empty relation image have an error: These relationships have the following errors: One to Many Relation Violated: Homepageslideshowitem-BannerAdManagement image

and server.log contains ERROR com.dotcms.content.elasticsearch.business.ESContentletAPIImpl - com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlet's fields are not valid

Relation is one to many and not required: image

Also we've checked out that changes from https://github.com/dotCMS/core/issues/6627 exist in out version of dotcms.

We assume, that migration of relations was with errors.

grinev avatar Jan 14 '15 16:01 grinev

I am not sure what is happening but I don't see how to reproduce this. Maybe you have an issue with your specific data, DB or implantation. If you have a support contract I would reach out to them unless you can provide a way fro us to reproduce the issue

jtesser avatar Jan 14 '15 18:01 jtesser