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
I add a basic importer configuration, but only json display in select importer format.
The thing is the service is register under the identifer app.foo and not only foo, but the buildChoices importer is looking for foo only not app.foo.
If i change my type with foo only, the importer won't display.
Hi,
I have a custom entity.
I add a basic importer configuration, but only json display in select importer format.
The thing is the service is register under the identifer app.foo and not only foo, but the buildChoices importer is looking for foo only not app.foo.
If i change my type with foo only, the importer won't display.
Here is my configuration:
More informations :
In ImportType.php, the options array has that wrong field : 'importer_type' without the app.
In the import.html.twig, block.settings.resources.metadata.name got only 'foo' , and not 'app.foo'
Example :
Sylius\Bundle\ResourceBundle\Grid\View\ResourceGridView {#16192 ▼
-metadata: Sylius\Component\Resource\Metadata\Metadata {#15196 ▼
-name: "seo_url"
-applicationName: "app"
-driver: "doctrine/orm"
-templatesNamespace: null
-parameters: array:2 [▼
"classes" => array:5 [▼
"model" => "App\Entity\Seo\SeoUrl"
"repository" => "App\Repository\Seo\SeoUrlRepository"
"controller" => "Sylius\Bundle\ResourceBundle\Controller\ResourceController"
"factory" => "Sylius\Component\Resource\Factory\Factory"
"form" => "Sylius\Bundle\ResourceBundle\Form\Type\DefaultResourceType"
]
"driver" => "doctrine/orm"
]
}
The text was updated successfully, but these errors were encountered: