-
Bug
-
Resolution: Fixed
-
Blocker
-
4.5.4, 4.6.0
-
None
-
reproduit sur la https://demo.ametys.org/odf en 4.5.4 et la nightly en 4.6
-
4.6 M3
Je réalise un copier coller d'une liste d'ELP dans la liste elle même et j'obtiens cette erreur :
java.lang.StackOverflowError at org.apache.jackrabbit.core.state.SharedItemStateManager.hasItemState(SharedItemStateManager.java:321) at org.apache.jackrabbit.core.state.XAItemStateManager.hasItemState(XAItemStateManager.java:302) at org.apache.jackrabbit.core.state.SessionItemStateManager.hasItemState(SessionItemStateManager.java:182) at org.apache.jackrabbit.core.ItemManager.itemExists(ItemManager.java:301) at org.apache.jackrabbit.core.ItemManager.itemExists(ItemManager.java:522) at org.apache.jackrabbit.core.NodeImpl.hasProperty(NodeImpl.java:2460) at org.ametys.plugins.repository.data.repositorydata.impl.JCRRepositoryData.hasValue(JCRRepositoryData.java:494) at org.ametys.plugins.repository.data.repositorydata.RepositoryData.hasValue(RepositoryData.java:357) at org.ametys.cms.data.type.impl.StringRepositoryElementType.hasNonEmptyValue(StringRepositoryElementType.java:58) at org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder._hasValue(DefaultModelLessDataHolder.java:357) at org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder.getValueOfType(DefaultModelLessDataHolder.java:201) at org.ametys.cms.repository.DefaultContent.getTypes(DefaultContent.java:142) at org.ametys.cms.content.ContentHelper.getContentTypes(ContentHelper.java:471) at org.ametys.cms.content.ContentHelper.getContentTypes(ContentHelper.java:460) at org.ametys.cms.repository.ModifiableDefaultContent.getDataHolder(ModifiableDefaultContent.java:312) at org.ametys.cms.repository.ModifiableDefaultContent.getDataHolder(ModifiableDefaultContent.java:43) at org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject.getValue(ModelAwareDataAwareAmetysObject.java:114) at org.ametys.odf.program.AbstractProgramPart.getProgramPartParents(AbstractProgramPart.java:54) at org.ametys.odf.program.AbstractProgramPart.getRootPrograms(AbstractProgramPart.java:67) at org.ametys.odf.courselist.CourseList.getRootPrograms(CourseList.java:162) at org.ametys.odf.course.Course.lambda$getRootPrograms$0(Course.java:234) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
Ci après le détail de la manipulation réalisée : https://people.anyware-services.com/~lperier/ODF/StackOverFlowCopier.mp4