[LRA-232] Javascript Issue Prevents Tree View from Rendering Created: 30/Mar/16 Updated: 10/Jan/18 |
|
| Status: | Open |
| Project: | Liferay Apps |
| Component/s: | Document & Media Tree View |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Blocker |
| Reporter: | Clay Banks [X] (Inactive) | Assignee: | mcalvo |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Upon deployment of the Tree View hook, the tree view becomes available from the list of displays on my Documents and Media portlet (though the tree icon doesn't display)
When I toggle to this view, all my Documents & folders are removed from view and I'm getting the JS errors shown below: Regex Hide network messages All Errors Warnings Info Logs Debug Handled doc-repo-registry:1 Uncaught ReferenceError: _20_treeView is not defined 2 http://localhost:8090/html/js/rivetlogic/rl-content-tree-view.js Failed to load resource: the server responded with a status of 404 (Not Found) doc-repo-registry:1 Uncaught TypeError: Cannot read property 'ContentTreeView' of undefined |
| Comments |
| Comment by mcalvo [ 30/Mar/16 ] |
|
Hi Clay, thanks for using our app. Hi Clay, it could be because your browser doesn't get the latest CSS and JS file from the server. Can you please try this, and let us know: "If the file preview is not displayed correctly (image below), add the following parameters at the end of the URL ?js_fast_load=0&css_fast_load=0&strip=0 and refresh the page. The issue should be fixed. After that, you can remove the parameters off the URL." Also please take a look at the app documentation: http://wiki.rivetlogic.com/display/LRA/Document+and+Media+Tree+View Please let us know if that solves your issue. |
| Comment by Clay Banks [X] (Inactive) [ 31/Mar/16 ] |
| Hi Calvo, and thanks! I tried reloading with the additional params at the end of the URL but the issue remains. Any ideas? |
| Comment by mcalvo [ 31/Mar/16 ] |
| Hi, in order to help you we need to know: what version of Liferay are you using? is it CE or EE? is it Tomcat, JBoss or Glassfish? What browser are you using? |
| Comment by Clay Banks [X] (Inactive) [ 01/Apr/16 ] |
|
This would be Liferay EE 6.2 SP14 Tomcat 7 Error happens in Chrome, Firefox & IE |
| Comment by Clay Banks [X] (Inactive) [ 04/Apr/16 ] |
| Hi Manuel, just checking if you had any ideas on this issue I'm having |
| Comment by Luis Hernandez [X] (Inactive) [ 04/Apr/16 ] |
|
Hi Clay, I tried to reproduce this issue and i couldn’t reproduce it. I deployed the tree view app on a totally clear liferay server with the version: liferay-portal-6.2-ee-sp14 ,and tomcat version: tomcat-7.0.62 Watch the next evidence videos: -Chrome (version 49.0.2623.110): http://screencast.com/t/JPTVxyDJD -Firefox (version 39.0.3): http://screencast.com/t/175l7ORQY -IE 9: http://screencast.com/t/uQX2NQSSuAKn -IE 10: http://screencast.com/t/AvVpcgyjJ7 -IE 11: http://screencast.com/t/BLOUe3QvJEQ Additionally, i agree with the issues of the tree icon and the preview, but those issues are resolved with the extra params of the Manuel’s comment. |
| Comment by mcalvo [ 05/Apr/16 ] |
| Hi Clay, can you please try to install it again in your server? Remove it completely from your server and then install it again. We have not been able to reproduce this issue. |
| Comment by Clay Banks [X] (Inactive) [ 06/Apr/16 ] |
|
I tried installing on a clean LR bundle and it renders fine (although images popup when I hover over a document & prevent it from being clicked). I also uninstalled + reinstalled to my standalone instance but this did not fix the rendering issue |
| Comment by mcalvo [ 06/Apr/16 ] |
| Hi Clay, can you send us some screenshoots to this email address mcalvo@rivetlogic.com, or if you prefer you can give us your skype address and we will contact you and troubleshoot it with you. It will be free of charge. |
| Comment by Clay Banks [X] (Inactive) [ 06/Apr/16 ] |
| Forwarded the Screenshot - my skype address is claybanks1989@gmail.com |
| Comment by mcalvo [ 06/Apr/16 ] |
| We will contact you in about 1 hour. |
| Comment by mcalvo [ 06/Apr/16 ] |
| Clay that screenshot seems to be Liferay 7. We still haven't test it in Liferay 7. |
| Comment by mcalvo [ 06/Apr/16 ] |
| Ok, we sent you a skype request. |
| Comment by Clay Banks [X] (Inactive) [ 11/Apr/16 ] |
| Hi Calvo, would you/your team be available for a Webex meeting today? I'm unable to Skype on my work PC |
| Comment by mcalvo [ 12/Apr/16 ] |
| Hi Clay, yesteday Apr 11th was a holiday in Costa Rica. Some of us are located in Costa Rica. We can do it any other weekday, please schedule the appointment based on this calendar https://calendar.google.com/calendar/b/1/embed?src=manuel.calvo@rivetlogic.com&ctz=America/New_York |
| Comment by Clay Banks [X] (Inactive) [ 13/Apr/16 ] |
| alright I see you have some time tomorrow, would you mind speaking then? |
| Comment by mcalvo [ 13/Apr/16 ] |
|
Sure, we can do it tomorrow. Do you use google hangouts with that gmail acccount? |
| Comment by Clay Banks [X] (Inactive) [ 13/Apr/16 ] |
|
I can join a hangout on my mobile sure, but the PC I'm working on is unable to. You should be able to join a WebEx if I send out the invite & that way you can see my workspace - would that be suitable? |
| Comment by mcalvo [ 13/Apr/16 ] |
| OK, let use hangouts to be in contact an WebEx to see your workspace, my hangouts is mcalvo@rivetlogic.com |
| Comment by Clay Banks [X] (Inactive) [ 14/Apr/16 ] |
| Ok greate, are you able to access this link https://attend.webex.com/attend/j.php?MTID=m037234ad81eeda9fe93a0a6214aa6402 |
| Comment by mcalvo [ 14/Apr/16 ] |
| Yes I can. Also I sent you an invitation to chat using google hangouts. |
| Comment by mcalvo [ 14/Apr/16 ] |
| We are going to create a new version, that doesn't have those paths hard coded. We will let you know once it has been released. |
| Comment by Clay Banks [X] (Inactive) [ 18/Apr/16 ] |
|
Hi Manuel, does your team have any plan to display the tree structure on the left hand panel of the Documents & Media Portlet? (Where the 'Home', 'Recent', and 'Mine' view reside) If not it would really be a great feature of the view, kind of like how windows explorer works |
| Comment by mcalvo [ 18/Apr/16 ] |
| I´m afraid we are not, as it won´t follow the guidelines of the other views. We can´t break that. On another topic we have the fix for the issue when Liferay is not deployed in the root context. |
| Comment by Clay Banks [X] (Inactive) [ 18/Apr/16 ] |
| Great! Where can I find the fixed version? |
| Comment by mcalvo [ 18/Apr/16 ] |
|
Tomorrow we will upload the new version to the marketplace. Then Liferay will take about 2 week to validate it, and then they will make it available to everyone. If you can't wait, you can build it yourself from Git here: https://github.com/rivetlogic/liferay-document-and-media-treeview |