-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
(Sub)Subgroups by keyword in Groups pane do not capture nested keyword entries #7326
Comments
@bjhamilton I'll just briefly answer parts of your PS. I want two things to be clear,
It was an available option, but the text
were shown as a comment in the text field were you wrote your question, I'd guess this is what tobiasdiez refers to. The original options were created 2 years ago, and I'd guess that these "links" that my commit added were not possible at that time.
When a user creates an issue for a bug, I know that someone is using that feature and that they define what is required for the issue to be fixed. This is important because with a very high likelihood, if there is a bug, it means that both the person fixing the issue and the persons reviewing the changes have not used that feature. You are the one setting the scope for what will be solved. Perhaps I should have created this issue myself, but I did not completely understand your original question, and I still don't. If you believe this will solve it, it is imo fair enough. If I had created this issue, it would have forced me to spend time restricting the scope of this issue based on trying to understand the intended functionality from the source code. This is quite time inefficient, it would likely have lead to a different scope, and it is time that I might now spend fixing the issue instead 😜 Remember, everyone here is a volunteer and is doing this on their spare time. I am unemployed and I have issue finding enough time to deal with JabRef and its community. In my opinion, given that the JabRef core has day jobs, they must be demi-gods creating spare-time from empty space. Lastly. I am not going to write anything more regarding anything not strictly related to the technical part of this issue. I don't think my involvement has been positive. My apologies to everyone involved. |
I think this is bound to happen if communication only takes place only and one doesn't know each other already in real life, especially combined with expectations and frustrations on both sides (user: "This is not working as I want it to be - shit - Please fix it asap!", developer: "God damn, another broken thing. I wanted to work on something else actually. - Please give at least enough information to reproduce it."). I hope everyone is kind of happy again and we can move on to fixing the actual issue. The feature works in principle (I use it daily), so I guess it it's specific to this setup / example. First of all, the delimiters should be Secondly, I think there is a space missing. Could you try with |
Don't leave on the basis you believe you have not been constructive. I don't take this view. I was being playful and didn't intend to cause a bad impression. My apologies.
100%! Great software.
That was the source of the problem. Many thanks for resolving this for me. I'm pleased that two improvements came out of this at least. |
Glad it worked for you. May I ask you to revise the documentation accordingly so that other users have a smoother path using that feature: https://github.com/JabRef/user-documentation/blob/master/en/finding-sorting-and-cleaning-entries/groups.md |
Sure. |
JabRef version:
This bug report relates to my Question raised here, which turns out to be a bug.
Steps to reproduce the behaviour:
By keyword
" will do and select Independent for Hierarchical contextkeywords
in Field to group by and specify semi-colon;
twice in each field for Delimiter(s)Note: In step (4) I specified
;
twice. I do this twice because I have noticed more consistent behaviour in the UI and groups when typing the delimiter twice rather than leaving one field blank. However, this is not the focus of this bug report. Next, I use semi-colon, but you should use whatever your bib(la)tex source delimiter is.When you do this you'll have a group under the
Groups
pane titledBy keyword
. Subgroups will contain entries collected by keyword in thekeywords = {...},
variable of the library bib(la)tex source.keywords
variable present then add the following to the entry's source:keywords = {TEST_GRP>TEST_KW; TEST_GRP_B;},
(Or, if
keywords
exists just append my string within the braces to your keywords if already present)By keyword
collection and look for subgroupTEST_GRP
andTEST_GRP_B
.TEST_GRP
has a sub-subgroupTEST_KW
with zero entries, butTEST_GRP_B
has exactly 1.BUG: The expected result should be
TEST_KW
andTEST_GRP_B
contain exactly 1 entry which is the library entry used in step (6). The bug is that nested keywords are not capturing the entry and the sub/subgroup integer value does not increment. Non-nested keywords however do work correctly.I have run JabRef with
jabref --console
andjabref --debug
to give stdout, but there is no useful output to attach. Perhaps you can show me where to make changes to the JVM config to write debug to a file?EDIT:
>
and|
as a nesting operator for the Groups pane via thekeywords
field included in the docs?The text was updated successfully, but these errors were encountered: