Skip to content

Conversation

@lenhard
Copy link
Member

@lenhard lenhard commented Apr 6, 2017

As discussed in #2704, unkown meta data items were deleted so far. With this PR, this is no longer the case. The only problem is that the formatting of meta data items is not parsed (and this would be a bigger thing), since so far we assumed full control over the meta data items. This version tries to keep formatting as far as possible, but does a few customizations (escaping ; and adding newlines where appropriate). The result is that you can rename a groupstree meta data item and it will be kept and formatted in the very same way, also with a different name.

I would say this is good enough and we adapt it when someone has a use case or problem.

  • Change in CHANGELOG.md described
  • Tests created for changes
  • Manually tested changed features in running JabRef

@lenhard lenhard added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 6, 2017
# Conflicts:
#	CHANGELOG.md
#	src/main/java/org/jabref/logic/importer/util/MetaDataParser.java
Copy link
Member

@LinusDietz LinusDietz left a comment

Choose a reason for hiding this comment

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

LGTM

@LinusDietz LinusDietz merged commit e436627 into master Apr 16, 2017
@LinusDietz LinusDietz deleted the keep-unknown-metadata branch April 16, 2017 16:32
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.

4 participants