Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Save error after saving same card twice  #45

@DavidDeSloovere

Description

@DavidDeSloovere

Found this one, by accident.
Save card twice without changing anything.
Latest docker image to date.
Chrome 76.

magiccards-savetwiceerror

Uncaught Error: Store error: the application attempted to write an object with no provided id but the store already contains an id of Card:1565936604 for this object. The selectionSet that was trying to be written is:
updateCard(id: $id, input: $cardInput) {
  id
  code
  type
  action
  title
  subtitle
  artURL
  uri
  __typename
}
    at c (writeToStore.js:296)
    at writeToStore.js:120
    at Array.forEach (<anonymous>)
    at r (writeToStore.js:113)
    at o (writeToStore.js:91)
    at t.write (inMemoryCache.js:95)
    at store.js:114
    at Array.forEach (<anonymous>)
    at store.js:114
    at t.performTransaction (inMemoryCache.js:147)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions