VIVO-330 rank was not being set as type int
This commit is contained in:
parent
f2c8f55c94
commit
343698b6eb
4 changed files with 34 additions and 33 deletions
|
@ -118,7 +118,7 @@ public class AddAuthorsToInformationResourceGenerator extends VivoBaseGenerator
|
|||
|
||||
private String getN3AuthorshipRank() {
|
||||
return getN3PrefixString() +
|
||||
"?authorshipUri core:authorRank ?rank .";
|
||||
"?authorshipUri core:rank ?rank .";
|
||||
}
|
||||
|
||||
//first name, middle name, last name, and new perseon for new author being created, and n3 for existing person
|
||||
|
|
|
@ -113,7 +113,7 @@ public class AddEditWebpageFormGenerator extends BaseEditConfigurationGenerator
|
|||
|
||||
config.addField(new FieldVTwo().
|
||||
setName("rank").
|
||||
setRangeDatatypeUri(XSD.integer.toString()));
|
||||
setRangeDatatypeUri(XSD.xint.toString()));
|
||||
|
||||
config.addFormSpecificData("newRank",
|
||||
getMaxRank( EditConfigurationUtils.getObjectUri(vreq),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue