updating to ensure default namespace is null (to be consistent with the vivo version and the other calls where null denotes default namespace for the edit configuration)
This commit is contained in:
parent
48c8a73613
commit
dac5d91478
1 changed files with 2 additions and 3 deletions
|
@ -114,9 +114,8 @@ public class NewIndividualFormGenerator implements EditConfigurationGenerator {
|
|||
|
||||
private Map<String, String> generateNewResources(VitroRequest vreq) {
|
||||
HashMap<String, String> newResources = new HashMap<String, String>();
|
||||
//TODO: Get default namespace
|
||||
String defaultNamespace = vreq.getWebappDaoFactory().getDefaultNamespace();
|
||||
newResources.put("newInd", defaultNamespace + "individual");
|
||||
//null makes default namespace be triggered
|
||||
newResources.put("newInd", null);
|
||||
return newResources;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue