-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 6.2.0 CE B1
-
Fix Version/s: 6.2.0 CE B1
-
Component/s: Documents & Media, Sync Connector, Web Services
-
Labels:None
-
Environment:Liferay 6.2.0 CE B1 bundled with Tomcat 7.0.40, CentOS 2.6.32-358.6.2.el6.x86_64
If I tried to pair Liferay Sync with Liferay Portal 6.2.0 CE b1 and during setup (when correct details were provided) I got following error message in the log file when I test the connection:
"Liferay Sync service not available on: SERVER_URL".
There is also following warning in log file:
12:35:58,511 WARN [http-bio-8080-exec-10][404_jsp:?]
(see attached screenshot)
This indicates that URI /api/secure/jsonws/group/get-user-sites is not present in Liferay 6.2.0 CE Beta 1
I have tried to access same URI on clean install of Liferay 6.1 and URI is present in 6.1 and gives back json object.
I have tested Liferay Sync version 1.0.10 Beta Linux and 1.1.0 Beta version against Liferay 6.2.0 CE beta1 without success.
Both Liferay Sync versions work with Liferay 6.1.1-ce-ga2.
Steps to reproduce without Liferay Sync:
1) Install and setup clean Liferay Portal 6.2.0 CE Beta 1
2) in browser window access URL: http://localhost:8080/api/secure/jsonws/group/get-user-sites
3) login with Liferay Administrator account. In my case username test@liferay.com and password: test
Expected result: JSON object returned: example from my env.
[{"active":true,"classNameId":13,"classPK":2,"companyId":1,"creatorUserId":2,"description":"","friendlyURL":"/test","groupId":88,"liveGroupId":0,"name":"88","parentGroupId":0,"site":false,"type":0,"typeSettings":""},{"active":true,"classNameId":11,"classPK":22,"companyId":1,"creatorUserId":5,"description":"","friendlyURL":"/23","groupId":23,"liveGroupId":0,"name":"23","parentGroupId":0,"site":false,"type":0,"typeSettings":""},{"active":true,"classNameId":11,"classPK":48,"companyId":1,"creatorUserId":5,"description":"","friendlyURL":"/49","groupId":49,"liveGroupId":0,"name":"49","parentGroupId":0,"site":false,"type":0,"typeSettings":""},{"active":true,"classNameId":10,"classPK":19,"companyId":1,"creatorUserId":5,"description":"","friendlyURL":"/guest","groupId":19,"liveGroupId":0,"name":"Guest","parentGroupId":0,"site":true,"type":1,"typeSettings":""},{"active":true,"classNameId":10,"classPK":10616,"companyId":1,"creatorUserId":2,"description":"profiq's intranet site","friendlyURL":"/profiq-s-portal","groupId":10616,"liveGroupId":0,"name":"profiq's portal","parentGroupId":0,"site":true,"type":1,"typeSettings":"mergeGuestPublicPages=false\n"}]
Actual result: redirect to Liferay Home page and WARN message in log file
12:35:58,511 WARN [http-bio-8080-exec-10][404_jsp:?] {msg="/api/secure/jsonws/group/get-user-sites", uri=/api/secure/jsonws/group/get-user-sites}
Steps to reproduce with Liferay Sync:
1) Setup clean Liferay Portal 6.2.0 CE Beta 1
2) download Liferay sync tool (http://www.liferay.com/downloads/liferay-sync)
3) Install and setup Liferay Sync tool with valid details(see details in attachment)
4) Press OK to setup
Expected result: Setup successfull with Window to select site to synchronize present
Actual result: Original Setup window remains opened and WARN message in the log
12:35:58,511 WARN [http-bio-8080-exec-10][404_jsp:?]