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

Fix RFieldBase::GetNElements() for record/class fields #16588

Open
1 task done
jblomer opened this issue Oct 3, 2024 · 1 comment
Open
1 task done

Fix RFieldBase::GetNElements() for record/class fields #16588

jblomer opened this issue Oct 3, 2024 · 1 comment
Assignees

Comments

@jblomer
Copy link
Contributor

jblomer commented Oct 3, 2024

Check duplicate issues.

  • Checked for duplicates

Description

For all but record and class fields, the number of elements of that field is given by the number of elements of the principle columns. Records/classes don't have columns of their own. The information must be retrieved from one of the subfields.

Reproducer

The problem arises, e.g., when trying to iterate over the field range of a view of a record item of a collection.

ROOT version

master

Installation method

n/a

Operating system

n/a

Additional context

No response

@jblomer
Copy link
Contributor Author

jblomer commented Oct 6, 2024

In addition, enum fields and atomic files have no attched columns.

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

1 participant