• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Changeset
  • Next Changeset →

Changeset 2464

Show
Ignore:
Timestamp:
06/05/08 13:33:46 (6 months ago)
Author:
callan
Message:

Fixes rendering def choice functionality for cached thumbnails provided in lue of full #1000 implementation.

Files:
1 modified

  • trunk/components/server/src/ome/services/ThumbnailBean.java (modified) (2 diffs)

Legend:

Unmodified
Added
Removed
  • trunk/components/server/src/ome/services/ThumbnailBean.java

    r2435 r2464  
    421421     */ 
    422422    private Thumbnail getThumbnailMetadata(int sizeX, int sizeY) { 
    423         Long userId = getSecuritySystem().getEventContext().getCurrentUserId(); 
     423        Long userId = settings.getDetails().getOwner().getId(); 
    424424        Parameters param = new Parameters(); 
    425425        param.addId(pixels.getId()); 
    … …  
    443443     */ 
    444444    private List<Thumbnail> getThumbnailMetadata() { 
    445         Long userId = getSecuritySystem().getEventContext().getCurrentUserId(); 
     445        Long userId = settings.getDetails().getOwner().getId(); 
    446446        List<Thumbnail> thumbs = iQuery.findAllByQuery( 
    447447                "select t from Thumbnail as t where t.pixels.id = :id and " + 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/