Closed CalvinMcGee closed 1 year ago
Hi @CalvinMcGee. Thanks for submitting this. The issue here is that the kit can't handle the partial Rich Text fields that you are retrieving via the fetchLinks option.
This issue is resolved in the API v2 version of this kit. You can update to the new version, and you shouldn't have this issue anymore. This will take a bit of work, though, to update all your templating over to the new syntax. So be prepared for that.
Alternatively, we are planning to release an update to the fetchLinks option which should also fix this issue. We're hoping to release the update in the next month or so.
I'll leave this issue open for now. When we release fetchLinks update I'll test this and make sure that it is working as expected. Thanks for your patience.
Alternatively, we are planning to release an update to the fetchLinks option which should also fix this issue. We're hoping to release the update in the next month or so.
@levimykel @CalvinMcGee Do either of you recall whether the patch mentioned was implemented and released? If so we could probably close this Issue?
@c0nst4ntin I don't remember for sure, but I would guess so. And we recommend anyone using this kit to be using the API v2. Given that and how old this issue is, I say we can close this.
@levimykel I'd say the same thing. API V2 has been released for so long, that this should be irrelevant.
I'm having some issues with slices and document links. In my slices I have a reference to another custom type.
This is how i fetch from API:
Which gives the following result:
So all the attributes of the linked documents are there. So everything is fine for now. Moving on to the template:
This is where it breaks. The
$product
variable only contains the attributeproduct.product_image
: