I have a plugin registered on the Post Operation of an Update for a custom Entity, that operates on the Target. As long as I don't change the StateCode or StatusCode, it works as expected. If, however, I send in an Update request that changes the StatusCode, the target contains only these attributes:
- new_entityId
- statecode
- statuscode
- modifiedon
- modifiedby
- modifiedonbehalfby
But the context's ParentContext contains the actual target I'm expecting, with these attributes:
- new_entityId
- new_name
- statecode
- statuccode
- new_skipexport
I'm assuming this is a bug, but for now, I will work around it by checking for the stage and parent context instead of the current context. Are there other situations where I need to be checking for the target in the parent context, besides a status/state change?