[bugzilla 398498] Fixing an issue in WorkspaceAdapter when Intent
commands are executed in different threads

Make sure that the transaction is available before executing the command
6 files changed