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

Keyword - Special field synchronization #2583

Merged
merged 4 commits into from
Feb 22, 2017
Merged

Conversation

stefan-kolb
Copy link
Member

@stefan-kolb stefan-kolb commented Feb 22, 2017

Fixes #2580
Synch should now work appropriately.

Few questions here @koppor and all others:

  • If keyword sync is enabled, there is the possibility that we have multiple rank1, rank4 keywords.
    Only the first one is synched with the special field. Was this always like this? Seems like a bug to me.

  • If we change the preferences from write special fields to file to keyword synchronization the data gets lost. Did I introduce this or was this a bug?

@stefan-kolb stefan-kolb added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Feb 22, 2017
Copy link
Member

@lenhard lenhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I have keyword synchronization enabled and remove the value of a special field in the "Other fields" tab in the entry editor, this does not synchronize with the keywords field. I am not sure if that ever was the case before, but since you are at it, please fix this as well.

The rest works though, and I have nothing to criticize in your code.

Regarding the behavior of special fields, I cannot really give you advice on how it has been before, since I do not use them.

Also note that this keyword synchronization thing is addressed by @tobiasdiez for the groups at the moment, see: #2563 (comment)

Maybe we can build a good reusable solution for keyword synchronization?

@stefan-kolb
Copy link
Member Author

stefan-kolb commented Feb 22, 2017

@lenhard talked to @koppor This was always the case. writable fields and keyword fields were never synchronized. we have to defer this until a reimplementation.

See #574

@stefan-kolb stefan-kolb merged commit 1aa1ad0 into master Feb 22, 2017
@stefan-kolb stefan-kolb deleted the sync-special-fields branch February 22, 2017 17:24
Siedlerchr added a commit that referenced this pull request Feb 23, 2017
* upstream/master:
  Revert "Update gradle from 3.3 to 3.4"
  Localization tests (#2582)
  Update IEEEJournalList (#2579)
  Keyword - Special field synchronization (#2583)
  Update gradle from 3.3 to 3.4
  Check similarity of entry when using DOI retrieval with ArXiV (#2575)
  Add logic for new Sciencedirect pages (#2576)
  [WIP] Refactored around the FileAnnotationCache. (#2557)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants