Invalid States

If an item has been modified in the Session but not yet saved, and its corresponding item in the persistent workspace is altered through a direct-to-workspace method, this has no effect on the transient state of the Session. The altered item in the Session remains and may be saved later. Of course, the change made to the workspace may render the attempt to save the session-change invalid (for example if the workspace-change removed the parent of the session-change item). Note that this is precisely the same situation as would arise if a change were made to a workspace through another Session. In both cases the save on this Session may throw an InvalidItemStateException.