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

Behavior="single-row" does not support column name #543

Closed
fefeslon opened this issue Oct 16, 2019 · 5 comments
Closed

Behavior="single-row" does not support column name #543

fefeslon opened this issue Oct 16, 2019 · 5 comments

Comments

@fefeslon
Copy link

fefeslon commented Oct 16, 2019

Hi All,

I have tried to use the behavior="single-row" together with column name and got the following error message:
System.InvalidOperationException : Sequence contains no elements

It is working if I use column index instead of the name.

Is this a bug or a feature?

In case this is a feature, could it be possible to add this functionality to the next release?

Cheers.

@Seddryck Seddryck added the bug label Oct 16, 2019
@Seddryck Seddryck added this to the v1.21 milestone Oct 16, 2019
@Seddryck
Copy link
Owner

Sounds more like a bug than a feature. I don't remember any good reason to not be able to use column names with a single-row behavior.

@fefeslon
Copy link
Author

Ok, thanks.

One more note: I am using the latest release (1.21-RC.2).

Cheers.

@Seddryck
Copy link
Owner

The single-row behaviour was effectively expecting an ordinal comparison and not a named comparison. I changed this and it's now supporting both type of comparisons. Tell me if it works and I'll inlcude it in the final v1.21 (even if it's now in the v1.22 pipeline)

Beta available at https://ci.appveyor.com/project/Seddryck/nbi/builds/28229626/artifacts or NBi 1.22.0-beta0003

@fefeslon
Copy link
Author

Hey,

Just tried the 1.22 beta and the single row with column name works perfectly.

Thanks!

M.

@Seddryck
Copy link
Owner

Ok thx for feedback.

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

No branches or pull requests

2 participants