mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #8303 from atmire/fix-getname-issues-main
Overwrite getName usage in applicable services & missing log statements
This commit is contained in:
@@ -113,9 +113,11 @@ public abstract class IndexFactoryImpl<T extends IndexableObject, S> implements
|
||||
log.info("Full text is larger than the configured limit (discovery.solr.fulltext.charLimit)."
|
||||
+ " Only the first {} characters were indexed.", charLimit);
|
||||
} else {
|
||||
log.error("Tika parsing error. Could not index full text.", saxe);
|
||||
throw new IOException("Tika parsing error. Could not index full text.", saxe);
|
||||
}
|
||||
} catch (TikaException ex) {
|
||||
log.error("Tika parsing error. Could not index full text.", ex);
|
||||
throw new IOException("Tika parsing error. Could not index full text.", ex);
|
||||
}
|
||||
|
||||
|
@@ -569,4 +569,9 @@ public class EPersonServiceImpl extends DSpaceObjectServiceImpl<EPerson> impleme
|
||||
public int countTotal(Context context) throws SQLException {
|
||||
return ePersonDAO.countRows(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(EPerson dso) {
|
||||
return dso.getName();
|
||||
}
|
||||
}
|
||||
|
@@ -829,4 +829,9 @@ public class GroupServiceImpl extends DSpaceObjectServiceImpl<Group> implements
|
||||
final MetadataField metadataField) throws SQLException {
|
||||
return groupDAO.findByMetadataField(context, searchValue, metadataField);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(Group dso) {
|
||||
return dso.getName();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user