When signing to targets during activity addition the original activity data is actually changed, leading to validation failed if trying to add the same activity again, plus more potential side effects.
This PR shallow-copies the data during signing/addition, without altering the original activity object.
When signing
to
targets during activity addition the original activity data is actually changed, leading to validation failed if trying to add the same activity again, plus more potential side effects. This PR shallow-copies the data during signing/addition, without altering the original activity object.