-
Bug
-
Resolution: Fixed
-
Major
-
4.8.0
-
None
-
None
-
4.8.0 M8
org.ametys.cms.contenttype.DefaultContentType._computePropertiesReferences(ModelItemContainer) method controls validity of ElementRefProperty only.
It checks the item path and add properties references to compute indexing references (only used to alert the user when saving a content with external properties).
But on properties, we should do this on all properties without knowing their instancied class. We can check it with two methods:
- boolean isValid(ContentType)
- Map<String, List<String>> or List<String> getReferences()