Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On teardown, close all sails-oracle-db connections automatically. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wawimundo
Copy link

Upon sails.lower, the following error occurs:

TypeError: Cannot read property 'connection' of undefined
at Object.module.exports.adapter.teardown (/home/ec2-user/.jenkins/workspace/efs-logs-activity-service/node_modules/sails-oracledb/index.js:134:51)

Apparently, the tearDown() method is being called with a null. Created a patch to automatically look for adapter "sails-oracledb" connections.

@atiertant
Copy link
Owner

didn't see anything talking about null in tearDown method in documentation,looks like a bug in sails or waterline,... https://github.com/balderdashy/waterline/issues/697 ???

@Galaf
Copy link

Galaf commented Jun 19, 2015

Still happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants