[DS-2058] Rename message to match the class that uses it.

Also create a new message and stop using Workflow message in DSO classes.
This commit is contained in:
Mark H. Wood
2021-05-13 11:53:43 -04:00
parent 1ca945b6c6
commit 0e0ce0479c
4 changed files with 9 additions and 12 deletions

View File

@@ -183,7 +183,7 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
throws MissingResourceException, SQLException {
if (field.equals(MD_NAME) && (value == null || value.trim().equals(""))) {
try {
value = I18nUtil.getMessage("org.dspace.workflow.WorkflowManager.untitled");
value = I18nUtil.getMessage("org.dspace.content.untitled");
} catch (MissingResourceException e) {
value = "Untitled";
}