Details
-
Bug
-
Status: New
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The column PM_HIVE_PARAMS.domain_id is not the same as the column PM_HIVE_DATA.domain_id ...
It should be PM_HIVE_PARAMS.domain_name, so that it links to PM_HIVE_DATA.domain_name.
This bug creates a problem when using global parameters in the class ServiceHandler.java, where domainId is referenced to the DomainName.
(Or another solution is to change the reference of domainId to the real domain_id instead of the domain_name...)
{code}
public String execute() throws I2B2Exception{
...
while (it.hasNext()) {
...
domainId = cType.getDomainName();
}
...
try {
...
//Get any remaining params from the environment
for( it=pmDb.getEnvironmentData(domainId).iterator();it.hasNext();){
HiveParamData hivedata =(HiveParamData)it.next();
params.put(hivedata.getName(), hivedata.getValue());
}
...
}
...
}
It should be PM_HIVE_PARAMS.domain_name, so that it links to PM_HIVE_DATA.domain_name.
This bug creates a problem when using global parameters in the class ServiceHandler.java, where domainId is referenced to the DomainName.
(Or another solution is to change the reference of domainId to the real domain_id instead of the domain_name...)
{code}
public String execute() throws I2B2Exception{
...
while (it.hasNext()) {
...
domainId = cType.getDomainName();
}
...
try {
...
//Get any remaining params from the environment
for( it=pmDb.getEnvironmentData(domainId).iterator();it.hasNext();){
HiveParamData hivedata =(HiveParamData)it.next();
params.put(hivedata.getName(), hivedata.getValue());
}
...
}
...
}