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 #5416 (closed)

Opened 8 years ago

Closed 8 years ago

Bug: Delete attachment and re-attach.

Reported by: jburel Owned by: jburel
Priority: major Milestone: OMERO-Beta4.3
Component: Insight Version: n.a.
Keywords: n.a. Cc: saloynton, ajpatterson
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-06-02 (13)

Description

  • Attach a file
  • Delete the file
  • Attach a file again.

This should need to be added to the scenario. Got the crash when debugging #5370

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot set the file's id.
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:875)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.uploadFile(OMEROGateway.java:3823)
	at org.openmicroscopy.shoola.env.data.OmeroMetadataServiceImpl.prepareAnnotationToAdd(OmeroMetadataServiceImpl.java:387)
	at org.openmicroscopy.shoola.env.data.OmeroMetadataServiceImpl.saveData(OmeroMetadataServiceImpl.java:989)
	at org.openmicroscopy.shoola.env.data.views.calls.StructuredAnnotationSaver$1.doCall(StructuredAnnotationSaver.java:90)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:655)
Caused by: Ice.ObjectNotExistException
    id.name = "c0:a8:1:4:-12121d83:1300c50c57d:-7ef3omero.api.RawFileStore"
    id.category = "5b260ec5-4874-46a2-bb7f-530c7a5d3f93"
    facet = ""
    operation = "setFileId"
	at IceInternal.Outgoing.invoke(Outgoing.java:147)
	at omero.api._RawFileStoreDelM.setFileId(_RawFileStoreDelM.java:176)
	at omero.api.RawFileStorePrxHelper.setFileId(RawFileStorePrxHelper.java:252)
	at omero.api.RawFileStorePrxHelper.setFileId(RawFileStorePrxHelper.java:224)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.uploadFile(OMEROGateway.java:3805)
	... 10 more

Change History (2)

comment:1 Changed 8 years ago by jburel

  • Status changed from new to accepted

comment:2 Changed 8 years ago by jburel <j.burel@…>

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

(In [780773c9e0f2f6e716947a0675b5fa21d07dc8d5/ome.git] on branch develop) Fix problem when deleting an attachment and re-attaching attachment (close #5416)

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.80053 sec.)

We're Hiring!