We created a survey using the plugin API (XMLHandler) but the newly created survey is locked and cannot be unlocked within opinio (not even by the admin user). The only way to unlock the survey is by restarting tomcat.
We also tried to release the lock explicitly but and exception is raised indicating that the current user (admin) cannot unlock the survey because it has been locked by another user. However, there is only one user in the system.
This problem might be because of the value of "authenticationType" in your upload XML string. This value should be one of the following: Authentication type: 1: No authentication 2: Authentication on, with a fixed password. 3: Authentication on, with unique passwords per invitee Use the numeric code: <authenticationType>1</authenticationType>
If the value is '0', then the Survey will be shown as "Locked by Import process".