-
Bug
-
Resolution: Fixed
-
Major
-
4.2.0
-
None
-
None
-
4.2 RC1
I had activated the alert of translation in site configuration.
When trying to validate my content I have the following error :
The item at path 'translations' is not a composite. org.ametys.runtime.model.exception.BadItemTypeException: The item at path 'translations' is not a composite. at org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder.getComposite(DefaultModelLessDataHolder.java:73) at org.ametys.plugins.repository.data.holder.impl.DefaultModifiableModelLessDataHolder.getComposite(DefaultModifiableModelLessDataHolder.java:64) at org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject.getComposite(ModifiableModelLessDataAwareAmetysObject.java:38) at org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject.getComposite(ModifiableModelLessDataAwareAmetysObject.java:30) at org.ametys.plugins.translationflagging.TranslationAlertFunction.getTranslations(TranslationAlertFunction.java:267) at org.ametys.plugins.translationflagging.TranslationAlertFunction.sendAlerts(TranslationAlertFunction.java:152) at org.ametys.plugins.translationflagging.TranslationAlertFunction.execute(TranslationAlertFunction.java:130)
My page has no translations yet.
I have the same type of error when clicking on button "Signaler des traductions"
The item at path 'translations' is not a composite. org.ametys.runtime.model.exception.BadItemTypeException: The item at path 'translations' is not a composite. at org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder.getComposite(DefaultModelLessDataHolder.java:73) at org.ametys.plugins.repository.data.holder.impl.DefaultModifiableModelLessDataHolder.getComposite(DefaultModifiableModelLessDataHolder.java:64) at org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject.getComposite(ModifiableModelLessDataAwareAmetysObject.java:38) at org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject.getComposite(ModifiableModelLessDataAwareAmetysObject.java:30) at org.ametys.plugins.translationflagging.TranslationPageDAO.getTranslations(TranslationPageDAO.java:129) at org.ametys.plugins.translationflagging.TranslationFlaggingClientSideElement.getTranslations(TranslationFlaggingClientSideElement.java:71)