Merged to trunk. Changed the way a new individual is created on the siteAdmin NIHVIVO-881
This commit is contained in:
parent
4a6aa63393
commit
7911fa6490
4 changed files with 56 additions and 7 deletions
|
@ -30,8 +30,12 @@
|
|||
if( editConfig != null ){
|
||||
String predicateUri = editConfig.getPredicateUri();
|
||||
if( predicateUri != null ){
|
||||
Property prop = ResourceFactory.createProperty(predicateUri);
|
||||
predicateLocalName = prop.getLocalName();
|
||||
try{
|
||||
Property prop = ResourceFactory.createProperty(predicateUri);
|
||||
predicateLocalName = prop.getLocalName();
|
||||
}catch (com.hp.hpl.jena.shared.InvalidPropertyURIException e){
|
||||
log.debug("could not convert predicateUri into a valid URI",e);
|
||||
}
|
||||
}
|
||||
|
||||
if( editConfig.getEntityToReturnTo() != null && editConfig.getEntityToReturnTo().startsWith("?") ){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue