You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i.e., it assumes that a version with non-null TemsOfUseAndAccess and a null license id uses custom terms. In fact, our versions are always created with empty TermsOfUse; so it is NEVER null. The method above needs to differentiate between a null license_id and some values in the terms (i.e., “Custom Terms”) and completely empty TermsOfUse, aka “no terms”.
Should be a simple fix.
The text was updated successfully, but these errors were encountered:
Also, it is possible that this is unique to datasets harvested in the oai_dc format; and in all other cases some values will be present in the terms.
It still seems to be that what I suggested above cannot hurt - that the code should assume that the terms may be completely empty, and skip indexing them as "custom terms".
This happens in the following method in IndexServiceBean:
i.e., it assumes that a version with non-null TemsOfUseAndAccess and a null license id uses custom terms. In fact, our versions are always created with empty TermsOfUse; so it is NEVER null. The method above needs to differentiate between a null license_id and some values in the terms (i.e., “Custom Terms”) and completely empty TermsOfUse, aka “no terms”.
Should be a simple fix.
The text was updated successfully, but these errors were encountered: