Skip to content
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

AST-234: Create default family #7

Merged
merged 3 commits into from Jan 8, 2020
Merged

AST-234: Create default family #7

merged 3 commits into from Jan 8, 2020

Conversation

pierallard
Copy link
Contributor

No description provided.

$this->io->writeln(sprintf('Creation of asset family "%s"...', $this->assetFamilyCode));
$this->client->getAssetFamilyApi()->upsert($this->assetFamilyCode, [
'code' => $this->assetFamilyCode,
'labels' => ['en_US' => 'foo'], // Need to set at least 1 label, else the UI fail :/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can it be an empty string instead ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's temporary, @tseho is fixing it.

'type' => $type,
'value_per_locale' => $localizable,
'value_per_channel' => $scopable,
'is_required_for_completeness' => $required
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the preview type is "image" or set it here pretty pliz

Copy link
Contributor

@SamirBoulil SamirBoulil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GTM after fix

@pierallard pierallard merged commit 619af0d into master Jan 8, 2020
@pierallard pierallard deleted the AST-234 branch January 8, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants