question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add notification or documentation for: Adding original entries to new group configuration unexpectedly modifies original entries

See original GitHub issue

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

Windows 10

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

Steps to reproduce: Part 1:

  1. Create a new library.
  2. Click on Add group button.
  3. Input name test1 for the group and create the group.
  4. Create 2 articles in All entries.
  5. Input author field with steven and mike for each article respectively.

Part 2:

  1. Right click on test1 group -> Edit group
  2. Select Searching for a keyword under Collect by.
  3. Input author as field and steven as keyword, then click on ok button and ok button for warning dialog. (test1 group has a steven article entry)

Part 3:

  1. Right click on test1 group -> Edit group
  2. Select Searching for a keyword under Collect by.
  3. Input author as field and mike as keyword, then click on ok button and ok button for warning dialog. (test1 group now has 2 articles which are steven,mike and mike articles)

EXPECTED:
I am expecting that part 3 will return both `steven` and `mike` articles.

ACTUAL: However, 1 of the articles’ author field has been merged to steven,mike. Is this an expected behaviour? From my understanding, Collect by should only return filtered entries without any entries modification.

111

Appendix

Log File
Paste an excerpt of your log file here

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
LIM0000commented, Jun 21, 2022

I have done more researches to issue and understand what is happening behind the hood of the issue with Searching for a keyword.

When user edits a group from Explicit selection to Searching for a keyword, the group type changes from ExplicitGroup to WordKeywordGroup. This WordKeywordGroup functions DYNAMICALLY. Using example from above, we set the field as author and keyword as mike in WordKeywordGroup, this group will automatically assign ANY NEW entries that have author=mike into it.

However, if user assigns any entry that does not have author=mike and the group is WordKeywordGroup, the group will have to modify the field and the value of the entry. Using example from above again, we set the field as author and keyword as mike in WordKeywordGroup, if user “forcefully” assigns entry with author=steven into this group, it does not make sense for WordKeywordGroup as this entry does not have mike in it. Therefore, WordKeywordGroup will append mike into the entry’s author field which results in author=steven, mike. Now the WordKeywordGroup able to add the entry into its group.

WordKeywordGroup behaves correctly. Although there is a warning dialog asking users whether they would like to assign the original group’s entries to this group, there is no warning dialog about modifying users’ entries.

111

1reaction
Siedlerchrcommented, Jun 28, 2022

I was to free to fix the l10n tests and to make the buttons more explicit.

grafik
Read more comments on GitHub >

github_iconTop Results From Across the Web

Known issues for managing Group Policy clients - Windows ...
Describes known issues that occur when you manage a Windows 10 Group Policy Client from a Windows Server 2012 R2 server.
Read more >
Troubleshooting ConfigSync and device service clustering ...
A user updates the configuration of a BIG-IP device group member using the Configuration utility or TMOS Shell (tmsh). The system communicates ...
Read more >
Uploading Changes - Gerrit Code Review
Gerrit supports three methods of uploading changes: Use repo upload , to create changes for review. Use git push , to create changes...
Read more >
ncic operating manual article file - Probation
If the inquiry is in the NCIC with the RSH Field set to Y, ... In such a case, it is necessary to...
Read more >
Configuring device mapper multipath - Red Hat Customer Portal
When you create, modify, or list a multipath device, you get a display of the ... these attributes for a specific multipath device...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found