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

Suite à la suppression d'une compétence la formation ne s'affiche plus en front-office

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.9.8, 4.10.0
    • 4.9.7
    • None
    • None
    • 4.10 M6
    • Oui

      Pour reproduire :
      Une micro compétence a été retirée de la formation puis supprimée, mais sans validation de la formation, donc la version en ligne explose. La formation ne s'affiche pas du tout en front-office.

      Caused by: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id content://56417bd2-785d-470b-b592-39304baeadf9
      at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory#getNode:187
      at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory#getAmetysObjectById:137
      at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory#getAmetysObjectById:58
      at org.ametys.plugins.repository.AmetysObjectResolver#resolveById:393
      at org.ametys.cms.data.ContentValue#getContent:124
      at org.ametys.odf.skill.ODFSkillsHelper#_buildSkillsDistribution:334
      at org.ametys.odf.skill.ODFSkillsHelper#_buildSkillsDistribution:295
      at org.ametys.odf.skill.ODFSkillsHelper#_buildSkillsDistribution:306
      at org.ametys.odf.skill.ODFSkillsHelper#_buildSkillsDistribution:306
      at org.ametys.odf.skill.ODFSkillsHelper#_buildSkillsDistribution:306
      at org.ametys.odf.skill.ODFSkillsHelper#_buildSkillsDistribution:306
      at org.ametys.odf.skill.ODFSkillsHelper#getSkillsDistribution:283
      at org.ametys.odf.skill.ODFSkillsHelper#getSkillsDistribution:238
      at org.ametys.odf.content.ProgramSkillsGenerator#generate:72
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:782
      at org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414
      at org.apache.cocoon.components.source.SourceUtil#toSAX:101
      at org.apache.cocoon.components.source.SourceUtil#parse:321
      at org.apache.cocoon.sitemap.ContentAggregator#generate:125
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      

      Il vaudrait mieux afficher quand même la formation en front-office mais pas les compétences liées ainsi on se dirait que quelque chose cloche et dans les logs il faudrait ajouter la ou les erreurs sur les compétences non trouvées.

            Unassigned Unassigned
            lperier Laurence Perier
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: