You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when it comes to generating the list of format options, in src/Form/ImportType.php's buildChoices method, the importer_type option is set to the request's resource name, which is not prefixed.
So ImporterRegistry::buildServiceName($importerType, 'xlsx') (in my case) returns "my_resource.xlsx" which is not registered in the ImporterRegistry since the service name is built with the "my_plugin" prefix.
I end up with only the JSON option.
The text was updated successfully, but these errors were encountered:
In order to get an import form displayed I have type the tag with the full, prefixed resource name.
But when it comes to generating the list of format options, in
src/Form/ImportType.php
'sbuildChoices
method, theimporter_type
option is set to the request's resource name, which is not prefixed.So
ImporterRegistry::buildServiceName($importerType, 'xlsx')
(in my case) returns"my_resource.xlsx"
which is not registered in theImporterRegistry
since the service name is built with the"my_plugin"
prefix.I end up with only the
JSON
option.The text was updated successfully, but these errors were encountered: