Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-3556

[Apogée] Course part synchronization makes a ClassCastException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.7.9, 4.8.0
    • 4.8.0
    • Synchro
    • None
    • 4.8.0 M8

      Steps to reproduce

      • Synchronize a course with synchronized course parts
      • You get a ClassCastException:
        java.lang.ClassCastException: class org.ametys.odf.coursepart.CoursePart cannot be cast to class org.ametys.odf.ProgramItem (org.ametys.odf.coursepart.CoursePart and org.ametys.odf.ProgramItem are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @54d18072)
        	at org.ametys.plugins.odfsync.apogee.scc.ApogeeSynchronizableContentsCollectionHelper.synchronizeContent(ApogeeSynchronizableContentsCollectionHelper.java:116)
        	at org.ametys.plugins.odfsync.apogee.scc.AbstractApogeeSynchronizableContentsCollection._synchronizeChildren(AbstractApogeeSynchronizableContentsCollection.java:921)
        	at org.ametys.plugins.odfsync.apogee.scc.impl.CourseSynchronizableContentsCollection.getAdditionalAttributeValues(CourseSynchronizableContentsCollection.java:83)
        	at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection._fillContent(AbstractSimpleSynchronizableContentsCollection.java:412)
        	at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection._synchronizeContent(AbstractSimpleSynchronizableContentsCollection.java:221)
        	at org.ametys.plugins.odfsync.apogee.scc.AbstractApogeeSynchronizableContentsCollection._synchronizeContent(AbstractApogeeSynchronizableContentsCollection.java:811)
        [...]

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: