Task #5530 (closed)
BUG: Failing testManageEnumeration integration test
| Reported by: | wmoore | Owned by: | atarkowska |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4.3 |
| Component: | OmeroPy | Version: | n.a. |
| Keywords: | n.a. | Cc: | jamoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2011-06-02 (13) |
Description (last modified by jmoore)
======================================================================
ERROR [18.533s]: testManageEnumeration (integration.itypes.TestTypes)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/integration/itypes.py", line 53, in testManageEnumeration
types.resetEnumerations("ExperimentTypeI")
File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/build/lib/omero_api_ITypes_ice.py", line 149, in resetEnumerations
return _M_omero.api.ITypes._op_resetEnumerations.invoke(self, ((enumClass, ), _ctx))
ValidationException: exception ::omero::ValidationException
{
serverStackTrace = ome.conditions.ValidationException: could not delete: [ome.model.enums.ExperimentType#16]; SQL [delete from experimenttype where id=?]; constraint [fkexperiment_type_experimenttype]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.enums.ExperimentType#16]
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
Change History (5)
comment:1 Changed 8 years ago by atarkowska
- Cc atarkowska added
- Owner changed from atarkowska to jmoore
comment:2 Changed 8 years ago by jmoore
- Cc jmoore added; atarkowska removed
- Description modified (diff)
- Owner changed from jmoore to atarkowska
comment:3 Changed 8 years ago by atarkowska
I passed it to you because it looked to me as a server error. If it works, then we can close it.
comment:4 Changed 8 years ago by atarkowska
- Resolution set to worksforme
- Status changed from new to closed
comment:5 Changed 8 years ago by jmoore
Will, speak up (i.e. re-open) if it's still failing for you. Ola I asked about it being passed to me because you wrote this test and the server code that implements the method.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Will, Ola, this test passes for me:
Is there any more information? Ola, why did you pass to me?