openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Solodovnik <solomax...@gmail.com>
Subject Re: File upload to File Explorer completes but does not show
Date Sat, 14 May 2016 07:53:49 GMT
>> However, file explorer does not show this SWF filename

File explorer display files available via REST API
Could you check if your new files are available via REST API?
http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/FileWebService.html#getRoomByParent(java.lang.String,%20long,%20long)

if not you can debug FileWebService
If it is available you need to check baseFileExplorerItem.lzx and
investigate what is wrong

On Fri, May 13, 2016 at 12:42 AM, Susheel Jalali <Susheel.Jalali@coscend.com
> wrote:

> Hello Maxim,
>
> We appreciate any insight or pointer on this issue. There is no error
> popup or error dialog shown. The SWF file gets loaded to "upload/files"
> directory but not appearing in Files section of Room, nor in whiteboard.
> (Details below).
>
> Thank you.
>
> --
>
> Regards,
>
> Susheel Jalali
> Coscend Communications Solutions
> www.Coscend.com
> ----------------------------------------------------------------
> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
> Messages from Coscend Communications Solutions' posted at:
> http://www.Coscend.com/Terms_and_Conditions.html
>
>
> On 04/30/16 02:56, Maxim Solodovnik wrote:
>
>> Hello Susheel,
>> I will answer you after May 9
>> It is public holidays here in Russia and I'm going to have mountain trip
>> :)
>>
>> WBR, Maxim
>> (from mobile, sorry for the typos)
>> On Apr 30, 2016 01:22, "Susheel Jalali" <Susheel.Jalali@coscend.com>
>> wrote:
>>
>> Dear Maxim,
>>>
>>> Thank you for pointing us to StoredFile.java
>>>
>>> The ./upload/files/OUR_UPLOADED_SWF_FILENAME.swf appears (the name is in
>>> hash format)
>>>
>>> However, file explorer does not show this SWF filename, and whiteboard
>>> does not display it on direct upload to it.
>>>
>>> PDF and image files are being uploaded and displayed in the File Explorer
>>> as well as in whiteboard
>>>
>>> Which other files (e.g.  fileUpload.java or UploadController.java) do we
>>> need to modify, to eliminate this SWF file upload error?
>>>
>>> In UploadController.java, there is a commented out line of code. Is this
>>> relevant?
>>>              // Flash cannot read the response of an upload
>>>              // httpServletResponse.getWriter().print(returnError);
>>>
>>> --
>>>
>>> Regards,
>>>
>>> Susheel Jalali
>>> Coscend Communications Solutions
>>> www.Coscend.com
>>> ----------------------------------------------------------------
>>> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
>>> Messages from Coscend Communications Solutions' posted at:
>>> http://www.Coscend.com/Terms_and_Conditions.html
>>>
>>>
>>> On 04/25/16 19:09, Maxim Solodovnik wrote:
>>>
>>> You need to add swf to StoredFile.java
>>>> I believe swf files are blocked due to it might be security hole
>>>>
>>>> On Mon, Apr 25, 2016 at 7:33 PM, Susheel Jalali <
>>>> Susheel.Jalali@coscend.com>
>>>> wrote:
>>>>
>>>> Dear OpenMeetings Developers,
>>>>
>>>>> We want to upload SWF files to file explorer and display on whiteboard,
>>>>> but the upload is failing with HTTP 500 Error.
>>>>> However, all the other formats (PPT, PDF, DOC, PNG and other image
>>>>> formats) are getting uploaded, and also displayed on whiteboard.
>>>>>
>>>>> We appreciate any pointer to help with this.
>>>>>
>>>>> Details:
>>>>> -------
>>>>> Do we need to modify any program code (e.g. uploadWindowExplorer.lzx,
>>>>> fileUpload.lzx or other) ?
>>>>> For example, code  to skip any file-type-verification or OO / Jod/
>>>>> conversion calls in the case where the file being uploaded is already
>>>>> in
>>>>> SWF format.
>>>>>
>>>>> We noticed that "*.swf" is not mentioned in the lists of file types
>>>>> that
>>>>> are setup in the "browse" method in "fileUpload.lzx",
>>>>> Does this issue need addition of  lines for SWF, like:
>>>>>     , swfExt = "*.swf"
>>>>>    . . .
>>>>>     , imgExt = <existing list> + ";" + swfExt;
>>>>>    . .  OR . .
>>>>>       allExt =  <existing list> + ";" + swfExt;
>>>>>
>>>>>
>>>>> PS. Could not find related question/answer in past email archives; the
>>>>> closest came to:
>>>>> code.google.com/archive/p/openmeetings/issues/370 and 371,
>>>>> but those deal with OpenOffice or JOD converter topics, after
>>>>> successful
>>>>> upload.
>>>>>
>>>>> --
>>>>>
>>>>> Sincerely,
>>>>>
>>>>> Susheel Jalali
>>>>> Coscend Communications Solutions
>>>>> www.Coscend.com
>>>>> ----------------------------------------------------------------
>>>>> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
>>>>> Messages from Coscend Communications Solutions' posted at:
>>>>> http://www.Coscend.com/Terms_and_Conditions.html
>>>>>
>>>>>


-- 
WBR
Maxim aka solomax

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message