Problem/Motivation
When try to add add Json Api file field services at this url /admin/config/services/filefield_sources_jsonapi/add
I get this error :
Drupal\Core\Config\Schema\SchemaIncompleteException: Entity type 'Drupal\filefield_sources_jsonapi\Entity\FileFieldSourcesJSONAPI' is missing 'config_export' definition in its annotation in Drupal\Core\Config\Entity\ConfigEntityBase->toArray() (line 252 of /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).
Steps to reproduce
go to /admin/config/services/filefield_sources_jsonapi/add
put this in the params fields[media-image]|name.field.image
fill in all the other fields and click Save
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | jsonapi-3260418.patch | 860 bytes | dianacastillo |
Comments
Comment #2
cilefen commentedThat is a contributed module, not Drupal Core.
Comment #3
dianacastillo commentedadding this in the src/entity/FileFieldSourcesJSONAPI.php
annotation fixes this . will make a patch
Comment #4
dianacastillo commentedincorrect comment
Comment #5
dianacastillo commentedComment #6
dianacastillo commentedcorrect patch with the correct fields attached.
Comment #7
dianacastillo commentedthe previous patch didnt apply correctly, adding another one
Comment #9
szato commentedThank you for the patch.