microtan / nhin-d

Automatically exported from code.google.com/p/nhin-d
0 stars 0 forks source link

Can't add trust bundle using Oracle as DB backend #235

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Point the config service at an Oracle DB, allowing it to create/update the 
schema itself (generateDdl=true)
2. Start up
3. Go to config UI, attempt to add a trust bundle

What is the expected output? What do you see instead?

Expected: trust bundle added
Actual: error displayed, underlying error is a constraint violation on 
TRUSTBUNDLE.GETCHECKSUM due to attempting to set a null value to a non-nullable 
field

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

2.0.1 on Linux (RHEL), using Oracle as the database backend

Please provide any additional information below.

I was able to work around by removing the not-null constraint on the column. 
The system appears to work fine after this, though we haven't exhaustively 
tested it by any means.

Original issue reported on code.google.com by tavish.f...@orionhealth.com on 27 Mar 2014 at 7:59