Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2497 (closed)

Opened 14 years ago

Closed 14 years ago

BUG: IUpdate.indexObject broken for objects not in current group

Reported by: jamoore Owned by: jamoore
Priority: critical Milestone: OMERO-Beta4.2
Component: Search Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-06-10 (11)

Description

Similar to the issues with shares fixed via #2219, IUpdate.indexObject is broken (and subsequently many OmeroPy tests) because the administrator is not necessarily in the group which owns the object.

Rather than force setSecurityContext to the group, we can move the share methods to a local interface (ome.api.local.LocalShare) which can be used to temporarily set the current thread in global READ state.

Change History (3)

comment:1 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:2 Changed 14 years ago by cxallan

  • Sprint changed from 2010-05-27 (10) to 2010-06-10 (11)

comment:3 Changed 14 years ago by jmoore

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7281]) FullTextIndexer now runs in a global READ state. Fix #2497, See #2219

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67520 sec.)

We're Hiring!