[CSTPER-222] handle metadata reading for communities and collections

Removed handle field and the setter from community and collection models.
This commit is contained in:
Alessandro Martelli
2020-11-18 12:08:57 +01:00
parent fa8ecd16a7
commit 2369892c3f
8 changed files with 47 additions and 45 deletions

View File

@@ -109,7 +109,6 @@ describe('SearchFormComponent', () => {
export const objects: DSpaceObject[] = [
Object.assign(new Community(), {
handle: '10673/11',
logo: {
self: {
_isScalar: true,
@@ -162,12 +161,17 @@ export const objects: DSpaceObject[] = [
language: null,
value: 'OR2017 - Demonstration'
}
]
],
'dc.identifier.uri': [
{
language: null,
value: 'http://localhost:4000/handle/10673/11'
}
],
}
}),
Object.assign(new Community(),
{
handle: '10673/1',
logo: {
self: {
_isScalar: true,
@@ -220,7 +224,13 @@ export const objects: DSpaceObject[] = [
language: null,
value: 'Sample Community'
}
]
],
'dc.identifier.uri': [
{
language: null,
value: 'http://localhost:4000/handle/10673/1'
}
],
}
}
)