Comments (7)
I have identified the cause of the issue.
The API request space.getEntries({ links_to_entry: ids.entry, skip: 0, limit: 1000 }) sometimes returns an empty items array.
I have reproduced the error programatically and this bug manifests because the contentful API is eventually consistent. Adding a delay between linking the VariationContainer
to the HomePage
and fetching the entries that link to the HomePage
mitigates the bug.
from apps.
@juancarlosjr97 Thanks for reaching out! This ticket has not been prioritized, but I will provide an update when we are working on it.
from apps.
Hi @LucasAmos! Thank you for raising this issue. As communicated through our support process, we have captured this issue in our backlog and will prioritize it as soon as possible.
from apps.
Just another quick update @LucasAmos. I am going to close this issue and we will continue to communicate updates to you about this bug through our internal support process. Thank you!
from apps.
Any update on this ticket? As this has been closed makes following it up is practically impossible.
from apps.
@whitelisab... As @LucasAmos mentioned, the issue is the line
that does not return the expected response but instead an empty array.The reason, we think, is happening is because when the entry is created, it opens immediately the drawer and does the fetch of the L86, but as Contentful has just created the entry, the relationship does not exist yet, and if the patch of the parent entry with the newly created entry happens before the fetch data of L86 the array returns correct data, but if it happens after, it returns an empty array as the linked relationship does not exist yet.
Long story short, it requires an await for however long contentful takes to save an empty when a change happens on the UI and does the path.
from apps.
I have raised an MR to fix the bug - #4621 @whitelisab.
Please, if you could review it and merge it as we need this fix.
from apps.
Related Issues (20)
- GraphQL Playground auto-completion stopped working HOT 3
- saved entities are lost when you select new one HOT 1
- Image focal point app: SVGs HOT 1
- Increase Cloudinary App MAX_FILES_UPPER_LIMIT HOT 3
- The upload script missing from some of the example apps HOT 3
- Multiple fields in one app HOT 1
- Saleor App: Cannot select product when store uses multi-channel HOT 2
- Color Picker Widget Id for Migrations HOT 1
- Typeform App 403 error HOT 2
- [Optimizely App] Buged experiment/variations selection. HOT 4
- Clarify Gatsby App AuthToken Helper Text HOT 1
- Cloudinary/dam-app-base - Allow user to edit already selected assets HOT 2
- [examples/custom-validation] Set fields to invalid incorrect behaviour HOT 3
- Typescript templates not compiling HOT 5
- Allow regex for contentTypes option for selectSingleEntry HOT 2
- Netlify app: format pattern "a..aa" returns "AM..AM" HOT 1
- sap-commerce-cloud HOT 2
- AI Content Generator: Unexpected token error when using GPT-4 HOT 3
- Mux app: video preview using signed URL stopped working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apps.