I'm working on a small feature that I'd like to add before we cut 1.2. The
feature uses Jobs to store mediapackages that are published in the search
service. This is a stop-gap solution to enable updating the search index for
1.3 without having a full episode service in 1.2.
While implementing this, I ran into a problem. The class
StaticMetadataServiceDublinCoreImpl requires that a title be provideded with no
language set:
notNull(episode.getFirst(DublinCore.PROPERTY_TITLE,
DublinCore.LANGUAGE_UNDEFINED), "dcterms:title(lang=undefined)");
Our test DC files [1] fail this check. I tried relaxing this check, by
removing LANGUAGE_UNDEFINED, but this caused test failures. Evidently,
somebody thinks a DC document *must* have a title without a specified language.
I don't know if this is a DC requirement or not.
If this is the case, we should fix our test files. Otherwise, let's fix the
implementation and the tests.
[1]
https://opencast.jira.com/svn/MH/trunk/modules/matterhorn-kernel/src/test/resources/dublincore.xml
Thanks,
Josh
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________