Mis actividades

septiembre 16
Ken Sperow ha escrito un comentario en 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}
septiembre 15
Ken Sperow ha escrito un comentario en LPS-53909.
agosto 19
Ken Sperow ha escrito un comentario en LPS-67458.
agosto 3
Ken Sperow ha añadido LPS-67458.
Ken Sperow ha añadido LPS-67457.
marzo 31
Ken Sperow ha respondido al mensaje de Sameer Naik en los foros, RE: openid-connect support in Liferay, en Liferay.com.
marzo 17
Ken Sperow ha respondido al mensaje de Jitendra Rajput en los foros, RE: Place attachment information in the message boards notification, en Liferay.com.
octubre 28
Ken Sperow ha escrito un comentario en LPS-49447.
octubre 27
Ken Sperow ha escrito un comentario en LPS-49447.
Ken Sperow ha escrito un comentario en LPS-49447.
Subscribirse a las actividades de Ken Sperow. (Abre una nueva ventana)