Skip to content
Browse files

CSPACE-5060: Before removing redundant fields in Person record.

  • Loading branch information...
1 parent 2707857 commit bcd58b048bcb348246651892f48ac60d9b095397 @anvk committed
View
1 src/main/webapp/defaults/bundle/core-messages.properties
@@ -138,6 +138,7 @@ persontest2: Person Test 2
person: Person
person-personNameAuthorityInformationLabel: Person Name Authority
person-contactInformationLabel: Contact Information
+person-displayNameLabel: Display Name
person-termStatusLabel: Status
person-nameLabel: Name
person-salutationLabel: Salutation
View
55 src/test/uischema/person.json
@@ -17,54 +17,54 @@
"default": true,
"type": "boolean"
},
- "personDisplayName": {
+ "displayName": {
"type": "string"
},
- "personQualifier": {
+ "qualifier": {
"type": "string"
},
- "personTermType": {
+ "termType": {
"type": "string"
},
- "personTerm": {
+ "term": {
"type": "string"
},
- "personTermLanguage": {
+ "termLanguage": {
"type": "string"
},
- "personTermPreferredForLanguage": {
+ "termPreferredForLanguage": {
"type": "string"
},
- "personTermSource": {
+ "termSource": {
"type": "string"
},
- "personTermSourceDetail": {
+ "termSourceDetail": {
"type": "string"
},
- "personTermSourceID": {
+ "termSourceID": {
"type": "string"
},
- "personSalutation": {
+ "salutation": {
"default": "dear",
"type": "string"
},
- "personTitle": {
+ "title": {
"default": "",
"type": "string"
},
- "personForename": {
+ "foreName": {
"type": "string"
},
- "personMiddleName": {
+ "middleName": {
"type": "string"
},
- "personSurname": {
+ "surName": {
"type": "string"
},
- "personAddition": {
+ "nameAdditions": {
"type": "string"
},
- "personInitials": {
+ "initials": {
"type": "string"
}
},
@@ -86,9 +86,6 @@
},
"type": "array"
},
- "surName": {
- "type": "string"
- },
".csc-contact-addressPlace-label": {
"messagekey": "contact-addressPlaceLabel"
},
@@ -115,10 +112,6 @@
"shortIdentifier": {
"type": "string"
},
- "title": {
- "default": "",
- "type": "string"
- },
"schoolsOrStyles": {
"items": {
"properties": {
@@ -139,9 +132,6 @@
".csc-contact-email-label": {
"messagekey": "contact-emailLabel"
},
- "initials": {
- "type": "string"
- },
"createdAt": {
"type": "string"
},
@@ -182,9 +172,6 @@
},
"type": "array"
},
- "foreName": {
- "type": "string"
- },
"groups": {
"items": {
"properties": {
@@ -199,9 +186,6 @@
},
"type": "array"
},
- "nameAdditions": {
- "type": "string"
- },
"occupations": {
"items": {
"properties": {
@@ -216,9 +200,6 @@
},
"type": "array"
},
- "middleName": {
- "type": "string"
- },
"bioNote": {
"type": "string"
},
@@ -276,10 +257,6 @@
},
"type": "array"
},
- "salutation": {
- "default": "dear",
- "type": "string"
- },
".csc-contact-telephoneNumber-label": {
"messagekey": "contact-telephoneNumberLabel"
}
View
32 src/test/uispecs/person.json
@@ -164,15 +164,15 @@
"repeatTree": {
"expander": {
"tree": {
- ".csc-preferred-personDisplayName": "${{row}.personDisplayName}",
- ".csc-preferred-personQualifier": "${{row}.personQualifier}",
- ".csc-preferred-personTermType": "${{row}.personTermType}",
- ".csc-preferred-personTerm": "${{row}.personTerm}",
- ".csc-preferred-personTermLanguage": "${{row}.personTermLanguage}",
- ".csc-preferred-personTermPreferredForLanguage": "${{row}.personTermPreferredForLanguage}",
- ".csc-preferred-personTermSource": "${{row}.personTermSource}",
- ".csc-preferred-personTermSourceDetail": "${{row}.personTermSourceDetail}",
- ".csc-preferred-personTermSourceID": "${{row}.personTermSourceID}",
+ ".csc-preferred-personDisplayName": "${{row}.displayName}",
+ ".csc-preferred-personQualifier": "${{row}.qualifier}",
+ ".csc-preferred-personTermType": "${{row}.termType}",
+ ".csc-preferred-personTerm": "${{row}.term}",
+ ".csc-preferred-personTermLanguage": "${{row}.termLanguage}",
+ ".csc-preferred-personTermPreferredForLanguage": "${{row}.termPreferredForLanguage}",
+ ".csc-preferred-personTermSource": "${{row}.termSource}",
+ ".csc-preferred-personTermSourceDetail": "${{row}.termSourceDetail}",
+ ".csc-preferred-personTermSourceID": "${{row}.termSourceID}",
".csc-preferred-personSalutation": {
"default": "dear",
"optionnames": [
@@ -185,7 +185,7 @@
"hello",
"to"
],
- "selection": "${{row}.personSalutation}"
+ "selection": "${{row}.salutation}"
},
".csc-preferred-personTitle": {
"default": "",
@@ -219,13 +219,13 @@
"Lord",
"Lady"
],
- "selection": "${{row}.personTitle}"
+ "selection": "${{row}.title}"
},
- ".csc-preferred-personForename": "${{row}.personForename}",
- ".csc-preferred-personMiddleName": "${{row}.personMiddleName}",
- ".csc-preferred-personSurname": "${{row}.personSurname}",
- ".csc-preferred-personAddition": "${{row}.personAddition}",
- ".csc-preferred-personInitials": "${{row}.personInitials}"
+ ".csc-preferred-personForename": "${{row}.foreName}",
+ ".csc-preferred-personMiddleName": "${{row}.middleName}",
+ ".csc-preferred-personSurname": "${{row}.surName}",
+ ".csc-preferred-personAddition": "${{row}.nameAdditions}",
+ ".csc-preferred-personInitials": "${{row}.initials}"
},
"type": "fluid.noexpand"
}

0 comments on commit bcd58b0

Please sign in to comment.
Something went wrong with that request. Please try again.