WycliffeAssociates / otter-jvm

Desktop JVM repository for the Otter project
GNU General Public License v3.0
6 stars 1 forks source link

Only create content derivative entries for text contents #498

Closed KJoslyn closed 5 years ago

KJoslyn commented 5 years ago

Entries in the content derivative table are now only be created for contents that are of type ContentType.TEXT. Furthermore, when fetching sources, we now ensure that the source and derived ContentTypes are the same. (Before, when we were creating content derivative entries for Resource types such as TITLE and BODY, these types were getting intermingled with the TEXT and META types.)


This change is Reviewable