Opened 8 years ago

Closed 7 years ago

Last modified 6 years ago

#1063 closed defect (fixed)

Duplicate item with tags broken in Sync Preview

Reported by: stakats Owned by: dstillman
Priority: major Milestone:
Component: data layer Version: 1.5
Keywords: Cc:

Description

In terminal displays:

zotero(1): Invalid creator type undefined

In JS error console displays:

Error: uncaught exception: Cannot add tag to unsaved item in Zotero.Item.addTagByID()

Change History (4)

comment:1 Changed 8 years ago by dstillman

  • Milestone changed from 1.5 Alpha 1 to 1.5 Sync Preview 2

comment:2 Changed 8 years ago by dstillman

  • Summary changed from Duplicate item broken in Sync Preview to Duplicate item with tags broken in Sync Preview

comment:3 Changed 7 years ago by dstillman

  • Resolution set to fixed
  • Status changed from new to closed

(In [4477]) 2.0b3 megacommit

  • Support for group libraries
  • General support for multiple libraries of different types
  • Streamlined sync support
    • Using solely libraryID and key rather than itemID, and removed all itemID-changing code
    • Combined two requests for increased performance and decreased server load
    • Added warning on user account change
    • Provide explicit error message on SSL failure
  • Removed snapshot and link toolbar buttons and changed browser context menu options and drags to create parent items + snapshots
  • Closes #786, Add numPages field
  • Fixes #1063, Duplicate item with tags broken in Sync Preview
  • Added better purging of deleted tags
  • Added local user key before first sync
  • Add clientDateModified to all objects for more flexibility in syncing
  • Added new triples-based Relation object type, currently used to store links between items copied between local and group libraries
  • Updated zotero.org translator for groups
  • Additional trigger-based consistency checks
  • Fixed broken URL drag in Firefox 3.5
  • Disabled zeroconf menu option (no longer functional)

Developer-specific changes:

  • Overhauled data layer
    • Data object constructors no longer take arguments (return to 1.0-like API)
    • Existing objects can be retrieved by setting id or library/key properties
    • id/library/key must be set for new objects before other fields
  • New methods:
    • ZoteroPane.getSelectedLibraryID()
    • ZoteroPane.getSelectedGroup(asID)
    • ZoteroPane.addItemFromDocument(doc, itemType, saveSnapshot)
    • ZoteroPane.addItemFromURL(url, itemType)
    • ZoteroPane.canEdit()
    • Zotero.CollectionTreeView.selectLibrary(libraryID)
    • New Zotero.URI methods
  • Changed methods
    • Many data object methods now take a libraryID
    • ZoteroPane.addAttachmentFromPage(link, itemID)
  • Removed saveItem and saveAttachments parameters from Zotero.Translate constructor
  • translate() now takes a libraryID, null for local library, or false to not save items (previously on constructor)
  • saveAttachments is now a translate() parameter
  • Zotero.flattenArguments() better handles passed objects
  • Zotero.File.getFileHash() (not currently used)

comment:4 Changed 6 years ago by dstillman

  • Milestone 2.0 Beta 3 deleted

Milestone 2.0 Beta 3 deleted

Note: See TracTickets for help on using tickets.