cBioPortal / cbioportal-core

Externalized cBioPortal Core
1 stars 13 forks source link

Initialise transactionTemplate if needed #55

Closed forus closed 1 month ago

forus commented 2 months ago

JdbcUtil.getTransactionTemplate() returned null causing null pointer exception for all commands that used transaction programatically:

forus commented 1 month ago

I think it would be good to include a test covering getTransactionTemplate in this case. Apparently the existing set of tests were not sufficient for catching this in CI 🤔

@pieterlukasse this case is covered by tests in cbiportal https://github.com/cBioPortal/cbioportal-core/issues/36