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

Item type switching #15

Open
avram opened this issue Sep 20, 2011 · 4 comments
Open

Item type switching #15

avram opened this issue Sep 20, 2011 · 4 comments
Milestone

Comments

@avram
Copy link
Owner

avram commented Sep 20, 2011

Switching item types is hard to do-- we'll need to cache the item type mappings from the server, and use them to create conversion routines from one type to another, with confirmation when we're going to lose fields. This needs to happen ASAP, since we currently change the item type without changing the available fields. Maybe the conversion logic can be adapted from the Zotero client code.

@fcheslack
Copy link

A method for this is planned for the api as zotero.org also needs this (currently it just does direct field mapping and doesn't even warn on missing data). Not sure when that will be implemented though.

@avram
Copy link
Owner Author

avram commented Sep 22, 2011

This isn't too hard to do locally with cached item templates, but it'd be good to have the server handle, since this is a pretty complex task that requires serious understanding of the type system.

@avram
Copy link
Owner Author

avram commented Sep 30, 2011

@avram
Copy link
Owner Author

avram commented Oct 22, 2011

Pushing to 1.2 for now.

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