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

"Register" not allowed as name for taxonomy group? #2832

Closed
marflow opened this issue Nov 11, 2020 · 2 comments
Closed

"Register" not allowed as name for taxonomy group? #2832

marflow opened this issue Nov 11, 2020 · 2 comments

Comments

@marflow
Copy link

marflow commented Nov 11, 2020

After upgrading a site from v2 to v3 looping through taxonomies in group called "register" is no longer working. Neither the taxonomy titles nor entries are listed.

{{ taxonomy:register collection="informationen" sort="title" }}
    {{ title }}
    {{ entries sort="title" scope="informationen" }}
         {{ informationen:title }}
    {{ /entries }}
{{ /taxonomy:register }}

Changing the name of the taxonomy group fixed it.
Heads up or bug?

@duncanmcclean
Copy link
Member

duncanmcclean commented Nov 11, 2020

I can confirm this is a bug. register itself doesn't work, whereas something like register2 works fine. Maybe this is another thing for the reserved words list?

@jasonvarga
Copy link
Member

Looks like it is indeed reserved. That's a bit annoying, not much we can do about it right now though.

You can use the alternate syntax, though.

{{ taxonomy from="register" }}
...
{{ /taxonomy }}

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

No branches or pull requests

3 participants