sylius / syliusadminapibundle Goto Github PK
View Code? Open in Web Editor NEWAdministration REST API for Sylius eCommerce.
License: MIT License
Administration REST API for Sylius eCommerce.
License: MIT License
The version v1.10.0-RC.2 contains modifications (such as PHP 8 support) that are not contained in version 1.10. And the version v1.10.0-RC.2 is released after the v1.10.0.
I'm confused, there's probably something wrong with versioning here.
With new 1.12 versions, Symfony 6 is now compatible but this bundle isn't.
Sylius version affected: 1.(4|5).y
Description
In order to be able to upload images one has to use form-data encoding. It works with POST (with the products/
endpoint obviously), but PUT gives validation error.
Steps to reproduce
Open Postman and make the following request to update an existing product:
The response is:
{
"code": 400,
"message": "Validation Failed",
"errors": {
"children": {
"enabled": {},
"translations": {
"children": {
"ru_RU": {
"children": {
"name": {
"errors": [
"Please enter product name."
]
},
"slug": {
"errors": [
"Please enter product slug."
]
},
"description": {},
"metaKeywords": {},
"metaDescription": {},
"shortDescription": {}
}
}
}
},
"attributes": {},
"associations": {},
"channels": {
"children": [
{}
]
},
"mainTaxon": {},
"images": {},
"code": {},
"options": {},
"productTaxons": {}
}
}
}
Similar request but with POST works.
Since upgrading to PHP 8, started seeing this error every time i run console command. I'm guessing the PHP compiler is detecting it earlier than before.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.