Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6CA44200ABD for ; Sat, 14 May 2016 09:53:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6B367160969; Sat, 14 May 2016 07:53:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8D516160131 for ; Sat, 14 May 2016 09:53:55 +0200 (CEST) Received: (qmail 56499 invoked by uid 500); 14 May 2016 07:53:54 -0000 Mailing-List: contact dev-help@openmeetings.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openmeetings.apache.org Delivered-To: mailing list dev@openmeetings.apache.org Received: (qmail 56485 invoked by uid 99); 14 May 2016 07:53:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 May 2016 07:53:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0E721C2A0A for ; Sat, 14 May 2016 07:53:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.448 X-Spam-Level: * X-Spam-Status: No, score=1.448 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id dGujWi9ygPpl for ; Sat, 14 May 2016 07:53:52 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F406A5FB08 for ; Sat, 14 May 2016 07:53:50 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id bt5so47645159pac.3 for ; Sat, 14 May 2016 00:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=w8OmihrYOQIxUfK6AyxBRNHBTWE+C/Nn/lrrBI/kbL8=; b=p1esLwId7PRE4+KjgeCrEGaROIxBmyzeX5LNbUYxx9zDc3EDydSjCv1Qm4OJ7cjFcR IuCjjfRP/433L7uHBy6dVxeOu/+N8P3pDatrHzg87O1LgrnNUyM6kJoTqcnPcwZKmGFc 3UgB2nLjgBqFj5ibdfsvhmWXdl+Z2Uf0CgaGmznzH+phdn1bEZWy14diJdAV17Oyuk0O Li5devvzkUchrWO1vIW5kXHAdGrWnXESiFebSh70DBd5Ik9TqyVp2gp2DogBKfJmRlnV +znO8T3zYHmmqean5a3DxTuUjb6SkMuqGUPC8BpmjRCKAwO58ypVH4XwtI0Fl86Qu+aZ lI7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=w8OmihrYOQIxUfK6AyxBRNHBTWE+C/Nn/lrrBI/kbL8=; b=k4B6vdNLLWjZ//VIP/q4DCECgajst/uamQA6rSoqWf2ThaEVi4CPMtD3m6WQd3/Sjk S/yFkrCslRwVDyrdS8BpHXY3paLX2albKlmgVN9F9GKg+UjDbcWCW6/xslXZyhblilj2 oqe/sYTRBKtnAxU30wE0SYsk/0lwBg13GFkrnoRtcOeF9gmgAD9RtEoCXkgX+dvBUGm7 QfUmhSU4y0XbyKTWPjwQ4m5aG0XbxNsdgeOJlcR3kHUDXMNrUAdhMuGXqJSG9gBhAB7D W8ZmdCtntQu4u+khAY90DySfWCKZAo66dKXhSMVC1AeS+pOgnqh128ZRaEmPvtUUa+f+ J/lw== X-Gm-Message-State: AOPr4FXnhR1nlxDkWOYQqXaH11j0ad0o8aiUPzH5manEwXTn32qtaBfRcu+H/7aJ1xf5RVonEd77XFRvwjqteA== MIME-Version: 1.0 X-Received: by 10.66.82.166 with SMTP id j6mr29063295pay.140.1463212429645; Sat, 14 May 2016 00:53:49 -0700 (PDT) Received: by 10.67.15.196 with HTTP; Sat, 14 May 2016 00:53:49 -0700 (PDT) In-Reply-To: References: <571E1CBC.3030408@Coscend.com> <5723B39C.4000102@Coscend.com> Date: Sat, 14 May 2016 13:53:49 +0600 Message-ID: Subject: Re: File upload to File Explorer completes but does not show From: Maxim Solodovnik To: dev Cc: "IT@Coscend.com" Content-Type: multipart/alternative; boundary=f46d042f9636199fee0532c8b100 archived-at: Sat, 14 May 2016 07:53:56 -0000 --f46d042f9636199fee0532c8b100 Content-Type: text/plain; charset=UTF-8 >> 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 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" >> 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 = + ";" + swfExt; >>>>> . . OR . . >>>>> allExt = + ";" + 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 --f46d042f9636199fee0532c8b100--