Uploaded image for project: 'Opencast'
  1. MH-8768

SeriesService does not persist complete DublinCore catalog

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 1.4.0
    • Fix versions: 1.4.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Data Loss/Corruption
    • Steps to reproduce:
      Hide
      Store the DublinCore catalog dublincore.xml provided with the test cases (update() method) and retrieve it afterwards. The dcterms:modified and the oc:promoted properties get lost.

      The following test case should pass:

        @Test
        public void testDublinCoreCatalogPreservation() throws Exception {
          seriesService.updateSeries(testCatalog2);
          DublinCoreCatalog dc = seriesService.getSeries("10.0000/5820");
          assertTrue(SeriesServiceImpl.equals(testCatalog2, testCatalog2));
          assertTrue(SeriesServiceImpl.equals(dc, dc));
          assertTrue(SeriesServiceImpl.equals(testCatalog2, dc));
        }
      Show
      Store the DublinCore catalog dublincore.xml provided with the test cases (update() method) and retrieve it afterwards. The dcterms:modified and the oc:promoted properties get lost. The following test case should pass:   @Test   public void testDublinCoreCatalogPreservation() throws Exception {     seriesService.updateSeries(testCatalog2);     DublinCoreCatalog dc = seriesService.getSeries("10.0000/5820");     assertTrue(SeriesServiceImpl.equals(testCatalog2, testCatalog2));     assertTrue(SeriesServiceImpl.equals(dc, dc));     assertTrue(SeriesServiceImpl.equals(testCatalog2, dc));   }
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              lrohner Lukas Rohner
              Reporter:
              cedriessen Christoph Driessen
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases