Open Images Platform

Uploads do not appear on the media page (but are visible via the user profile page of the uploader)

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: OIP 1.1
  • Fix Version/s: OIP 1.1.1
  • Component/s: Transcoding
  • Description:
    Hide
    i think this is a known problem, have mentioned this a couple of times. i think the explanation was that the pages are generated differently:

    On 20 Jun 2011, at 14:03, André van Toly wrote: Soms heeft de Lucene zoekmachine indexering kuren op oip-test. Ik zal 'm even een schop geven. Nu zie je 'm wel.

    that appears to happen on the production server as well.
    Show
    i think this is a known problem, have mentioned this a couple of times. i think the explanation was that the pages are generated differently: On 20 Jun 2011, at 14:03, André van Toly wrote: Soms heeft de Lucene zoekmachine indexering kuren op oip-test. Ik zal 'm even een schop geven. Nu zie je 'm wel. that appears to happen on the production server as well.
  • Environment:
    mac os 10.6.8 google chrome

Activity

Hide
André van Toly added a comment - 2011-08-25 17:58
There are three mechanisms involved here when new media is created in OIP. Most importantly when media is uploaded it is not immediately (but almost) indexed by the search engine Lucene. Besides that there is an caching mechanism in effect on the homepage that caches items for about 120 seconds.

1. Media is almost immediately visible on a users media or profile page since these derive from a MySQL query on the database.

2. The /media page gets its content from Lucene, so it may take a (short) minute before its visible here. Indexing a new media item is done almost immediately after is becomes available (= upload completely finished). Lucene gets a signal from MMBase and does its work.

3. The homepage gets its 'New media' content from Lucene. Besides that it caches the 'New media' list for 120 seconds. This is a bit of a legacy thing. Before the automatic previews of videos were created, we uploaded images ourselves and it looked a bit silly to have the default grey image on our homepage. Besides the cache lessens the number of queries on Lucene (although that's not really an issue since Lucene can handle quite a lot).

If you feel we need to change this, we can, but I see no real reason and propose just to close this issue with 'Won't fix'.
Show
André van Toly added a comment - 2011-08-25 17:58 There are three mechanisms involved here when new media is created in OIP. Most importantly when media is uploaded it is not immediately (but almost) indexed by the search engine Lucene. Besides that there is an caching mechanism in effect on the homepage that caches items for about 120 seconds. 1. Media is almost immediately visible on a users media or profile page since these derive from a MySQL query on the database. 2. The /media page gets its content from Lucene, so it may take a (short) minute before its visible here. Indexing a new media item is done almost immediately after is becomes available (= upload completely finished). Lucene gets a signal from MMBase and does its work. 3. The homepage gets its 'New media' content from Lucene. Besides that it caches the 'New media' list for 120 seconds. This is a bit of a legacy thing. Before the automatic previews of videos were created, we uploaded images ourselves and it looked a bit silly to have the default grey image on our homepage. Besides the cache lessens the number of queries on Lucene (although that's not really an issue since Lucene can handle quite a lot). If you feel we need to change this, we can, but I see no real reason and propose just to close this issue with 'Won't fix'.
Hide
André van Toly added a comment - 2011-10-25 14:10
A message mentioning that it can take a few minutes before uploads appear will be added.
Show
André van Toly added a comment - 2011-10-25 14:10 A message mentioning that it can take a few minutes before uploads appear will be added.
Hide
André van Toly added a comment - 2011-10-31 11:13
<p><fmt:message key="users.upload.takesawhile" /></p> toegevoegd aan het upload formulier
Show
André van Toly added a comment - 2011-10-31 11:13 <p><fmt:message key="users.upload.takesawhile" /></p> toegevoegd aan het upload formulier
Hide
André van Toly added a comment - 2011-11-08 20:02
Preparing 1.1.1.
Show
André van Toly added a comment - 2011-11-08 20:02 Preparing 1.1.1.

People

Dates

  • Created:
    2011-07-04 15:02
    Updated:
    2011-11-08 20:02
    Resolved:
    2011-10-31 11:13