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

fixing the NoSuchElementException when availability of the underlying table is empty #702

Merged
merged 2 commits into from
May 17, 2018

Conversation

deepakb91
Copy link
Collaborator

Logic to generate intervals when CURRENT_MACRO_USES_LATEST flag is turned on has a bug. The code throws NoSuchElementException when the table has no availabilities. This PR fixes the bug by checking if the availability of the underlying table is empty.

@deepakb91 deepakb91 force-pushed the fix-last-time-macro branch from 2809142 to fd64bad Compare May 17, 2018 18:11
@QubitPi QubitPi merged commit 425a3b5 into master May 17, 2018
@QubitPi QubitPi deleted the fix-last-time-macro branch May 17, 2018 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants