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

cdm-fr import of mention fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.10, 4.3.0
    • 4.1.4
    • Synchro
    • None
    • 4.3 M7

      In my case, I export a Program with a mention.

      When I try to import this Program, the mention is not imported, with a warning : `There is no entry corresponding to the CDM-fr or Ametys code 'Arts du spectacle' in the reference table 'odf-enumeration.Mention'.`

       

      The problem seems to be in `org.ametys.plugins.odfsync.cdmfr.components.AbstractImportCDMFrComponent._getIdFromCDMThenCode(String, String)`

      Mention is an abstract tableref, so it contains nothing, this code should test the different implementations of this tableref (or maybe the `ContentTypeExpression` used should test on the different implementations of the content-type passed ?)

            laurence Laurence Aumeunier
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: