mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 12:33:18 +00:00
D4CRIS-338 save granted date into dcterms.accessRights (was dc.rights.date)
This commit is contained in:
@@ -447,7 +447,7 @@ public class Bitstream extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
* @throws SQLException
|
||||
*/
|
||||
public void setAcceptanceDate(Context context, DCDate acceptanceDate) throws SQLException {
|
||||
getBitstreamService().setMetadataSingleValue(context, this, MetadataSchema.DC_SCHEMA, "rights", "date", null, acceptanceDate.toString());
|
||||
getBitstreamService().setMetadataSingleValue(context, this, "dcterms", "accessRights", null, null, acceptanceDate.toString());
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user