-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced Connecter Bundle - Family Export Profile #91
Comments
Hello @prabhassharma , thanks for reporting this bug. I will try to reproduce and i'll keep you updated. Regards, |
And btw, it seems linked to #90 |
Just one thing to check: from your screen i can tell that you didn't regenerate yours assets. |
Hi,
We are using the CE edition of Akeneo so assets are not a part of the
package.
Thanks,
Prabhas
On May 31, 2017 17:15, "jean-marie leroux" <notifications@github.com> wrote:
Just one thing to check: from your screen i can tell that you didn't
regenerate yours assets.
Could you clean your cache and regenerate ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#91 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AayCw21RYMxdhRgNk6Dl-0asIBvwZKi0ks5r_Wf3gaJpZM4NrTdq>
.
|
Could you please check with the last released v1.4.1 tag? |
Hi @jmleroux , I will upgrade to the latest version and let you know ASAP. Prabhas |
I just downloaded the latest version of the plugin via composer, ran the cache and asset commands, and still experienced the problem. Akeneo 1.7.5 -- I had to correct the serialized DB field manually to create family exports. |
@adamrandazzo Thanks for your comments. Can you please provide the details of the updates that you did to the DB. Thanks, |
Hi did you guys get this sorted? How? |
Hi All - Sorry I missed the original question 5 days ago. I ended up modifying the database directly to change the field. Here is a copy of my serialized settings from my DB. I added the en_US option into the labelLocale value. This is obviously a bit of a hack, but it has gotten me through until the bug can be resolved.
|
I've been creating a local connector to allow for importing with a default locale/currency/scope|channel and figured out the cause of this issue. Basically, it's the way that the dropdown elements are designed. If you only have one available locale, then you can't select a different option. And in order for akeneo to detect a new selection, you have to change the selected option. Since your DefaultValuesProvider class passes the default value as 'null,' this is essentially the same as not setting a value. I fixed this by simply pulling the user's default locale and using that as the default. (ie. $this->userContext->getCurrentLocaleCode();) In other words, akeneo drop-down selectors don't handle null values well. If the select only has one option, it will default to being 'selected', but akeneo doesn't actually detect a value because the drop-down was never changed. You'd have to pass an empty option to the select options JavaScript and set the default value to an empty string if you want an 'empty' default value. |
Hi,
We are working on Akeneo 1.7 and have installed the enhanced connecter bundle for PIMGento Export. The Attribute export works fine, however the family export profile creation fails.
The error I am getting is:
pim_enhanced_connector.family_processor.locale.label
- Value cannot be blank.We have only one locale in our config, and that value is added (refer to screenshot).
Any help/ideas are highly appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: