- Merge request !10#3301224 Build links using ImageStylesProvider::buildDerivativeLink() β (Merged) created by osopolar
- π©πͺGermany osopolar π©πͺ GER π
Copy of re-rolled patch from https://git.drupalcode.org/project/consumer_image_styles/-/merge_request... (#8) attached, to be used with composer, see "Patches from drupal.org merge request URLs are dangerous".
- Status changed to RTBC
almost 2 years ago 6:59am 8 February 2023 - πΊπΈUnited States apmsooner
patch in #9 is working for me. Prior to applying this patch, the jsonapi route for files was failing and logging errors for property validation:
Errors: [ { "property": "", "pointer": "", "message": "The property data is not defined and the definition does not allow additional properties", "constraint": "additionalProp", "context": 1 }, { "property": "data", "pointer": "\/data", "message": "Array value found, but a null is required", "constraint": "type", "context": 1 }, { "property": "data", "pointer": "\/data", "message": "Array value found, but an object is required", "constraint": "type", "context": 1 }, { "property": "data[1].links.placeholder.href", "pointer": "\/data\/1\/links\/placeholder\/href", "message": "Invalid URL format", "constraint": "format", "context": 1, "format": "uri-reference" }, { "property": "data[1].links.placeholder", "pointer": "\/data\/1\/links\/placeholder", "message": "Object value found, but a string is required", "constraint": "type", "context": 1 }, { "property": "data[1].links.placeholder", "pointer": "\/data\/1\/links\/placeholder", "message": "Failed to match exactly one schema", "constraint": "oneOf", "context": 1 }, { "property": "data", "pointer": "\/data", "message": "Failed to match exactly one schema", "constraint": "oneOf", "context": 1 }, { "property": "errors", "pointer": "\/errors", "message": "The property errors is required", "constraint": "required", "context": 1 }, { "property": "", "pointer": "", "message": "Failed to match exactly one schema", "constraint": "oneOf", "context": 1 } ]
- π¨πΏCzech Republic mkolar
Hi! patch #9 works for me, before patch we had problem with API exactly like @apmsooner. RTBC! TY!
also thanks @apmsooner for posting that error here, we found this patch thanks to it!
- πΊπΈUnited States tjh
Patch #9 works for me as well. We were also experiencing schema validation errors as described in #10
- First commit to issue fork.
-
japerry β
committed c8376c38 on 4.x authored by
osopolar β
Issue #3301224 by osopolar: Follow-up: Very slow JSON:API responses when...
-
japerry β
committed c8376c38 on 4.x authored by
osopolar β
Automatically closed - issue fixed for 2 weeks with no activity.