xenserver/xenadmin — pull request #191 by cheng--zhang (2014-08-29 08:55:58+00:00)
Title: CA-142255:XenCenter popup exception dialog which is unexpected

This problem happens because XenCenter maybe lost connection some times and the operation check here will use ValidRoleList check before connection check, which will cause the roles in connection be empty and generate that exception when connection is not connected.
Check connection status before get ValidRoleList will solve this problem.

Signed-off-by: Cheng Zhang