Test Case attachments - Klaros Test Management - Forum - Klaros-Testmanagement
Test Case attachments
Dom Barker, geändert vor 12 Jahren.
Test Case attachments
Youngling Beiträge: 5 Beitrittsdatum: 06.09.12 Neueste Beiträge
Hi Guys,
Getting a:
Error Message: #{bean.saveIndividualWrapper}: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into K_ATTACHMENT_REF (VERSION, UUID, KL__ID) values (?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
Error when trying to save changes to replace an attachment on a test case.
Running:
3.6.10 - Build 143 (2012-08-27 10:26:45)
Create new test case
Add attachment to case
Save case
Return to Maintain test cases
Edit the test case just created
Remove the attachment just uploaded
Upload a new attachment
Save
->Get a Concurrent modification conflict
Save
Save again (without this step no attachment is saved if you return to Maintain test cases and go back into this case, also possibly an issue, but it does mean we can use this as a workaround as reattaching a new attachment works if we do this)
*Error occurs here*
Kind regards
Dom
Getting a:
Error Message: #{bean.saveIndividualWrapper}: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into K_ATTACHMENT_REF (VERSION, UUID, KL__ID) values (?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
Error when trying to save changes to replace an attachment on a test case.
Running:
3.6.10 - Build 143 (2012-08-27 10:26:45)
Create new test case
Add attachment to case
Save case
Return to Maintain test cases
Edit the test case just created
Remove the attachment just uploaded
Upload a new attachment
Save
->Get a Concurrent modification conflict
Save
Save again (without this step no attachment is saved if you return to Maintain test cases and go back into this case, also possibly an issue, but it does mean we can use this as a workaround as reattaching a new attachment works if we do this)
*Error occurs here*
Kind regards
Dom
Patrick Reilly, geändert vor 12 Jahren.
RE: Test Case attachments
Padawan Beiträge: 71 Beitrittsdatum: 23.02.11 Neueste Beiträge
Hi Dom,
thanks for the bug report!
I have been able to reproduce this problem. It seems to only happen when trying to simultaniously add and remove attachments, so a workaround could be to remove the attachments to be deleted, save and then add the new attachments.
We hope to have this fixed for the next version of Klaros!
Thanks again!
Regards,
Patrick
thanks for the bug report!
I have been able to reproduce this problem. It seems to only happen when trying to simultaniously add and remove attachments, so a workaround could be to remove the attachments to be deleted, save and then add the new attachments.
We hope to have this fixed for the next version of Klaros!
Thanks again!
Regards,
Patrick
Torsten Stolpmann, geändert vor 12 Jahren.
RE: Test Case attachments
Jedi Council Member Beiträge: 770 Beitrittsdatum: 12.02.09 Neueste Beiträge
Fixed with the 3.6.11 release.