PricingBlog

Display problem in production

  • julienboid-1172512114842271774

    Julien

    2 years ago

    Hello everyone, I am reporting a small problem which looks like a bug since on my edition version or my test version everything works correctly, but when I want to use the production version, my publication list never appears.

    I've had this problem before, and it was caused by putting a show/hide on the element that was repeating. There, I took care to put it on a non-repeated element.

    If anyone has an idea, I'm all ears.

    Unfortunately, I can't share publicly, because it's an internal application, which allows you to draw prizes for Facebook publications.
    1
  • julienboid-1173956408451010591

    Julien

    2 years ago

    I still haven't been able to debug it, despite my searches. I'm sharing some screenshots which may perhaps give some clues.

    I can see my data in edit mode and in test mode, but it does not appear in the published version
    1173956407863803904-CleanShot_2023-11-14_at_12.59.49.png
    1173956407519875132-CleanShot_2023-11-14_at_13.01.02.png
    1173956408195174441-CleanShot_2023-11-14_at_12.57.20.png
  • erikbeus-1173972836231155712

    Erik Beuschau

    2 years ago

    Hi @Julien
    I'm happy to take a look. Perhaps you could share a url with me on a DM or invite me to your project? erik@toddle.dev
  • julienboid-1174604578868691054

    Julien

    2 years ago

    Little feedback, it's good Erik found the problem. The return from my API was not contextualized. As soon as I gave the format it was OK
  • 1174604638180352020-CleanShot_2023-11-15_at_13.02.10.png
  • Thank's 🙌
  • erikbeus-1174615746211491901

    Erik Beuschau

    2 years ago

    Yes. The API response didn't have a content-type header of application/json which meant that we weren't trying to parse it as json on our back-end. While investigating this bug I found an inconsistency in the way we do things on the front-end, and going forward we will try to JSON parse API responses regardless of whether they have the header or not and fallback to the actual response.
    Thanks for reporting this @Julien 👍
    ❤️1