ClickAndMortar / AdvancedCsvConnectorBundle

Advanced CSV Connector Bundle for Akeneo
https://www.clickandmortar.fr/blog/akeneo-csv-advanced-connector
22 stars 5 forks source link

non-existent parameter "media_url_prefix" #13

Closed AykutCevik closed 5 years ago

AykutCevik commented 5 years ago

Hello,

First thank you for sharing your extension. I wanted to give it a try and ran it but got a server error:

The service "candm_advanced_csv_connector.processor.normalization.advanced_product" has a dependency on a non-existent parameter "media_url_prefix"

Did I miss something to install or configure? I went through your description so far.

simoncarre commented 5 years ago

Hello,

Thank you for your feedback! I just added some details in the README for this parameter.

This parameter must be added to your project to generate clean visual URL's during export (you can just add an empty parameter if you are not using it)

AykutCevik commented 5 years ago

Hello @simoncarre, I've added it but also had to add data_in_directory. What is this exactly for? Also I've tried to create a profile but got the following JS error when opening the edit page for that certain profile:

pim/job/common/edit/field/textarea is missing from the registry - include it in your requirejs.yml and clear the app cache

Uncaught Error: 
The module "pim/job/common/edit/field/textarea" is undefined.
Most of the time it's because it's not well registered in your requirejs.yml file.
Here is the documentation to fix this problem

Already cleared the cache and run the generations. Ideas?

simoncarre commented 5 years ago

Hello @AykutCevik

I have removed usage of data_in_directory parameter in last release. This parameter was used for storage directory during CSV split operation (to prevent Akeneo from processing large files). The directory is now dynamically.

For textarea error, I have updated README file (you need to add new ClickAndMortar\AdvancedEnrichBundle\ClickAndMortarAdvancedEnrichBundle(), in your AppKernel.php file)

haxcop commented 4 years ago

@simoncarre HI - I'm Facing this exact issue but as I'm a newbie , could you please explain me in detail how can I solve the error on on akeneo v2.3 ?