IDEMPIERE-2767 Web Services not working with UUID
This commit is contained in:
parent
3ede3738de
commit
7e91d03ac0
|
@ -410,7 +410,15 @@ public class ModelADServiceImpl extends AbstractService implements ModelADServic
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate parameters
|
// Validate parameters
|
||||||
|
try {
|
||||||
modelRunProcess.setADMenuID(validateParameter("AD_Menu_ID", modelRunProcess.getADMenuID()));
|
modelRunProcess.setADMenuID(validateParameter("AD_Menu_ID", modelRunProcess.getADMenuID()));
|
||||||
|
} catch(XmlValueOutOfRangeException e) { // Catch the exception when the Process ID is not an Integer
|
||||||
|
String menuUU = getUUIDValue(modelRunProcess.xgetADMenuID());
|
||||||
|
if (menuUU == null) {
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
modelRunProcess.setADMenuID(validateParameter("AD_Menu_ID", 0, menuUU));
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
modelRunProcess.setADProcessID(validateParameter("AD_Process_ID", modelRunProcess.getADProcessID()));
|
modelRunProcess.setADProcessID(validateParameter("AD_Process_ID", modelRunProcess.getADProcessID()));
|
||||||
} catch(XmlValueOutOfRangeException e) { // Catch the exception when the Process ID is not an Integer
|
} catch(XmlValueOutOfRangeException e) { // Catch the exception when the Process ID is not an Integer
|
||||||
|
|
Loading…
Reference in New Issue