maria-grigorieva / icatproject

Automatically exported from code.google.com/p/icatproject
0 stars 0 forks source link

InvestigationUsers not persisted on create Investigation #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Locally create a new Investigation and associate some InvestigationUsers 
with it.
2. Call the webservice create method for the Investigation

What is the expected output? What do you see instead?
Expected: An investigation to be created with associated InvestigationUsers

Actual result: " IcatException INTERNAL Unexpected DB response class 
java.lang.RuntimeException modId not set on Investigator[id=40289721]"

In the logs:
TRACE BeanManager - Transaction rolled back for creation of 
Investigation[id=40289720] because of class java.lang.RuntimeException modId 
not set on Investigator[id=40289721]

What version of the product are you using? On what operating system?
ICAT 4.2.2

Original issue reported on code.google.com by tom.grif...@stfc.ac.uk on 27 Feb 2013 at 4:47

GoogleCodeExporter commented 9 years ago
I have added a test for this which shows the bug and fixed it. It will appear 
in 4.2.4 at which point it will be marked as fixed. Thanks for the clear bug 
report.

Steve

Original comment by dr.s.m.f...@gmail.com on 12 Mar 2013 at 9:43

GoogleCodeExporter commented 9 years ago
Fixed in 4.2.4

Original comment by dr.s.m.f...@gmail.com on 14 Mar 2013 at 11:29