Merge branch 'release-1.2' into develop
fixed a bug; Object status detached and attached ware not considered as
valid object status.
Bumped version number to 1.2.1
Merge branch 'release-1.2.1'