Code Monkey home page Code Monkey logo

Comments (5)

nivbp7 avatar nivbp7 commented on August 16, 2024 1

I am experiencing the same issue.

  • contentful.swift version number: 5.5.1
  • Xcode version number: 12.5.1 (12E507)
  • Target operating system(s) and version number(s)
    iOS: 14.5
  • Package manager:
    Swift Package Manager

I've created a gist with a code sample

from contentful.swift.

anuraagshakya avatar anuraagshakya commented on August 16, 2024 1

Also experiencing the same issue.

from contentful.swift.

kaidotarma avatar kaidotarma commented on August 16, 2024

Seems that this crash popped up again on Apr 13, might be related to "Issues with the Contentful Web App and Asset rendering"
https://www.contentfulstatus.com/incidents/0rqc2b850qg3

from contentful.swift.

tristan-warner-smith avatar tristan-warner-smith commented on August 16, 2024

I just encountered this because I've wrapped fetchArray(of in a Task and this triggers Fatal error: SWIFT TASK CONTINUATION MISUSE: fetchArray(of:) tried to resume its continuation more than once, throwing Unknown error occured during decoding.!

The issue is in Client.swift handleJSON<DecodableType: Decodable>.

If a failure happens on the original decode the failure completion is called but not returned so it continues to a second decoded check that fails and again calls completion(.failure(error).

Client.swift:476 and 500 in Contentful 5.5.2.

from contentful.swift.

tristan-warner-smith avatar tristan-warner-smith commented on August 16, 2024

I've created a PR with a patch and a suggestion on tackling the reason behind having it called twice.

from contentful.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.