• 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 Ticket
  • Next Ticket →

Ticket #307 (assigned defect)

Opened 2 years ago

Last modified 15 months ago

Hibernate improperly handles Permissions components that are null

Reported by: jmoore Owned by: jmoore
Priority: major Milestone: 3.0-RC1
Component: ORM Version: 3.0-M3
Keywords: hibernate, HHH-2027, cleanup Cc: callan

Description

For #182, it is important to set Permissions to null by default. However, Hibernate has some quirks when an interceptor un-nulls a null-valued component. See HHH-2027 for more. Until this is fixed, we'll workaround.

Change History

Changed 2 years ago by jmoore

  • status changed from new to assigned

r895 UpdateFilter provides the workaround for HHH-2027 . This logic should be put into SecuritySystem.transientDetails as soon as possible. BasicSecuritySystem.managedDetails is also aware of the workaround so that permissions don't get reset.

Changed 2 years ago by jmoore

  • cc callan added
  • keywords HHH-2027,iteration4 added; HHH-2027 removed

How do we want to schedule this type of defect? Close, and add a new ticket to review later?

Changed 2 years ago by jmoore

r900 filters off the SOFT flag from this workaround. See #182

Changed 2 years ago by jmoore

  • keywords HHH-2027 added; HHH-2027,iteration4 removed
  • milestone changed from 3.0-M3 to Blocked

Moving into milestone:Blocked. There's not much we can do about this until someone submits a patch. There are "WORKAROUND" markers throught the server component where this needs to be fixed.

Changed 2 years ago by jmoore

  • milestone changed from Blocked to 3.0-M4

http://opensource.atlassian.com/projects/hibernate/browse/HHH-2027 has been marked resolved.

Changed 18 months ago by jmoore

  • keywords HHH-2027, iteration6 added; HHH-2027 removed

Changed 18 months ago by jmoore

  • keywords cleanup added; iteration6 removed
  • milestone changed from 3.0-Beta2 to 3.0-RC1

Changed 15 months ago by jmoore

http://opensource.atlassian.com/projects/hibernate/browse/HHH-2542 may also be involved.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

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