-
Bug
-
Resolution: Fixed
-
Major
-
4.2.3, 4.3.0
-
None
-
None
-
4.3 RC1
Steps to reproduce :
- Create the file to override a content type : WEB-INF/param/content-types/org.ametys.web.default.Content.article.xml
- Add your own global validator in it :
<?xml version="1.0" encoding="UTF-8"?> <cms:content-type xmlns:cms="http://www.ametys.org/schema/cms"> <cms:global-validators> <cms:global-validator class="my.own.GlobalValidator"/> </cms:global-validators> </cms:content-type>
- Add a breakpoint into your validator in the method #validate(Content, Form, MetadataSet, Errors)
- Restart your CMS
- Edit a content (of the modified content type)
- Nothing happens while saving
- Est référencé par
-
CMS-10278 Unable to override indexing model of a content type
-
- Closed
-