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

On duplicate group names #1508

Closed
anassal opened this issue Jun 21, 2016 · 1 comment
Closed

On duplicate group names #1508

anassal opened this issue Jun 21, 2016 · 1 comment

Comments

@anassal
Copy link

anassal commented Jun 21, 2016

In JabRef version 3.4:

If you create a group structure like this:

Asthma
    Treatment
Diabetes
    Treatment

And then assign an article to the group Treatment under Asthma it will also appears in the other Treatment group.

I guess this is a bug?

If group names should be unique (regardless of the hierarchy), the above structure could be renamed like this:

Asthma
    Asthma.Treatment
Diabetes
    Diabetes.Treatment

However, I suggest that:

  • Each group is identified by both its name and lineage, so that duplicate names are not allowed among sibling groups but are allowed elsewhere (just like file systems, so validation is needed when a group is created or moved). This would allow having simpler names in the above example without conflicts/ambiguity when assigning articles.
  • The bibtex groups field to include the complete-lineage name of every group, e.g.
    groups = {Asthma/Treatment, Diabetes/Treatment}.
@lenhard
Copy link
Member

lenhard commented Jun 22, 2016

Thanks for spelling this out so nicely, but the bug has already been reported in #1495.

So, I am closing this as a duplicate.

This issue was closed.
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