Le mie Attività

settembre 16
Ken Sperow ha lasciato un commento su LPS-67458.
10.44 Debugging the resource browser within the browsers developer's tools. It appears that browser.html makes an asynchronous call to "GetFoldersAndFiles" with the following sURL: /c/portal/fckeditor?p_p_id=15&Command=GetFoldersAndFiles&Type=Document&SortType=Title&Ascending=true&CurrentFolder=%2F&uuid=1473977114889 {code} if ( callBackFunction ) oXML.LoadUrl( sUrl, callBackFunction ) ; // Asynchronous load. else return oXML.LoadUrl( sUrl ) ; {code} If you trace this down further GetFoldersAndFilesCommand ends up calling DocumentCommandReceiver and within the getRootFolders method it does the following: {code} if (group.hasStagingGroup()) { Group stagingGroup = group.getStagingGroup(); if ((stagingGroup.getGroupId() == doAsGroupId) && group.isStagedPortlet(portletId) && !group.isStagedRemotely() && isStagedData(group)) { groupId = stagingGroup.getGroupId(); descriptiveName = stagingGroup.getDescriptiveName(); } } {code} The code knows that the staged group is staged but it fails to go into the second if block because "doAsGroupId" is zero. The root cause is that the sURL passed in from browser.html doesn't include the "doAsGroupId" that is passed into it as a parameter. I fixed this issue by hooking: custom_jsps/html/js/editor/ckeditor/editor/filemanager/browser/liferay/browser.html. Here are the fairly simple additions needed: {code} 150,158d149 < // KS - need to pass the doAsGroupId if it exists < var doAsGroupIdParam = GetUrlParam( 'doAsGroupId' ) ; < < if (doAsGroupIdParam) { < sUrl += '&doAsGroupId=' + doAsGroupIdParam ; < } {code}
settembre 15
Ken Sperow ha lasciato un commento su LPS-53909.
agosto 19
Ken Sperow ha lasciato un commento su LPS-67458.
agosto 3
Ken Sperow ha aggiunto LPS-67458.
Ken Sperow ha aggiunto LPS-67457.
marzo 31
Ken Sperow replied to Sameer Naik's message board post, RE: openid-connect support in Liferay, in Liferay.com.
marzo 17
ottobre 28
Ken Sperow ha lasciato un commento su LPS-49447.
ottobre 27
Ken Sperow ha lasciato un commento su LPS-49447.
Ken Sperow ha lasciato un commento su LPS-49447.
Inscriviti alle attività di Ken Sperow. (Apri una nuova finestra)