agea / Alfresco-HTML5-Client

Pure HTML5 and Javascript Alfresco client
MIT License
25 stars 10 forks source link

Getting blank page after login #11

Closed alfjjacob closed 10 years ago

alfjjacob commented 10 years ago

Hi,

I downloaded the latest from GitHub and configured it on Tomcat. As soon as I enter my login information, I get a blank page. There is also a JS error on the browser console. Below is the log from the console. Please note the error in the last line. It looks like the mapping of the o/p JSON from /alfresco/cmisbrowser is not happening properly.

XHR finished loading: "http://localhost:8080/Alfresco-HTML5-Client-master/templates/login.html?_=1380297427309". jquery.min.js:2 XHR finished loading: "http://localhost:8080/alfresco/service/api/login". jquery.min.js:2 XHR finished loading: "http://localhost:8080/alfresco/cmisbrowser". jquery.min.js:2 XHR finished loading: "http://localhost:8080/alfresco/cmisbrowser/16c74505-e4dc-4562-a48a-d27faeda37d0/root?cmisselector=object". jquery.min.js:2 Uncaught TypeError: Cannot read property 'cmis:objectId' of undefined cmisbrowser.js:328

Thanks, Jerry

agea commented 10 years ago

I'm not able to reproduce the bug, can you tell me which browser, and which version of Alfresco are you using ?

Thanks

alfjjacob commented 10 years ago

Thanks for the prompt response. I am using Chrome. On Alfresco 4.0.1 Enterprise

agea commented 10 years ago

I get the same error on the 4.0 Community.

alfjjacob commented 10 years ago

Thanks. Any idea on why it is happening? Can that be fixed?

agea commented 10 years ago

It's because of the different implementations Alfresco uses internally. As CMIS Browser Bindings is considered an expermiental feature in Alfresco, we can expect other API chenges in the future.

I should not be hard to fix this particular issue. But I don't know if othes will come out fixing this one..

alfjjacob commented 10 years ago

Can you please let me know the Alfresco version on which it is working? If at all, I have to get it working on 4.0.x, I'll have something to compare with.

agea commented 10 years ago

Now I'm working on the latest community version (4.2.d)

alfjjacob commented 10 years ago

Thank You for the fix. It is working fine in 4.0.1