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 placeholder access arguments that do not map to objects #1008

Open
wants to merge 1 commit into
base: 7.x-1.x
Choose a base branch
from

Conversation

jacobembree
Copy link

When a placeholder access argument maps to a loaded object the list of access arguments at position index gets replaced with the loaded object. However, when there's no entity and a specific path component is chosen by number in access_arguments, the number indicating the path component is ignored, only the the index of the number in the list of access arguments is used.

This pull request fixes that by calling arg() with the number specified rather than position of the number.

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

Successfully merging this pull request may close these issues.

1 participant