Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit 4a8d302

Browse files
committed
Restore changes from previous reversion.
This reverts commit b0e47ee.
1 parent 2b905cb commit 4a8d302

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/main/java/gov/osti/services/Metadata.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,8 +1470,6 @@ else if (m.getLicenses().contains(DOECodeMetadata.License.Other.value()) && Stri
14701470
}
14711471
}
14721472
}
1473-
if (StringUtils.isNotBlank(m.getDoi()) && null==m.getReleaseDate())
1474-
reasons.add("Release Date is required for DOI registration.");
14751473
// if "OS" accessibility, a REPOSITORY LINK is REQUIRED
14761474
if (DOECodeMetadata.Accessibility.OS.equals(m.getAccessibility())) {
14771475
if (StringUtils.isBlank(m.getRepositoryLink()))

src/main/java/gov/osti/services/Metadata.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ Validation rules are:
240240
* at least one developer
241241
* each developer must have a first and last name
242242
* if email is provided, it must be valid
243-
* if DOI is specified, release date is required
244243
245244
246245

0 commit comments

Comments
 (0)