Closed siddhanth339 closed 3 years ago
Does the master branch of caracal build and work ok for you?
Yes
Problem is with the develop branch
for anyone who's following this: the code for the said issue is in dev-backup
branch
@Brim were you able to reproduce anything similar during the time of #90 ? Strange that I did not face this issue, I'll try doing a fresh setup and let you know what I find.
update: I was able to reproduce the issue on a fresh setup
I believe this can be closed now.
Describe the bug When I run the application using docker-compose with Caracal (develop branch), caMicroscope, and Distro repos, I get errors based on accessing undefined values from the /Caracal/service/database/connector.js and the /Caracal/handlers/dataTransformationHandler.js files
To Reproduce Steps to reproduce the behavior:
docker-compose -f develop.yml build
docker-compose -f develop.yml up
Expected behavior Run the application smoothly without any errors.
Screenshots
System Information:
Additional context I suspect that these errors are due to lots of callback functions. The values of variables are being accessed outside the callback functions which are asynchronous, this being the main cause. Files to look into: