This would be much more helpful if it told me which field is in violation…
[30/08/17 20:03:38:991 EDT] ERROR business.ESContentletAPIImpl: A text contentlet must be of type String
[30/08/17 20:03:39:636 EDT] ERROR business.ESContentletAPIImpl: Contentlets' fields are not valid
com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlets' fields are not valid
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
Where, with a plugin, could I add logging to specify the field in error?
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/d09eefbb53a34a0a98a8d5de30ae9257%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
I’m trying to chase down a different error today, with even LESS information given…
com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlet's fields are not valid
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.validateContentlet(ESContentletAPIImpl.java:4153) ~[dotcms_4.0.1_999999.jar:?]
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2635) ~[dotcms_4.0.1_999999.jar:?]
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2508) ~[dotcms_4.0.1_999999.jar:?]
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2488) ~[dotcms_4.0.1_999999.jar:?]
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2410) ~[dotcms_4.0.1_999999.jar:?]
at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:261) ~[dotcms_4.0.1_999999.jar:?]
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8ee336bbf9804c85aee48c44b4091192%40exch13c.ms.gettysburg.edu.
Found more helpful information in a different log file. Apparently I was looking in the wrong place.
[01/09/17 14:22:28:008 EDT] ERROR business.ESContentletAPIImpl: A integer contentlet must be of type Long or Integer
[01/09/17 14:22:28:570 EDT] ERROR business.ESContentletAPIImpl: A integer contentlet must be of type Long or Integer
[01/09/17 14:22:30:485 EDT] ERROR business.ESContentletAPIImpl: ERROR! Parent content [] cannot be related to child content [8c305f8d-22d1-4862-af56-259c8a217008] because it is already related to parent content [815e7710-fbac-4511-b44d-53d6d5cfe965]
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/e5971a951ae34e78a3cbf221e9ad862e%40exch13c.ms.gettysburg.edu.