Skip to content
New issue

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

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

Already on GitHub? # to your account

[RB_session] one candidate has multiple values with same visitNo #4677

Closed
kongtiaowang opened this issue May 22, 2019 · 2 comments
Closed

[RB_session] one candidate has multiple values with same visitNo #4677

kongtiaowang opened this issue May 22, 2019 · 2 comments

Comments

@kongtiaowang
Copy link
Contributor

to test run "php assign_missing_instruments.php "
there is no error massage like :

Fatal error: Uncaught DomainException: Attempt to use pselectRow on a query that returns multiple rows in /var/www/loris/php/libraries/Database.class.inc:835
Stack trace:
#0 /var/www/loris/php/libraries/Database.class.inc(973): Database->pselectRow('SELECT Visit_la...', Array)
#1 /var/www/loris/php/libraries/Candidate.class.inc(619): Database->pselectOne('SELECT Visit_la...', Array)
#2 /var/www/loris/tools/assign_missing_instruments.php(93): Candidate->getFirstVisit()
#3 /var/www/loris/tools/assign_missing_instruments.php(148): populateVisitLabel(Array, 'V1')

@kongtiaowang
Copy link
Contributor Author

@ridz1208
ex. 300299 .... in session table.

@ridz1208
Copy link
Collaborator

ridz1208 commented May 22, 2019

fixed

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

No branches or pull requests

2 participants