Series assigned to an episode does not make it into the DublinCore catalog as "isPartOf"

Steps to reproduce

Steps to reproduce:

Ingest a video on http://localhost:8080/admin/upload.html and assign it a series.

Check dublincore.xml of episode.
On http://localhost:8080/admin/recordings.html?state=finished click the cog in the state column, then choose the "Mediapackage" tab, open "dublincore/episode" and click the link to download the dublin core catalog.

Actual Results:

The <dcterms:isPartOf> property is missing.

Expected Results:

There should be a <dcterms:isPartOf> property in the dublincore.xml.


Former user
September 29, 2012, 3:04 AM

The issue may be that UI forms and javascript use the name "ispartof" and the REST endpoints and javascript are looking for "isPartOf". I'll try a blanket replace of ispartof to isPartOf in the UI resources to test.
(The Engage player SOLR index needs the isPartOf value in order to filter distributions by series.)

Former user
October 1, 2012, 2:59 PM

Replacing "ispartof" with "isPartOf" in the client files fixes the issue of saving the "is part of" into the dublincore/episode.The edit would touch 10 files: (plus to update commented text):

Index: modules/matterhorn-admin-ui/src/main/resources/ui/js/viewevent.js
Index: modules/matterhorn-admin-ui/src/main/resources/ui/js/oc.upload.js
Index: modules/matterhorn-admin-ui/src/main/resources/ui/js/oc.ingest.js
Index: modules/matterhorn-admin-ui/src/main/resources/ui/js/upload.helptexts.json
Index: modules/matterhorn-admin-ui/src/main/resources/ui/js/
Index: modules/matterhorn-admin-ui/src/main/resources/ui/templates/upload.tpl
Index: modules/matterhorn-mediapackage-ui/src/main/resources/ui/tests/templates/upload.tpl
Index: modules/matterhorn-mediapackage-ui/src/main/resources/ui/scripts/jquery.mpeditor.js
Index: modules/matterhorn-mediapackage-ui/src/main/resources/ui/templates/editor.tmpl
Index: modules/matterhorn-conductor/src/main/resources/ui/operation/trim/index.html

The Dublin Core documentation specifies the camel case in the definition and examples.
Another option is for the REST endpoint to accommodate different versions of the element key (upper case, camel case, dashes). But this seems potentially messy and endless.

Is there a Matterhorn community philosophy about camel case versus all lower that impacts this issue?

Former user
October 1, 2012, 7:54 PM

Patch to save isPartOf into dublincore/episode. It changes all ispartof to isPartOf in js, html, tpl and comment text of a java file.

Greg Logan
November 8, 2012, 9:16 PM

Thanks Karen, just noticed this as part of the bugbash 2 prep. I'll put it in asap!

Greg Logan
November 15, 2012, 8:32 PM

Committed to trunk with rev 13195, 1.4.x with rev 13196.


Greg Logan


Christoph Driessen


Incorrectly Functioning Without Workaround

Tags (folksonomy)


Fix versions

Affects versions