sureshanaparti commented on code in PR #12502:
URL: https://github.com/apache/cloudstack/pull/12502#discussion_r2721066673
##########
server/src/main/java/com/cloud/api/dispatch/ParamProcessWorker.java:
##########
@@ -532,6 +533,11 @@ private Long translateUuidToInternalId(final String uuid,
final Parameter annota
// Populate CallContext for each of the entity.
for (final Class<?> entity : entities) {
CallContext.current().putContextParameter(entity,
internalId);
+ final Object objVO =
_entityMgr.findByIdIncludingRemoved(entity, internalId);
+ if (!(objVO instanceof Identity)) {
+ continue;
Review Comment:
What event description is logged for create/add calls (UUID might not exist)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]