Return-Path: X-Original-To: apmail-roller-user-archive@www.apache.org Delivered-To: apmail-roller-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61799970C for ; Wed, 11 Jan 2012 10:25:29 +0000 (UTC) Received: (qmail 68193 invoked by uid 500); 11 Jan 2012 10:21:27 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 67809 invoked by uid 500); 11 Jan 2012 10:21:11 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 67371 invoked by uid 99); 11 Jan 2012 10:20:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 10:20:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.210.178] (HELO mail-iy0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 10:20:50 +0000 Received: by iabz7 with SMTP id z7so960472iab.9 for ; Wed, 11 Jan 2012 02:20:27 -0800 (PST) Received: by 10.50.40.133 with SMTP id x5mr5938082igk.29.1326277227494; Wed, 11 Jan 2012 02:20:27 -0800 (PST) Received: from [192.168.51.2] ([121.98.227.134]) by mx.google.com with ESMTPS id he16sm3715450ibb.9.2012.01.11.02.20.24 (version=SSLv3 cipher=OTHER); Wed, 11 Jan 2012 02:20:26 -0800 (PST) Message-ID: <4F0D6266.4050703@davekoelmeyer.co.nz> Date: Wed, 11 Jan 2012 23:20:22 +1300 From: Dave Koelmeyer User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:9.0) Gecko/20111221 Thunderbird/9.0 MIME-Version: 1.0 To: user@roller.apache.org CC: David Johnson Subject: Re: Roller 5 - uploaded media files not available for selection References: <4EF6F4E0.8010503@me.com> <4F069AC4.9030805@auckland.ac.nz> <30C30B5D-E427-45AC-BDE7-2D355BE7D7CC@gmail.com> In-Reply-To: <30C30B5D-E427-45AC-BDE7-2D355BE7D7CC@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 01/11/12 02:56 AM, David Johnson wrote: > I haven't seen that behavior. I wonder if it is something specific to Glassfish 3.1.1 and the EclipseLink JPA used in Glassfish. Does this happen for all media types or just PNG? > > - Dave Hi Dave, Thanks for the reply - I have tried with JPEG images, and I observe the same behaviour. Any ideas about where to start looking for clues? Cheers, -- Dave Koelmeyer http://blog.davekoelmeyer.co.nz > > > On Jan 6, 2012, at 1:55 AM, Dave Koelmeyer wrote: > >> On 12/25/11 11:03 PM, Dave Koelmeyer wrote: >>> Hi All, >>> >>> I have installed Roller 5.0 on the following platform: >>> >>> GlassFish 3.1.1 >>> PostgreSQL 8.4 >>> JDK 6u26 >>> >>> In Roller I have created both an admin account and a standard user account, but otherwise have not performed much else in the way of configuration or customization, aside from adding the "Lightword" theme. >>> >>> My issue is that I can apparently upload media files (e.g. PNG images) using the "Media Files" feature, but uploaded files do not appear as selectable items in the Media Files view - except after restarting the application server. >>> >>> For example: >>> >>> 1) Log into Roller as a standard (i.e. non-admin user) >>> 2) Click on "Create and Edit" -> "New Entry", and fill out some blog information (title, content etc.) >>> 3) Click on the "Media Files" tab >>> 4) On the "Actions" area on the right-hand side, click on "Add Media File" >>> 5) Choose a file to upload (example is a PNG file), and click on "Upload" >>> 6) Roller reports success: >>> >>> "Uploaded file(s): >>> "https://192.168.1.1:8081/roller/dave/mediaresource/5f4670f......" >>> >>> 7) Click on "Return to Media File View" >>> >>> At this point I would expect to see my file visible for selection here, but I don't. Flicking the "Sort by" setting across "Name", "Date" and "Type" filters doesn't change the behaviour. Strangely, if at this point I search for the file (on the right hand side menu) explicitly for the file type "Image", the image is successfully located and displayed in the Media Files view. >>> >>> If I create a new blog entry or edit an existing entry and click on the "Add Image" link (I have the Xinha editor enabled), the image I have uploaded is not visible in the "Media File Chooser" window that appears. >>> >>> As mentioned, if I restart GlassFish, the images are then visible in the Media File view and available for selection in the "Media File Chooser" window. >>> >>> Any ideas? >>> >> Bump - anyone? >> >> (and apologies to whoever is moderating this list - I have only just realised that I have been getting my subscribed email addresses mixed up). >> >> Cheers, >> Dave >>